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
mktoresp.com | |
marketo.com | |
*.gitlab.com | |
codepen.io | |
*.embedly.com | |
medium.com | |
*.linkedin.com | |
cdn.syndication.twimg.com | |
disqus.com | |
slideshare.net |
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
package main | |
import ( | |
"fmt" | |
"time" | |
"sync" | |
) | |
type payloadData struct { | |
Index int |
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
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include <bitset> | |
using namespace std; | |
int main() { |
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
'use strict'; | |
class JsonArch | |
{ | |
constructor(){ | |
this.storage = {keys: [], values: {}}; | |
this.objs = []; | |
} | |
add_recursive(obj, storage){ |
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/env bash | |
. /opt/elasticbeanstalk/support/envvars | |
DIR=/var/app/current | |
if [ "$WORKER_MODE" = "1" ] | |
then | |
if [ -f /var/run/shoryuken.pid ] | |
then | |
su -l -c "kill -USR1 `cat /var/run/shoryuken.pid`" root || echo "no process" | |
su -l -c "rm -f /var/run/shoryuken.pid" root || echo "no file" | |
fi |
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
@Modal = React.createClass | |
propTypes: | |
id: React.PropTypes.string | |
show: React.PropTypes.bool | |
getInitialState: -> | |
show: false | |
getDefaultProps: -> | |
id: 'generic-modal-popup' |
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
GEM | |
remote: https://rubygems.org/ | |
specs: | |
actionmailer (4.2.3) | |
actionpack (= 4.2.3) | |
actionview (= 4.2.3) | |
activejob (= 4.2.3) | |
mail (~> 2.5, >= 2.5.4) | |
rails-dom-testing (~> 1.0, >= 1.0.5) | |
actionpack (4.2.3) |
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
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select | |
import re | |
import codecs |