Skip to content

Instantly share code, notes, and snippets.

View HugoPoi's full-sized avatar

Hugo Poissonnet HugoPoi

View GitHub Profile
@sandys
sandys / IE8_on_ubuntu.md
Created June 20, 2012 06:40
Installing IE8 on Ubuntu 12.04 64-bit (and avoiding the 32/64 bit architecture error)
@steventroughtonsmith
steventroughtonsmith / json
Created August 8, 2012 20:30
Using Twitter from ComputerCraft
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see LICENCE.txt for details.
--
-- USAGE:

Happy Freelancing

Je m’appelle Thibaut Assus, j’ai 30 ans, je suis freelance en développement web et ma technologie de prédilection est le Ruby on Rails. J’ai maintenant un peu d’expérience dans le domaine du freelancing et ce document a pour but de partager avec vous une partie de cette expérience.

Mon parcours de développeur Ruby

@shamil
shamil / mount_qcow2.md
Last active November 16, 2024 09:15
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@btroncone
btroncone / ngrxintro.md
Last active November 5, 2024 12:20
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

@rhaamo
rhaamo / SaaS and opensource.md
Last active November 8, 2018 17:21
I'm bored about services proposing OpenSource plans for OpenSource projects hosted ONLY ON GITHUB. An OpenSource project can't live on it's own Gitlab or Gitea ?
Website Product Opensource plan Remotes Self hosted public repositories Notes
https://www.versioneye.com/pricing VersionEye Yes Github, Bitbucket Yes https://www.versioneye.com/faq#how_without_github_bitbucket
https://travis-ci.org/ Travis CI Yes Github No "Sign in with Github"
https://insight.sensiolabs.com/pricing SLInsight Yes Github No "Sign in with Github"
https://codeclimate.com/pricing Code Climate Yes Github No "Sign in with Github"
https://www.appveyor.com/ AppVeyor CI Yes Github, Bitbucket, VS Online Don't know
https://packager.io/pricing Packager Yes Github Don't know OpenSource plan redirect to Github Login
https://codecov.io/ Code Coverage Yes Github, Bitbucket, Gitlab.com Gitlab CE/EE only with paid license
https://circleci.com/ CircleCI Yes Github (pub repos), Bitbucket No, or paid enterprise plan ?
@HugoPoi
HugoPoi / generateWhoisConf.js
Last active September 8, 2018 14:43
Generate /etc/whois.conf file for gnu whois command
/*
* Usage : node generateWhoisConf.js > /etc/whois.conf
*/
var json = require('comment-json');
var request = require('request');
request('https://github.com/weppos/whois/raw/master/data/tld.json', function(error, response, body){
var obj = json.parse(body);
Object.keys(obj).forEach(function(key){
@azlux
azlux / Warning_IPTABLES.md
Last active March 7, 2022 11:08
Sécurité avec iptables et l'option RELATED

Problème d'ouvertue de port non désirée sur une configuration IPTABLES

Un problème de contournement des règles iptables fixées par utilisateur peut survenir avec l’utilisation de règles iptables RELATED,ESTABLISH trop générique et le chargement de helper de service non présent ou non utilisé sur la machine (exemple FTP actif, SIP, IRC …).

True fact: Mon server MariaDB s'est fait attaqué comme ça alors que le port dans l'iptable n'était pas ouvert.


Menu

  1. Rappel
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active November 16, 2024 05:10
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@F21
F21 / signing-gpg-keys.md
Last active September 2, 2024 10:21
Signing someone's GPG key

This is a quick guide of the commands we use to sign someone's GPG key in a virtual key signing party.

Note: The steps cover only the technical aspects of signing someone's key. Before signing someone's key, you must verify their identity. This is usually done by showing government-issued ID and confirming the key's fingerprint

The commands will work for both GPG and GPG2.

I use Julian's key for the examples. His key id is 2AD3FAE3. You should substitute with the appropriate key id when running the commands.

Signing the key

  1. List the keys currently in your keyring: gpg --list-keys.