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
using System.IO; | |
using System.Text; | |
using System.Web; | |
using System.Web.Optimization; | |
using Jurassic; | |
using System.Globalization; | |
namespace Fewt.Web | |
{ |
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
for i in *.css; | |
do mv $i ${i%%.css}.less; | |
done |
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
for css in $(ls ./*/*.css) | |
do | |
mv "$css" "$css.org" | |
gzip "$css.org" --stdout > "$css" | |
rm "$css.org" | |
done | |
for js in $(ls ./*/*.js) | |
do | |
mv "$js" "$js.org" |
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
/[ -~]/ //matches all ASCII characters from the space to the tilde (printable characters) |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Ninject; | |
using Ninject.Extensions.Conventions; | |
using Ninject.Extensions.Conventions.BindingGenerators; | |
class Program | |
{ | |
static void Main(string[] 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
function clickDelete(){ | |
$('.deleteStation').delay(800).click(); | |
console.log("deleted station") | |
if( $('.stationListItem').length > 2 ){ | |
setTimeout(clickDelete, 5000); | |
} | |
} | |
clickDelete(); |
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 IndecentExposure | |
extend ActiveSupport::Concern | |
module ClassMethods | |
private | |
def expose(name, &block) | |
var = "@#{name}" | |
define_method(name) do | |
instance_variable_set(var, instance_variable_get(var) || instance_eval(&block)) | |
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
<style type="text/css"> | |
img, video{ | |
position: absolute; | |
width: 100%; | |
} | |
img{ | |
z-index: 100; | |
width: 70%; | |
margin: 0 15%; | |
} |
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
# | |
# PATH | |
# | |
# current directory bin (and for bundler) | |
PATH="./bin:./.bundle/bin" | |
# my local bin | |
PATH+=":$HOME/local/bin" |