Premius
  • Home
  • Windows Software
  • Presentation Control
  • Website Transfer Services
  • App Services
    • Android App Fix
    • React Native Rescue
    • App Diagnostic
  • Mobile Portfolio
    • SunBank
    • Showcase
    • OpenTube
    • Physics Playground
  • Blog
    • Internet Marketing
    • Mailing Lists
    • SEO
    • C++
    • PHP
    • Web Design
    • Windows
    • Android
    • Linux
    • JavaScript
    • C# .NET
    • iPhone

Blog

  • Home
  • Blog
Blog Categories
  • Internet Marketing
  • Mailing Lists
  • SEO
  • C++
  • PHP
  • Web Design
  • Windows
  • Android
  • Linux
  • JavaScript
  • C# .NET
  • iPhone
15 May

Presentaion Remote Control Privacy Policy

Privacy Policy
Artem Moroz built the Presentation Remote Control app as an Ad Supported app. This SERVICE is provided by Artem Moroz at no cost and is intended for use as is.

This page is used to inform website visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Presentation Remote Control unless otherwise defined in this Privacy Policy.

By premius Android Read more: %s
02 Apr

How to fix PHP upload file inherit permissions error using Windows IIS Server

If you’re like me, and you use Windows IIS, you’ve spent hours trying to figure out why your uploaded file won’t inherit the permissions needed to display correctly. Luckily, the answer is extremely easy and something most people would have never thought of.

The problem only happens when you use PHP to upload a file. When you upload a file, PHP sends the file to a temporary directory on the hard drive (for me it is C:\Windows\Temp) and then copies it over to it’s intended directory. Once the file has landed in the temporary directory, it is assigned the permissions of that directory. The problem is when Windows copies that file, it keeps the temporary directory’s permissions and doesn’t inherit your web directory’s permissions.

By premius PHP Read more: %s
07 Mar

How to unpack .tar.gz archive in Linux

.tar.gz archives are widely used in a GNU/Linux world because of love of the community to the patent freedom and open source formats. Usually, Linux distributions utilize tar.gz format for source code compression. When you begin familiarizing yourself with the Linux world, you quickly realize you need to know how to extract .tar.gz files in Linux. Actually, tar.gz archives are a a combination of two technologies chained one after another. First, all the files are merged in what is called a Tarball - just a single file plus file names information. Then, the Tarball is compressed with the use of gzip compression algorithm. 

So, how to actually extract the .tar.gz archive?

 

tar -xvf www1.tar.gz -C /var/www/website/

 

The above command will eventually extract the file www1.tar.gz residing in current directory to the folder /var/www/website/

Let's look at the details of this command:

x command means we want to extract the archive

v switch tells tar to verbosely output file names

f means we need to specify archive name (othewise tar will look into standard input)

 

As a bonus, you can extract .tar files or even .tar.bz2 files using the same command! Just specify the correct archive name and extension.

Now, you have mastered extracting tar.gz files. Good luck!

 

 

By premius Linux
28 Sep

How to import large .sql file in MS SQL Server

Sometimes you need to import large database into MS SQL Server, but when you use Microsoft SQL Server Management Studio, it doesn't do the job right, but shows the message "Insufficient memory". Or maybe you need to do a batch import of sql script to database instead of doing the import by hand. Here comes in handy the sqlcmd command line tool. It can import large .sql files, can be run from a batch script, installer, etc.

How to use sqlcmd command-line tool to import large .sql file?

Open a command prompt window.
In the Command Prompt window, type: sqlcmd -S yourServer\instanceName -i C:\yourScript.sql
Press ENTER.
The progress of operation is written to the command prompt window.

Source: Microsoft

By premius SQL
27 Sep

How do I make a JSON object with multiple arrays?

{
"cars": {
"Nissan": [
{"model":"Sentra", "doors":4},
{"model":"Maxima", "doors":4}
],
"Ford": [
{"model":"Taurus", "doors":4},
{"model":"Escort", "doors":4}
]
}

 

Source: https://stackoverflow.com/questions/11197818/how-do-i-make-a-json-object-with-multiple-arrays/11197949

By premius C++/MFC
27 Sep

Arrays in JSON

Example

[ "Ford", "BMW", "Fiat" ]


Arrays in JSON are almost the same as arrays in JavaScript.

In JSON, array values must be of type string, number, object, array, boolean or null.

In JavaScript, array values can be all of the above, plus any other valid JavaScript expression, including functions, dates, and undefined.

Arrays can be values of an object property:

Example
{
"name":"John",
"age":30,
"cars":[ "Ford", "BMW", "Fiat" ]
}

The objects returned from most Server APIs are highly nested:

{
"id": "0001",
"type": "donut",
"name": "Cake",
"ppu": 0.55,
"batters":
{
"batter":
[
{ "id": "1001", "type": "Regular" },
{ "id": "1002", "type": "Chocolate" },
{ "id": "1003", "type": "Blueberry" },
{ "id": "1004", "type": "Dog's Food" }
]
},
"topping":
[
{ "id": "5001", "type": "None" },
{ "id": "5002", "type": "Glazed" },
{ "id": "5005", "type": "Sugar" },
{ "id": "5007", "type": "Powdered Sugar" },
{ "id": "5006", "type": "Chocolate with Sprinkles" },
{ "id": "5003", "type": "Chocolate" },
{ "id": "5004", "type": "Maple" }
]
}

Sourceы: https://www.w3schools.com/js/js_json_arrays.asp  https://adobe.github.io/Spry/samples/data_region/JSONDataSetSample.html

By premius C++/MFC
27 Sep

Introduction to JSON

JSON is a text format that facilitates structured data interchange between all programming languages. JSON
is syntax of braces, brackets, colons, and commas that is useful in many contexts, profiles, and applications.
JSON was inspired by the object literals of JavaScript aka ECMAScript as defined in the ECMAScript
Language Specification, third Edition [1]. It does not attempt to impose ECMAScript’s internal data
representations on other programming languages. Instead, it shares a small subset of ECMAScript’s textual
representations with all other programming languages.

By premius C++/MFC Read more: %s
27 Sep

cJSON: Lightweight JSON parser

If you are searching for cJSON usage samples, or example code that you can just copy-paste into your C project, you came to the right place. 

cJSON is one of the simple JSON parser that you can get your job done with. It's a single file of C, and a single header file.

JSON is described best here: http://www.json.org/ It's like XML, but fat-free. You use it to move data around, store things, or just generally represent your program's state.

As a library, cJSON exists to take away as much legwork as it can, but not get in your way. 

There are several ways to incorporate cJSON into your project, one of them is just copying the source.

Because the entire library is only one C file and one header file, you can just copy cJSON.h and cJSON.c to your projects source and start using it.

cJSON is written in ANSI C (C89) in order to support as many platforms and compilers as possible.

By premius C++/MFC Read more: %s
13 Sep

How to Install APK to Android Device via ADB in 6 simple steps

1. Download and install android platform tools: https://developer.android.com/studio/releases/platform-tools.html

2. Open command line and navigate to the folder where ADB is located, eg. cd /D d:\Android\sdk\platform-tools\

3. Type adb devices and press ENTER.

By premius Android Read more: %s
16 Dec

How To Upload Directory Tree To Remote FTP Server Recursively in Linux

When you host your web site remotely and the ftp server is the only way to upload all files including subdirectroies. You need to use special file transfer program such as ncftpget or ncftpput for recursive remote ftp server uploading and downloading purpose. Ncftp is considered as an improved FTP client. Ncftp's improvements include support for command line editing, command histories, recursive gets/puts, automatic anonymous logins, and much more.

1. Install ncftp client

Type the following command under Debian/Ubuntu Linux to install ncftp client:
$ sudo apt-get install ncftp

By premius Linux Read more: %s
  1. Android WebView transparent background for Android 2.3 and up
  2. Windows XP: How to Change Power Options When No User is Logged on
  3. Fixing Magento error "[unknown object].fireEvent()"
  4. Premius Free Simple Shipping Magento Extension
  5. Steve Ballmer is Going to Retire
  6. How to create .zip files in Ubuntu Linux
  7. How to use Lightbox popup in Joomla
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
Get in Touch
ABOUT PREMIUS

Premius develops Windows and Android software, Magento extensions, and provides professional technology services including website transfer and market research.

Professional services

LATEST POSTS
  • Support page for Prayerbook app

    8:08 PM Oct 6th

  • Support page for StIoannCitates app

    8:08 PM Oct 6th

  • Privacy Policy for optinskiestartsi app

    2:43 PM Mar 29th

CONTACT US
  • info@premius.net

  • www.premius.net

  • Developer Blog

PRODUCTS
  • NetAdmin
  • Presentation Control
  • PC Shutdown Timer
  • Website Transfer
Premius

© Copyright 2026 Premius. All Rights Reserved.