Skip to content

Instantly share code, notes, and snippets.

🏔
Building the future.

Frank Cash frankcash

🏔
Building the future.
Block or report user

Report or block frankcash

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View requirements.txt
boto3==1.5.6
botocore==1.8.20
numpy==1.14.0
pandas==0.20.3
psycopg2==2.7.3.2
python-dateutil==2.7.0
paramiko==2.4.1
@frankcash
frankcash / main.go
Created Mar 14, 2018
Structured Colly Example for Reddit.com/r/programming
View main.go
package main
import (
"fmt"
"time"
"github.com/gocolly/colly"
)
type item struct {
@frankcash
frankcash / main.go
Created Mar 14, 2018
Basic go-colly example
View main.go
package main
import (
"fmt"
"github.com/gocolly/colly"
)
func main() {
c := colly.NewCollector()
@frankcash
frankcash / ll.go
Created Mar 10, 2018
simple linked list in golang
View ll.go
package main
import (
"errors"
"fmt"
)
type node struct {
prev *node
data string
View Local.java
package Bean;
import com.google.gson.annotations.Expose;
/**
* Created by foobar on 8/25/16.
*/
public class Local {
@Expose
public String id;
@frankcash
frankcash / CribDrag.py
Created Aug 13, 2016
DefCamp Xor Functionality
View CribDrag.py
from binascii import unhexlify
ciphertexts = ["f363844fd41932070e24df7f6c2397b4f0ee4bc567c32e6f8be4665116657ff880756558fe63f47975fa94e8fa1efc6e97cf9c99931ce21d7b03ef4f61bdc6f74fc566cac6f0fe7b939237d3ab9e37adf9910cfc899ed3ff7b79ead95b8aced21ec1079c72409e878425fd61026fbf1e9319ff6dc4c75c356f04ffe204ce480c488ff34eb78034aa23d87309", "d12a9b49d446354e0020912f6f2297b7eaee4f8062c32479d2f66253016b6ab182723152ff69a46178ebd1e5e04ae760978b9c929319ab0a6018b70a5bf5d6b946d27ad8d9e3f9769b923dc9fb953db2b7d816f1889ecbf86a3cbec45e8aced213c44ebd5275cad3d72ef9631f72a15b8f57f123cac412742e03b6fb098b1c350d9bf25db78023ab3690751276f46d9e598a1f0b", "c4629107da0e38541937d43e6366dab7eaff1cc266c32879c5e06440106f63b18e7b7c41fc61a06871e694e8ed4ae760978b9c92930aab19614cf85e2ff1d6f85ec323dfc5f4bc6497df319ab7933cb8a1d958f59f9ec8f97b74eedc578680d61add53f3477ed687942bfe6a1972f2198519e170ced412786105bab618c309340d92f34cbf", "c4629d549106204c0836912b662397b1e0f848c56ec33979d9fc3642116765f49f677e5cf524a0623df6d9f9f50ff864979bd396dd5db21f680fed436c
View Felony fail to run on OSX
> felony@0.10.3 dev /Users/majora/Code/felony
> concurrently --kill-others "npm run hot-server" "npm run start-hot"
[0]
[0] > felony@0.10.3 hot-server /Users/majora/Code/felony
[0] > node -r babel-register server.js
[0]
[1]
[1] > felony@0.10.3 start-hot /Users/majora/Code/felony
@frankcash
frankcash / app.js
Created Apr 6, 2015
Starter server
View app.js
var express = require('express');
var cons = require('consolidate');
var bodyParser = require('body-parser');
var fs = require('fs');
var path = require('path');
var app = express();
app.set('view engine', 'html');
app.engine('html', cons.swig); // sets template engine
app.set('views', __dirname + '/views'); // sets dir for views
View MyReactComponent.js
/**
* @jsx React.DOM
*/
var React = require('react'),
MyReactComponent = React.createClass({
// The object returned by this method sets the initial value of this.state
getInitialState: function(){
return {};
@frankcash
frankcash / pull_requests.js
Last active Aug 13, 2016
My Pull Requests
View pull_requests.js
var requests =[
{
title: "Fixes text alignment of notracking",
repository: "EFForg/privacybadgerfirefox",
url: "https://github.com/EFForg/privacybadgerfirefox/pull/626",
language: "CSS"
},
{
title: "Adds a nevermind option for decrypt/encrypt",
repository: "henryboldi/felony",
You can’t perform that action at this time.