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
| require 'set' | |
| require 'cane/file' | |
| require 'cane/task_runner' | |
| module CaneExt | |
| # Creates violations for files that do not meet code requirements. | |
| class CodeCheck < Struct.new(:opts) | |
| include Cane::CLI |
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
| * Download IE8 image http://www.microsoft.com/en-us/download/details.aspx?id=11575 | |
| * Extract locally | |
| * use VMWare vCenter Convertor Standalone | |
| * Choose to select from third party image | |
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
| # reload after change "/etc/init.d/Qthttpd.sh restart" | |
| php_value magic_quotes_gpc off | |
| AuthName "Serviio - Admin Restricted Access (Use NAS admin credentials)" | |
| AuthType Basic | |
| # AuthUserFile /mnt/HDA_ROOT/rootfs_2_3_6/root/.htpasswd | |
| AuthUserFile /mnt/HDA_ROOT/.config/shadow | |
| AuthGroupFile /dev/null | |
| # require valid-user |
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
| #Compiled all into one gist: | |
| #https://gist.github.com/tommeier/5324815 |
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
| class people::tommeier { | |
| require ruby | |
| include chrome | |
| include firefox | |
| include iterm2::dev | |
| include sublime_text_2 | |
| include caffeine |
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 Rails.env.test? %> | |
| <%= content_for :head do %> | |
| <style type="text/css"> | |
| .notransition * { | |
| -webkit-transition: none !important; | |
| -moz-transition: none !important; | |
| -o-transition: none !important; | |
| -ms-transition: none !important; | |
| transition: none !important; | |
| } |
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
| require 'rake_timer' |
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
| #!/usr/bin/perl | |
| #fetch Gravatars | |
| use strict; | |
| use warnings; | |
| use LWP::Simple; | |
| use Digest::MD5 qw(md5_hex); | |
| my $size = 90; |
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 | |
| # | |
| # Upgrade PostgreSQL from 9.0.4 to 9.1.4 via HomeBrew on Mac OSX | |
| # | |
| # by David Sommers (tweaked by me) | |
| # | |
| brew update | |
| brew update postgres |
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
| while read p; do | |
| echo "SAVING : $p" | |
| filename=$(basename "$p") | |
| extension="${filename##*.}" | |
| filename="${filename%.*}" | |
| echo " -- Filename : $filename" | |
| curl -o "/file/save/location/$filename.$extension" "$p" | |
| done < /soure/url/list/image_list.txt |