- Geek Feminism: http://geekfeminism.org/
- Philip Guo's writing: http://www.pgbovine.net/writings.htm
- Mel Chua: http://blog.melchua.com/
- Pointers Gone Wild (by Maxime Chevalier): http://pointersgonewild.wordpress.com/ (compiler fun!)
- Sumana's blog: http://www.harihareswara.net/ces.shtml
- Lindsey Kuper's great research blog: http://composition.al/
- Kelly Sommers is so inquisitive and thoughtful and amazing: http://kellabyte.com/
- Selena Deckelmann: http://www.chesnok.com/daily/
- Dan Luu: http://danluu.com/
- http://planet.mozillaopennews.org/
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
static OSStatus | |
SSLVerifySignedServerKeyExchange(SSLContext *ctx, bool isRsa, SSLBuffer signedParams, | |
uint8_t *signature, UInt16 signatureLen) | |
{ | |
OSStatus err; | |
SSLBuffer hashOut, hashCtx, clientRandom, serverRandom; | |
uint8_t hashes[SSL_SHA1_DIGEST_LEN + SSL_MD5_DIGEST_LEN]; | |
SSLBuffer signedHashes; | |
uint8_t *dataToSign; | |
size_t dataToSignLen; |
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
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- | |
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent: | |
# | |
# openldap backup handler script for backupninja | |
# | |
getconf backupdir /var/backups/ldap | |
getconf suffixes all | |
getconf compress yes | |
getconf ldif yes |
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
(*pp camlp4orf *) | |
(* ty_enum_to_int : Camlp4 (3.10) Syntax extension | |
type test = | A | B | C | D with to_int | |
translates to : | |
type test = | A | B | C | D | |
let test_to_int = function | A -> 0 | B -> 1 | C -> 2 | D -> 3 | |
let test_of_int = function | 0 -> A | 1 -> B | 2 -> C | 3 -> D | |
Compilation command : |
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 python3 | |
with open("vbmeta.img", "rb+") as vbmeta: | |
# Get current flags | |
vbmeta.seek(123) | |
flags = int.from_bytes(vbmeta.read(1), byteorder='big') | |
# Disable verity | |
flags |= 0x01 | |
# Disable verification | |
flags |= 0x02 |
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
/* | |
mini - a Free Software replacement for the Nintendo/BroadOn IOS. | |
ghettohci - debug over FT232 over OHCI | |
Copyright (C) 2012 Hector Martin "marcan" <marcan@marcansoft.com> | |
# This code is licensed to you under the terms of the GNU GPL, version 2; | |
# see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt | |
*/ |
This gist is deprecated in favor of https://github.com/ninenines/cowboy/blob/master/doc/src/guide/specs.asciidoc which has a formatted version at https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/
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
// ==UserScript== | |
// @name Twitter Alt-Text to Title-Text | |
// @description Copy the alt attribute of twitter images into the title attribute, so that I can see the alt text on hover. | |
// @version 1 | |
// @grant none | |
// @include https://twitter.com/* | |
// ==/UserScript== | |
const SELECTORS = `.tweet .AdaptiveMedia-photoContainer img | |
, .Gallery-media img |
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 python3 | |
import sys | |
import textwrap | |
# Very basic bitstream to SVF converter, tested with the ULX3S WiFi interface | |
flash_page_size = 256 | |
erase_block_size = 64*1024 |
OlderNewer