This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"com.google.android.gm": "https://mail.google.com/mail/u/0/#search/is%3Aunread", | |
"com.joaomgcd.autoinput": "http://joaoapps.com/autoinput/", | |
"com.joaomgcd.autovoice": "http://joaoapps.com/autovoice/", | |
"com.facebook.lite": "https://www.facebook.com/notifications", | |
"com.facebook.katana": "https://www.facebook.com/notifications", | |
"com.google.android.talk": "https://hangouts.google.com/", | |
"com.whatsapp": "https://web.whatsapp.com/", | |
"com.google.android.youtube": "https://www.youtube.com/feed/subscriptions", | |
"com.google.android.apps.plus": "https://plus.google.com/u/0/notifications/all", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$view = new view(); | |
$view->name = 'clone_of_articles'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'node'; | |
$view->human_name = 'Clone of Articles'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gifify() { | |
if [[ -n "$1" ]]; then | |
if [[ $2 == '--good' ]]; then | |
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
rm out-static*.png | |
else | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
fi | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (variable_get('sendy_user_register', TRUE )) { | |
/** | |
* Implements hook_form_FORM_ID_alter(). | |
* Add newsletter fields to registration form. | |
*/ | |
function sendy_form_user_register_form_alter(&$form, &$form_state ) { | |
$form ['sendy_subscribe'] = array( | |
'#type' => 'checkbox', | |
'#default_value' => 1, | |
'#title' => t('I would like to recieve the newsletter'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tutorial for compiling the Compass.app (http://compass.handlino.com/) | |
===================================================================== | |
Java installed? | |
java -version | |
Load jRuby (for example JRuby 1.6.5.1 Binary .zip) | |
http://jruby.org/download | |
Unzip jRuby to `/usr/local/` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Re: Autocompletes adding extra opening tag | |
by peruvianidol on Tue Jun 26, 2012 6:03 pm | |
I was having the same issue. Went into Packages/HTML/html_completions.py (ln 52) and removed the opening bracket from the following lines and it cleared up the issue. Hope this helps! | |
CODE: SELECT ALL | |
if op == '.': | |
snippet = "<{0} class=\"{1}\">$1</{0}>$0".format(tag, arg) | |
else: | |
snippet = "<{0} id=\"{1}\">$1</{0}>$0".format(tag, arg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# This file should be renamed ".gitconfig" and placed inside your home directory. | |
## | |
[user] | |
name = YOUR_NAME | |
email = YOUR_EMAIL | |
[github] | |
user = YOUR_GITHUB_USERNAME | |
token = YOUR_GITHUB_TOKEN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
LOCAL_BRANCH="master" | |
LIVE_BRANCH="live" | |
REMOTE_NAME="deploy" | |
if [ "$(git symbolic-ref -q HEAD)" != "refs/heads/${LOCAL_BRANCH}" ]; then | |
echo "Not on ${LOCAL_BRANCH}, not deploying" | |
exit 1 | |
else |