It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
<?php | |
/** | |
* READING TIME | |
* | |
* Calculate an approximate reading-time for a post. | |
* | |
* @param string $content The content to be measured. | |
* @return integer Reading-time in seconds. | |
*/ | |
function reading_time( $content ) { |
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Read more...
Download homestead box:
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-l | |
RewriteRule . /index.html [L] |
Here is a list of scopes to use in Sublime Text 2/3 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address | |
E:\SDK\platform-tools>adb.exe start-server | |
^C | |
E:\SDK\platform-tools>adb nodaemon server | |
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048) | |
E:\SDK\platform-tools>netstat -aon|findstr 5037 | |
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9904 | |
TCP 127.0.0.1:5037 127.0.0.1:49156 ESTABLISHED 9904 |
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |