- Google number to see what info there is
- Add a note about the phone number on the https://www.donotcall.gov/
- Forward phone number on to 7726 http://www.att.com/esupport/article.jsp?sid=KB115812&cv=820
- Report to AT&T via abuse site http://att.com/acb
- Final step: Report number to Federal Trade Commission (888) 382-1222
This file contains 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
### | |
Modified from https://github.com/jashkenas/coffee-script/blob/master/Cakefile | |
Part of an upcoming PeepCode screencast. This snippet is MIT Licensed. | |
### | |
{spawn, exec} = require 'child_process' | |
task 'assets:watch', 'Watch source files and build JS & CSS', (options) -> | |
runCommand = (name, args) -> |
This file contains 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
# $ deploy dev // Deploys to staging | |
# $ deploy // Deploys to production | |
function deploy() { | |
if [[ $@ != "" ]]; then | |
git push staging $@:master | |
else | |
git push production | |
fi | |
} |
This file contains 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
{spawn, exec} = require 'child_process' | |
option '-p', '--prefix [DIR]', 'set the installation prefix for `cake install`' | |
async = require "async" | |
fs = require "fs" | |
path = require "fs" | |
_ = require "underscore" | |
stdout_handler = (data)-> |
This file contains 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
# NOTE - I do not support this code anymore. | |
# You should use plambjet version @ https://gist.github.com/pjambet/5229322 | |
# | |
# Based on https://gist.github.com/1182136 and https://gist.github.com/1586384 | |
# Make the will_paginate generate markup for Zurb Foundation | |
# Put this in config/initializers/foundation_paginate.rb | |
module WillPaginate | |
module ViewHelpers | |
class LinkRenderer < LinkRendererBase | |
protected |
This file contains 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
# | |
# Concept from https://gist.github.com/1205828 | |
# | |
module ApplicationHelper | |
class FoundationLinkRenderer < ::WillPaginate::ActionView::LinkRenderer | |
protected | |
def html_container(html) | |
tag(:ul, html, container_attributes) | |
end |
This file contains 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
ul { | |
position: relative; | |
float: left; | |
left: 50%; | |
li { | |
position: relative; | |
float: left; | |
left: -50%; | |
} | |
} |
This file contains 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
wget --mirror -p --html-extension --convert-links -e robots=off -P . SITEURL |
This is my trick to keep a tunnel running on an OSX host. It's setup so that a network state change will trigger the connection. In practice I've found that it's actually very reliable. Certainly beats starting them by hand.
- This uses a 'tunnel' user on your remote host. Because we need to start the tunnel with a passwordless ssh key, it's safer to use a key that just used for this purpose.
- The remote tunnel user should not have priviledges to login. You only need them to be able to forward ports, shell login is not needed to do this.
This file contains 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/bash | |
echo -n "Sublime Text 2 or 3? " | |
read version | |
echo "Removing file system packages" | |
rm -r ~/Library/Application\ Support/Sublime\ Text\ $version/Installed\ Packages | |
rm -r ~/Library/Application\ Support/Sublime\ Text\ $version/Packages | |
rm -r ~/Library/Application\ Support/Sublime\ Text\ $version/Pristine\ Packages |
OlderNewer