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
| :javascript | |
| (function() { | |
| window.PinIt = window.PinIt || { loaded:false }; | |
| if (window.PinIt.loaded) return; | |
| window.PinIt.loaded = true; | |
| function async_load(){ | |
| var s = document.createElement("script"); | |
| s.type = "text/javascript"; | |
| s.async = true; | |
| s.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'assets.pinterest.com/js/pinit.js'; |
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
| .fb_like #fb | |
| width: 48px | |
| .fb_edge_widget_with_comment iframe | |
| width: 48px !important | |
| .fb_edge_comment_widget | |
| &.fb_iframe_widget iframe | |
| width: 401px !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
| # on debian | |
| sm nginx install | |
| # need sudo rights to symlink config to /etc | |
| sudo ~/.sm/bin/sm nginx configure system | |
| sm nginx server add mark1_deployer | |
| chmod go+rx /home/deployer |
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
| # install as root | |
| apt-get update | |
| apt-get install aptitude | |
| aptitude update | |
| aptitude install sudo build-essential git-core screen zsh libpcre3 libpcre3-dev libssl-dev | |
| # install ruby | |
| bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) |
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
| # http://code.google.com/android/nexus/images.html#soju | |
| # specifically "soju" | |
| # download, untar | |
| # copy fastboot-mac files into dir | |
| # unlock bootloader (wipes all content on phone) | |
| ./fastboot-mac oem unlock | |
| # perform updating process | |
| ./fastboot-mac flash bootloader bootloader-crespo-i9020xxkl1.img |
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 | |
| # | |
| # This shell script passes all its arguments to the binary inside the | |
| # MacVim.app application bundle. If you make links to this script as view, | |
| # gvim, etc., then it will peek at the name used to call it and set options | |
| # appropriately. | |
| # | |
| # Based on a script by Wout Mertens and suggestions from Laurent Bihanic. This | |
| # version is the fault of Benji Fisher, 16 May 2005 (with modifications by Nico | |
| # Weber and Bjorn Winckler, Aug 13 2007). |
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/bash | |
| # | |
| # Security StackScript | |
| # By Donald von Stufft <donald.stufft@gmail.com> | |
| # | |
| # <udf name="user_name" label="Unprivileged User Account" /> | |
| # <udf name="user_password" label="Unprivileged User Password" /> | |
| # <udf name="user_sshkey" label="Public Key for User" default="" /> | |
| # |
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
| # Heroku's rubygems is too old for hoe 2.9.1 as of 28 Mar 2011 | |
| gem 'hoe', '~> 1.5.1' | |
| # figures | |
| gem "heroku" | |
| # will need some sort of web server | |
| gem "thin" |
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
| # tested on debian 6 32bit and working | |
| # install | |
| curl -L get.rvm.io | bash -s stable | |
| # zlib | |
| rvm pkg install zlib |
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
| color correction | |
| eyedropper, 3 - one for light, medium, dark | |
| find whitest spot, a lightsource | |
| darkest spot, corner | |
| then click colour balance to toggle | |
| use histogram to bring up tones | |
| or levels to bring up tones | |
| select colour dropdown and then can target a specific tone, drop the | |
| red |