Skip to content

Instantly share code, notes, and snippets.

@edwardt
edwardt / OpenSSLExample.cpp
Created June 13, 2022 14:43 — forked from irbull/OpenSSLExample.cpp
Code signing and verification with OpenSSL
#include <iostream>
#include <openssl/aes.h>
#include <openssl/evp.h>
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/err.h>
#include <assert.h>
@edwardt
edwardt / Big List of Real Estate APIs.md
Created August 3, 2021 21:51 — forked from patpohler/Big List of Real Estate APIs.md
Evolving list of Real Estate APIs by Category

Big List of Real Estate APIs

Listings / Property Data

####Rets Rabbit http://www.retsrabbit.com

Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.

@edwardt
edwardt / mls.py
Created August 3, 2021 21:51 — forked from DenisCarriere/mls.py
MLS Scraper
import geocoder
import requests
import unicodecsv as csv
import time
container = {}
g = geocoder.google("New Brunswick, Canada")
url = "https://www.realtor.ca/api/Listing.svc/PropertySearch_Post"
PropertySearchType = {
@edwardt
edwardt / ElixirConf2014.md
Created October 7, 2015 23:17 — forked from rob-brown/ElixirConf2014.md
Notes from ElixirConf 2014

ElixirConf 2014

Dave Thomas—Opening Keynote

Twitter | Slides

Think different(ly)

Get out of your rut and learn new ways to think.

@edwardt
edwardt / erlang-interview-question.erl
Last active August 29, 2015 14:28 — forked from vlm/erlang-interview-question.erl
Erlang inteview question
%% Given the parsed HTML tree in the following format:
%%
%% Types HTML = [Element]
%% Element = {Tag, [Attribute], [Element | Text]}
%% Tag = atom() % e.g. 'a', 'pre', 'p'
%% Attribute = {Name, Value}
%% Name = atom()
%% Value = string()
%% Text = iolist()
%%
@edwardt
edwardt / riak.md
Last active August 29, 2015 14:26 — forked from jadeallenx/riak.md
Links for Riak GET/PUT paths

Reading List for Riak Get/Put paths

  1. [John Daily's series on configurable behaviors][1]
  2. [Riak's get fsm][2]
  3. [Riak's get "core"][3]
  4. [Riak's put fsm][4]
  5. [Riak's put core][5]
import leon.lang._
import leon.collection._
sealed abstract class Amount[A]
case class One[A](a: A) extends Amount[A]
case class Couple[A](a: A, b: A) extends Amount[A]
case class Few[A](a: A, b: A, c: A) extends Amount[A]
object AmountFunctor {
from idaapi import *
from idc import *
from idautils import *
import sys
#Jared DeMott, labs.bromium.com
def error(e):
print "Fatal error: ", e
sys.exit(-1)

As compiled by Kevin Wright a.k.a @thecoda

(executive producer of the movie, and I didn't even know it... clever huh?)

please, please, please - If you know of any slides/code/whatever not on here, then ping me on twitter or comment this Gist!

This gist will be updated as and when I find new information. So it's probably best not to fork it, or you'll miss the updates!

Monday June 16th

@edwardt
edwardt / README.md
Last active August 29, 2015 14:15 — forked from napcs/README.md

Quickly build a DigitalOcean box

You can use Chef or Puppet to build out your infrastructure, but if you just need a quick and dirty box set up,

Installation

First, download Vagrant and install it.

After that, visit your DigitalOcean account and obtain your API key.