rdesktop -u <username> -g 90% <ipaddress>
rdesktop -z -P -f -u <username> <ipaddress>
https://www.npmjs.com/package/watch-http-server
watch-http-server . -a 127.0.0.1 -d -o
$(document).ready(function(){ | |
$('.events__deck > img').each(function(){ | |
$(this).on('load', function(){ | |
var w = $(this).prop("naturalWidth"); | |
var h = $(this).prop("naturalHeight"); | |
var ex = 0.10; | |
// expand images | |
w += w * ex; | |
h += h * ex; |
/** | |
* conver string to hastag | |
* @param string $string string you want to convert | |
* @param boolean $with_hashtag if false, it won't return the # sign | |
* @return string Eureka! you got your #hashtag! | |
*/ | |
function stringToHashtag($string, $with_hashtag = true) | |
{ | |
$_string = str_replace(' ', '', $string); | |
$_out = preg_replace('/[^a-zA-Z]/', '', strtolower($_string)); |
Simple Sticky Header
A Pen by austinicomedez on CodePen.
<?php | |
/* | |
|------------------------------------------ | |
| Disable Auto Dual Optin Popup form | |
|------------------------------------------ | |
| | |
| disable pop-up opt-in if Page Dual Opt-in -> Disable dual opt-in pop-up is == Yes | |
| for pages only. | |
| | |
| @for hawkgroupmedia-dev |
Here is a list of scopes to use in Sublime Text 2 snippets - | |
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CoffeeScript: source.coffee |
<select> | |
<option value="AF">Afghanistan</option> | |
<option value="AX">Åland Islands</option> | |
<option value="AL">Albania</option> | |
<option value="DZ">Algeria</option> | |
<option value="AS">American Samoa</option> | |
<option value="AD">Andorra</option> | |
<option value="AO">Angola</option> | |
<option value="AI">Anguilla</option> | |
<option value="AQ">Antarctica</option> |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/query.php | |
*/ | |
$args = array( |