Skip to content

Instantly share code, notes, and snippets.

Avatar

Jef jefmathiot

View GitHub Profile
View certificate.js
This file has been truncated, but you can view the full file.
parcelRequire = function(e, r, t, n) {
var i, o = "function" == typeof parcelRequire && parcelRequire,
u = "function" == typeof require && require;
function f(t, n) {
if (!r[t]) {
if (!e[t]) {
var i = "function" == typeof parcelRequire && parcelRequire;
if (!n && i) return i(t, !0);
View Copyright directive vote stats
View aws-ip-ranges
#!/usr/bin/env ruby
require 'net/http'
require 'json'
addresses = Array.new(33) { |i| 2**(32 - i) }
uri = URI('https://ip-ranges.amazonaws.com/ip-ranges.json')
req = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
View telegram-dns
#!/usr/bin/env ruby
require 'base64'
require 'openssl'
require 'net/http'
require 'ipaddr'
require 'json'
def handle_response(body)
raw = Base64.decode64(body)
rsa_key = OpenSSL::PKey::RSA.new(File.read('public_key.pem'))
View decodex.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 3 columns, instead of 2. in line 7.
nom,categorie,description
Mes Opinions,non-source ou source peu fiable,Mes Opinions n'est pas une source d'information. Il s'agit d'une plateforme de pétitions sur laquelle n'importe quel internaute peut lancer un appel.
Change.org,non-source ou source peu fiable,Change.org n'est pas une source d'information. Il s'agit d'une plateforme de pétitions sur laquelle n'importe quel internaute peut lancer un appel.
Happy Buzzday,site souvent imprécis,"Un site de divertissement qui relaie des informations de sources variées, sans forcément les vérifier et sous des titres racoleurs."
Mode Fashion Swag,site souvent imprécis,"Une page Facebook qui relaie des informations de sites peu fiables, souvent sous des titres racoleurs."
Vive l'été,site souvent imprécis,"Une page Facebook qui relaie des informations de sites peu fiables, souvent sous des titres racoleurs."
Buzzly,site souvent imprécis,"Un site de divertissement francophone, spécialisé dans les contenus « insolites » et « buzz »."
Le Monde (édition abonnés),site e
View gist:0ac1ecf2f39add10b772
Verifying that +jefmathiot is my blockchain ID. https://onename.com/jefmathiot
View openssl-cryptcheck-2
$(OPENSSL_DIR)/libssl.so $(OPENSSL_DIR)/libcrypto.so: $(OPENSSL_DIR)/Makefile
$(MAKE) -C $(OPENSSL_DIR) depend build_libs
lib/%.so: $(OPENSSL_DIR)/%.so
cp $< $@
lib/%.so.1.0.0: $(OPENSSL_DIR)/%.so
cp $< $@
libs: lib/libssl.so lib/libcrypto.so lib/libssl.so.1.0.0 lib/libcrypto.so.1.0.0
View openssl-cryptcheck
$(OPENSSL_DIR)/libssl.so $(OPENSSL_DIR)/libcrypto.so $(OPENSSL_DIR)/libssl.so.1.0.0 $(OPENSSL_DIR)/libcrypto.so.1.0.0: $(OPENSSL_DIR)/Makefile
$(MAKE) -C $(OPENSSL_DIR) depend build_libs
lib/%.so: $(OPENSSL_DIR)/%.so
cp $< $@
lib/%.so.1.0.0: $(OPENSSL_DIR)/%.so.1.0.0
cp $< $@
@jefmathiot
jefmathiot / gist:189cdfb7ae97196f695e
Created May 15, 2015
Population of rabbits, in 1000 years from now
View gist:189cdfb7ae97196f695e
1201430450462686258052565935853247902150456611152474672882735304828148083071638085542061706733601919580614348686505862752898739241476477554318983914274076489601938428255976729295014502351269728088688554816954103578410809866955239161259255912374792006194635450078586704288613359887292206676309587023513529366250215460208424706319511398292457214846123679698500668578391607561203547425026446139196661768804313095171640243440854271257369557611099184454513937141109142654512423495416762316242267625921269855748401489926101559213906717682648022325841519598669629088023057434255703250835081182934591669858768178599473253083707448366973899219453256462991281683968109537995842809227904684980718277373889943674332860332834293785988759163600849254079719579275375985051645633588847043606171886149138730256778854776106295657418480243492768368791647816621497687251573097413245370092734746745976476604643037904029520296803650665546356627691261526125975487152012788815161287626773180244205797993801933995199168302314836123046381700892229054