Skip to content

Instantly share code, notes, and snippets.

View guillaumevincent's full-sized avatar

Guillaume Vincent guillaumevincent

View GitHub Profile
@dmiller9911
dmiller9911 / Patternfly 4 React RFC.md
Last active August 2, 2018 14:26
Patternfly 4 React RFC
  • Start Date: 05-22-2018

Summary

Provide an approach that allows patternfly-react to consume patternfly-next. This approach will cover the following items:

  1. Keep patternfly-react in sync with patternfly-next core
  2. Make it easy for consumers to include patternfly-react in their projects
    • Enable code-splitting without workarounds
    • No need for extra Webpack loaders
  • No CSS to import

My Atom Config

Atom Editor Screenshot

Community Packages
├── Stylus@3.1.0
├── Zen@0.16.4
├── atom-eco@0.2.0
├── atom-material-syntax@0.4.6
# Easier way to install FreeBSD 10 on a Dedibox using the rescue system
# - no vnc
# - no qemu network unable to join the host network issue
sudo su -
aptitude update
aptitude install
wget ftp://ftp.free.fr/mirrors/ftp.freebsd.org/ISO-IMAGES-amd64/10.0/FreeBSD-10.0-RELEASE-amd64-disc1.iso
sudo qemu-system-x86_64 -hda /dev/sda -cdrom ./FreeBSD-10.0-RELEASE-amd64-disc1.iso -display curses -boot d
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@ricard33
ricard33 / FakeSMTPD.py
Last active December 15, 2015 22:49
A fake SMTP server in python which reports emails rate and bandwidth to console.
#!/usr/bin/env python
from __future__ import with_statement
import smtpd
import asyncore
import sys
import time
import threading
class FakeSMTPD(smtpd.SMTPServer):
def __init__(self, localaddr, remoteaddr):
@anthonyshort
anthonyshort / _media-queries.scss
Created March 13, 2012 10:37
Media Queries in Sass
// Media Queries in Sass 3.2
//
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
//
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
@fwielstra
fwielstra / api.js
Created June 14, 2011 14:46
An example NodeJS / Mongoose / Express application based on their respective tutorials
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title>
<script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script>
<script type="text/javascript" charset="utf-8">
$(function () {
var extractToken = function(hash) {
@danmackinlay
danmackinlay / supervisord.sh
Created August 27, 2009 07:07
an init.d script for supervisord
#! /bin/sh
### BEGIN INIT INFO
# Provides: supervisord
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.