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
function EmailInjection(){ | |
var t = this; | |
t.inject = function(className, href){ | |
var h = href.join("") | |
, e = document.getElementsByClassName(className) | |
; | |
for(var x = 0, xl = e.length; x<xl; ++x){ | |
e[x].href = "mailTo:" + h; |
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
//widths for things | |
@for $i from 1 through 10 { | |
.w--#{ ($i * 10) } { width : #{ ($i * 10) }% } | |
} |
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
// Ver: 5.2.50610 | |
if (typeof(st_js) == "undefined") { | |
stDRTL = 0; | |
stAHCM = 0; // 0 | |
stAHWS = 1; // 1 | |
stSMSC = 1; // 1 | |
stSCSP = 0; // 0 | |
stCFSP = 0; // 0 | |
stBIMG = 1; // 1 | |
stILOC = 0; // 0 |
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
#BEGIN - Install node.js | |
package { 'gcc-c++': | |
ensure => 'installed', | |
} | |
package { 'make': | |
ensure => 'installed', | |
} | |
exec { 'setup-node': |
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 | |
say "Listen to the wind blow, watch the sun rise | |
Run in the shadows, damn your love, damn your lies | |
And if, you don't love me now | |
You will never love me again | |
I can still hear you saying | |
You would never break the chain (Never break the chain) | |
And if, you don't love me now |
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 | |
sudo yum -y update; | |
sudo yum -y install ruby; | |
sudo yum -y install wget; | |
cd /home/ec2-user; | |
wget https://aws-codedeploy-eu-west-2.s3.amazonaws.com/latest/install; | |
chmod +x ./install; | |
sudo ./install auto; |
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 | |
brew update; | |
brew unlink php53 php54 php55 php56; | |
brew tap homebrew/dupes; | |
brew tap homebrew/versions; | |
brew tap homebrew/homebrew-php; | |
brew install php70; | |
brew install composer; |
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
import { h, render, Component } from 'preact'; | |
import './scss/main.scss'; | |
export class List extends Component { | |
constructor(props){ | |
super(props); | |
this.state = { data : [] }; | |
this.loc = window.location.pathname; | |
console.log("loaded"); | |
} |
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
import App from './components/App'; | |
import Router from './components/Router'; | |
import { h, render, Component } from 'preact'; | |
App.router = new Router(); | |
App.main = document.getElementById('main'); | |
App.router.registerRoute("/releases/[from]/[to]", {args : 3, action : () => { | |
import('./components/List').then(mod => { |
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
(function(d){ | |
var x = d.createElement("link"); | |
var y = d.getElementsByTagName("script")[0]; | |
x.rel = "stylesheet"; | |
x.href = "https://fonts.googleapis.com/css?family=Raleway:400,900"; | |
y.parentNode.insertBefore(x, y); | |
})(document); |