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
<?php | |
// | |
// Fix for JPEGs with bad EXIF data that will crash some versions of | |
// Photoshop. If bad, it will output an equivalent PNG (for losslessness). | |
// | |
// To run, PHP must be compiled with GD (JPEG & PNG) and EXIF support. | |
// | |
// Make sure a JPG filename has been specified. | |
if ($argv[1] == '') { |
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
module.exports = function(grunt) { | |
// The helper function to access the filesSrc of the specified task | |
function filesSrc(configName) { | |
var config = grunt.config(configName); | |
var tasks = grunt.task.normalizeMultiTaskFiles(config); | |
return grunt.util._(tasks).chain().pluck('src').flatten().uniq().value(); | |
} | |
// Example config |
This file has been truncated, but you can view the full file.
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
20010 verbose fetch to= /jenkins/tmp/npm-1828-OZKAuTho/1404456112127-0.6931601180694997/tmp.tgz | |
20011 http GET https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz | |
20012 http GET https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25-1.tgz | |
20013 silly lockFile 19ea773f-s-minimatch-node-modules-sigmund tar:///jenkins/workspace/banno-sentry/node_modules/grunt-contrib-htmlmin/node_modules/html-minifier/node_modules/cli/node_modules/glob/node_modules/minimatch/node_modules/sigmund | |
20014 silly lockFile 19ea773f-s-minimatch-node-modules-sigmund tar:///jenkins/workspace/banno-sentry/node_modules/grunt-contrib-htmlmin/node_modules/html-minifier/node_modules/cli/node_modules/glob/node_modules/minimatch/node_modules/sigmund | |
20015 silly lockFile 0c6c0193-ns-npm-sigmund-1-0-0-package-tgz tar:///jenkins/.npm/sigmund/1.0.0/package.tgz | |
20016 silly lockFile 0c6c0193-ns-npm-sigmund-1-0-0-package-tgz tar:///jenkins/.npm/sigmund/1.0.0/package.tgz | |
20017 info preinstall sigmund@1.0.0 | |
20018 verbose readDependencies u |
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
$(function() { | |
// Wrap a container around images. | |
// Change $("img") to the appropriate selector. | |
$("img").wrap("<div class='polaroid'></div>").wrap("<div class='film'></div>"); | |
// Start the polaroids with low opacity. | |
$(".polaroid img").css("opacity", .1); | |
// Rotate the polaroids a bit. |
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
.film { | |
background: #000; | |
} | |
.polaroid { | |
background: #fff; | |
padding: 5%; | |
padding-bottom: 15%; | |
@include box-shadow(0 2px 5px rgba(0,0,0,.25)); | |
} |
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
<P>© <SPAN id=footerdate>2010</SPAN> City of Ankeny. All Rights Reserved. <A href="Index.aspx?page=34">Privacy Policy and Disclaimer</A> | Website CMS by <A href="http://www.visioninternet.com/">Vision Internet</A>. | |
<script type="text/javascript"> | |
var footerDateContainer = document.getElementById('footerdate'); | |
try{ | |
if ( footerDateContainer != null && footerDateContainer != "undefined" ) | |
footerDateContainer.innerHTML = "2012"; | |
} |
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
#!/usr/bin/ruby | |
# | |
# (c) 2011 SUSE Linux Products GmbH, Author: Christoph Thiel <cthiel@suse.com> | |
# | |
# script that generate dependency graph for Rails 3.1 stylesheet assets | |
# | |
# usage: sudo rubygem install ruby-graphviz | |
# cp assets-graphviz.rb yourapp/app/assets/ | |
# cd yourapp/app/assets/; chmod +x assets-graphviz.rb; ./assets-graphviz.rb |
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
(function(){ | |
var form=document.createElement('FORM'); | |
form.action='http://pa.am/new'; | |
form.method='post'; | |
var mode=document.createElement('INPUT'); | |
mode.name='mode'; | |
mode.type='hidden'; | |
mode.value='0'; | |
form.appendChild(mode); |
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
# Start all project servers, one per screen. | |
# http://superuser.com/questions/91881/invoke-zsh-having-it-run-a-command-and-then-enter-interactive-mode-instead-of | |
screen -t Web 1 zsh -ic 'cd ~/www/goodsmiths/ && gpull; bundle exec foreman start; zsh -i' | |
screen -t API 2 zsh -ic 'cd ~/www/goodsmiths_recommendation_engine && gpull && bundle exec foreman start; zsh -i' | |
screen -t AS 3 zsh -ic 'cd ~/www/goodsmiths_activity_stream && gpull && bundle exec foreman start; zsh -i' | |
screen -t GE 4 zsh -ic 'cd ~/www/goodsmiths_gaminator && gpull && bundle exec foreman start; zsh -i' | |
# Change the hardstatus settings to give an window list at the bottom of the screen, with the time and date and with the current window highlighted. | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]' |
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 | |
case $1 in | |
"die") | |
pkill ruby | |
pkill rake | |
pkill redis-server | |
pkill searchd | |
pkill mongo | |
;; | |
"repair") |
OlderNewer