prosoxi.com | Attention in classroom

How to change default font size in tinymce?

03 February 2016

<script type="text/javascript"> tinyMCE.init({ mode : "textareas", setup : function(ed) { // set the editor font size ed.onInit.add(function(ed) { ed.getBody().style.fontSize = '14px'; }); }, }); </script>

Read the full story

Posted in JavaScript - AjaxComments Off on How to change default font size in tinymce?

Replace PHP short open tags with full form in all ‘.php’ files using one command

02 February 2016

Nowdays, In the latest versions of web servers, The PHP short open tags are diabled by default, Although we can able to enable it in the ‘php.ini’ file, Some of the shared hosting servers may be diabled that systax and you have to migrate your code to the standard syntax…

Read the full story

Posted in PHPComments Off on Replace PHP short open tags with full form in all ‘.php’ files using one command

How do I use Wget to download all Images into a single Folder

18 November 2015

wget -nd -r -l 2 -A jpg,jpeg,png,gif http://example.com

Read the full story

Posted in LinuxComments Off on How do I use Wget to download all Images into a single Folder

Download whole page from terminal

13 November 2015

You can install it with brew install wget or sudo port install wget.

Read the full story

Posted in Linux, MACComments Off on Download whole page from terminal

Downloading Folders to my Local via SSH

09 November 2015

#scp -r user@host:/path/to/folder/ local-copy-of-folder If you have SSH keys set up, you can tab-complete remote files/folders.

Read the full story

Posted in LinuxComments Off on Downloading Folders to my Local via SSH

How to pass password to scp command

09 November 2015

Use sshpass: sshpass -p "password" scp -r user@example.com:/some/remote/path /some/local/path

Read the full story

Posted in LinuxComments Off on How to pass password to scp command

Securing Forms Without Captcha

04 November 2015

Captchas are a terrible user experience, nstead of using a captcha, let’s look at two passive things you can add to a form to reduce spam.

Read the full story

Posted in PHP, ProgrammingComments Off on Securing Forms Without Captcha

Public Block Lists of Malicious IPs and URLs

04 November 2015

The following is a list of websites that maintain and provide public lists of known and suspected malicious sources. These lists can be used for preventing malware infections, for managing incoming email, or for testing purposes. 

Read the full story

Posted in HackComments Off on Public Block Lists of Malicious IPs and URLs

Share something to a phonegap app

03 November 2015

Read the full story

Posted in cordova, Mobile / TabletComments Off on Share something to a phonegap app

Applinks

03 November 2015

Cross-platform, open source, and simple mobile deep-linking

Read the full story

Posted in Mobile / TabletComments Off on Applinks

How to change the color of header bar and address bar in newest Android Chrome version on Lollipop?

02 November 2015

Actually need 3 meta tags to support Android, iPhone and Windows Phone <!-- Chrome, Firefox OS and Opera --> <meta name="theme-color" content="#4285f4"> <!-- Windows Phone --> <meta name="msapplication-navbutton-color" content="#4285f4"> <!-- iOS Safari --> <meta name="apple-mobile-web-app-status-bar-style" content="#4285f4">

Read the full story

Posted in CSSComments Off on How to change the color of header bar and address bar in newest Android Chrome version on Lollipop?

XMCA FLASH COMPONENT

29 October 2015

Download xmca flash component for flash as2  

Read the full story

Posted in Flash, Flash ComponentsComments Off on XMCA FLASH COMPONENT

Ionic Testing in a Browser

27 October 2015

Use ionic serve to start a local development server for app dev and testing. This is useful for both desktop browser testing, and to test within a device  browser which is connected to the same network. Additionally, this command  starts LiveReload which is used to monitor changes in the file system. As soon as you save […]

Read the full story

Posted in ionic frameworkComments Off on Ionic Testing in a Browser

Ionic framework create first app

27 October 2015

Create an Ionic project using one of our ready-made app templates, or a blank one to start fresh. #ionic start myApp tabs Run it Use the Ionic tool to build, test, and run your apps (or use Cordova directly). Make sure to substitute ios with android to build for Android. Then, try Ionic View to […]

Read the full story

Posted in ionic frameworkComments Off on Ionic framework create first app

Install Ionic framework and Cordova

27 October 2015

Install Ionic First, install Node.js. Then, install the latest Cordova and Ionic command-line tools. Follow the Android and iOS platform guides to install required platform dependencies. Note: iOS development requires Mac OS X. iOS simulator through the Ionic CLI requires the ios-sim npm package, which can be installed with the command sudo npm -g install […]

Read the full story

Posted in cordova, ionic framework, node jsComments Off on Install Ionic framework and Cordova

Linux reboot system with cron

26 October 2015

Edit crontab: sudo crontab -e The first time you might have to choose your preferred editor (like nano) Insert a line like 0 4 * * * /sbin/shutdown -r +5 at the bottom. Explanation: m h dom mon dow command minute hour dayOfMonth Month dayOfWeek commandToRun so the line 0 4 * * * /sbin/shutdown […]

Read the full story

Posted in LinuxComments Off on Linux reboot system with cron

Advertise

Whocallsme.gr Widget Lookup

February 2016
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
29  

Archives

February 2016
M T W T F S S
« Nov    
1234567
891011121314
15161718192021
22232425262728
29