##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
^ *#[^ ]+$
| /* ---------------------------------------------------------- */ | |
| /* */ | |
| /* A media query that captures: */ | |
| /* */ | |
| /* - Retina iOS devices */ | |
| /* - Retina Macs running Safari */ | |
| /* - High DPI Windows PCs running IE 8 and above */ | |
| /* - Low DPI Windows PCs running IE, zoomed in */ | |
| /* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
| /* - Android hdpi devices and above */ |
##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
^ *#[^ ]+$
| (function(){ | |
| var timer = null; | |
| var status_timer = null; | |
| var loaded = false; | |
| var interval = 3 * 1000; | |
| var status_interval = 60 * 1000; | |
| var update = true; |
| #!/bin/sh | |
| # Installation instructions: | |
| # - Download the file | |
| # - mv finalize.sh finalize | |
| # - chmod +x finalize | |
| # - mv finalize /usr/local/bin | |
| # - now you can type `finalize` in any directory and it should work | |
| # NOTE: this will rename all the files in your current directory, so be careful |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| #! /usr/bin/env ruby | |
| require "fileutils" | |
| search_term = ARGV[0] | |
| if search_term | |
| time = Time.now | |
| directory_path = File.dirname(__FILE__) + "/tweets/" + search_term + "_" + time.to_i.to_s | |
| FileUtils.mkdir_p(directory_path) | |
| directory = Dir.new(directory_path) | |
| (1..15).each do |i| | |
| `curl "http://search.twitter.com/search.json?q=#{search_term}&rpp=100&page=#{i}&include_entities=true&result_type=mixed" > #{directory.path}/#{i}.json` |
| import sublime, sublime_plugin, re | |
| DEBUG_ENABLED = False | |
| PRINT_CONTEXT = False | |
| # Toggle between single-line or multi-line formatted css statement | |
| # | |
| # Add the following line to Preferences > Key Bindings - User | |
| # { "keys": ["ctrl+shift+j"], "command": "toggle_single_line_css" } | |
| # |
| /** | |
| * Shape/Polygon/Triangle | |
| * | |
| * @author Maxime Thirouin [email protected] @MoOx | |
| */ | |
| @mixin triangle($direction: top, $width: 1em, $height: 0, $color: #000) | |
| { | |
| @if ($height == 0) | |
| { | |
| $height: $width; |