Skip to content

Instantly share code, notes, and snippets.

View pcoutin's full-sized avatar

Pedro L C pcoutin

View GitHub Profile
term% diff -c etherigbe.c.orig etherigbe.c
etherigbe.c.orig:1680,1686 - etherigbe.c:1680,1686
}
break;
}
- snprint(rop, sizeof(rop), "S :%dDCc;", bits+3);
+ snprint(rop, sizeof(rop), "CcS :%dDCc;", bits+3);
for(addr = 0; addr < 0x40; addr++){
/*
@gavinhungry
gavinhungry / nginx-tls.conf
Last active March 11, 2024 14:51
Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating
#
# Name: nginx-tls.conf
# Auth: Gavin Lloyd <gavinhungry@gmail.com>
# Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating
#
# Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related
# to SSL/TLS are not included here.
#
# Additional tips:
#
@staltz
staltz / introrx.md
Last active June 18, 2024 06:15
The introduction to Reactive Programming you've been missing
@kachayev
kachayev / concurrency-in-go.md
Last active May 31, 2024 09:34
Channels Are Not Enough or Why Pipelining Is Not That Easy
#lang racket
#|
Simplified SXML grammar
<Element> ::= (<Symbol> <Children>...)
| (<Symbol> <AttribList> <Children>...)
<Children> ::= <Element> | <Value>
<AttribList> ::= (<Attribute> ...) | (@ <Attribute> ...)
@themattchan
themattchan / SEXPRS FTW
Last active November 15, 2015 04:29
fuck xml.
#lang racket
(require xml)
(require xml/xexpr)
(define to-html (compose display
xexpr->string))
(define CONFIGS '((siteName "Andromeda")
(latitude 1234.567)
@themattchan
themattchan / DFA.hs
Last active November 15, 2015 04:29
{- LANGUAGE TupleSections -}
import Control.Monad
import qualified Data.Set as S
--type State = String
type Symbol = Char
data DFA st = DFA { states :: [st],
alphabet :: [Symbol],
delta :: st -> Symbol -> st,
startSt :: st
@thepont
thepont / i3.config
Created July 24, 2016 23:22
Gruvbox style i3 config
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:Ubuntu Mono 10
@noelbundick
noelbundick / LICENSE
Last active May 24, 2024 09:10
Exclude WSL installations from Windows Defender realtime protection
MIT License
Copyright (c) 2018 Noel Bundick
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
804341497441255424
3240985277
491532627
4556567547
4815201574
55217069
1027567260012097537
256491073
17173775
33861425