Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Allen trestletech

View GitHub Profile
View gist:07d8d4c833873be2f68c34f9afc5a78a

Cryptographic Best Practices

Putting cryptographic primitives together is a lot like putting a jigsaw puzzle together, where all the pieces are cut exactly the same way, but there is only one correct solution. Thankfully, there are some projects out there that are working hard to make sure developers are getting it right.

The following advice comes from years of research from leading security researchers, developers, and cryptographers. This Gist was [forked from Thomas Ptacek's Gist][1] to be more readable. Additions have been added from

View .gitignore
.vagrant
pkg
src
bin
@debasishg
debasishg / gist:8172796
Last active Jun 7, 2021
A collection of links for streaming algorithms and data structures
View gist:8172796
  1. General Background and Overview
@trestletech
trestletech / server.R
Last active Jul 10, 2020
Shiny app used for debugging Shiny Server Pro Auth
View server.R
library(shiny)
shinyServer(function(input, output, session) {
output$shinyVer <- reactive({
packageVersion("shiny")
})
output$rmarkdownVer <- reactive({
packageVersion("rmarkdown")
})
@trestletech
trestletech / .gitignore
Last active Mar 3, 2016
Quick test proxy in node that just passes all traffic through with an additional auth header, as if the request had been authenticated.
View .gitignore
node_modules
View Twitter big follow button without javascript
<style>
.twitter-btn {
font: normal normal normal 13px/26px 'Helvetica Neue',Arial,sans-serif;
height: 28px;
border-radius: 4px;
max-width: 100%;
box-sizing: border-box;
position: relative;
background-color: #F8F8F8;
@marcionicolau
marcionicolau / ace-shiny.css
Created Jan 16, 2013
knitr shiny example - by yihui
View ace-shiny.css
#proxy {
position: absolute;
top: 0;
right: 0;
display: none;
}
#notebook {
position: absolute;
width: 600px;
@trestletech
trestletech / .gitignore
Last active Dec 11, 2015
Import My PivotalTracker Stories into Astrid
View .gitignore
setup.sh
token
@TimSC
TimSC / vlcsms.c
Created Nov 20, 2012
Using libvlc to extract raw frames and audio from media via smem
View vlcsms.c
//To compile:
//cc vlcsms.c -o vlcsms -lvlc
//This source is by Tim Sheerman-Chase and it is released as public domain.
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <inttypes.h>
#include <vlc/vlc.h>