##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
sudo curl -L -o icon.zip http://eandjdesign.com/icons/SublimeText2/icon.zip && unzip icon.zip && mv Sublime\ Text\ 2.icns /Applications/Sublime\ Text\ 2.app/Contents/Resources/ |
##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
@media only screen and (min-width: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
@include keyframe(fadeout) { | |
0% { | |
opacity: 1; | |
} | |
100% { | |
opacity: 0; | |
} | |
} |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
.light_theme .message { | |
color: #fff; | |
font-size: 16px; | |
} | |
.message .mention { | |
font-weight: bold; | |
} | |
.member_preview_link, |
The following files add some view keybindings and other functional and styling changes to Slack when used inside of a Fluid app.
Specifically:
<cmd>-number
will bring you to the respective starred channel. For example, if you have 4 starred channels, <cmd-1>
will bring you to the first starred channel, <cmd-2>
to the second, etc.<?php | |
/* | |
Plugin Name: SVG Upload | |
Plugin URI: http://www.lewiscowles.co.uk | |
Description: Super PHP Plugin to add Full SVG Media support to WordPress, I should live in {$webroot}/wp-content/plugins/ folder ;) | |
Author: Lewis Cowles | |
Version: 1.0 | |
Author URI: http://www.lewiscowles.co.uk/ | |
*/ | |
add_action('admin_init', 'add_svg_upload'); |
from scapy.all import * | |
import requests | |
import time | |
MAGIC_FORM_URL = 'http://put-your-url-here' | |
def record_poop(): | |
data = { | |
"Timestamp": time.strftime("%Y-%m-%d %H:%M"), | |
"Measurement": 'Poopy Diaper' | |
} |