Skip to content

Instantly share code, notes, and snippets.

@agustibr
agustibr / MySQLgenerator
Created April 19, 2016 09:04
Bash script that quickly generates a MySQL database, user, and password
#!/bin/bash
# Usage:
# $ brew install mysql
# $ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
# $ bash -c "$(curl -fsSL https://gist.githubusercontent.com/richardcornish/e9093757a6977b1b6b5b/raw)"
echo "Welcome to the MySQL generator!"
read -p "Database name: " dbname
read -p "Database user: " dbuser
@agustibr
agustibr / Git notes
Created April 14, 2016 13:01 — forked from richardcornish/git.md
Enough Git for your résumé in 100ish lines
Start
=====
1. Install Git
http://git-scm.com/download/mac
(But consider using Homebrew)
2. Make a GitHub account
https://github.com/
3. Open Terminal
@agustibr
agustibr / Gemfile
Created February 23, 2016 15:13 — forked from gorenje/Gemfile
An example sinatra omniauth client app
source :rubygems
gem 'sinatra'
gem 'json'
gem 'omniauth'
gem 'omniauth-oauth2'
gem 'omniauth-github'
gem 'omniauth-facebook'
gem 'omniauth-twitter'
# gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__)
@agustibr
agustibr / _component.scss
Last active December 30, 2015 18:19
[Inline or combined media queries in Sass? Fight! - benfrain.com - blog of technology writer and web designer Ben Frain.](http://benfrain.com/inline-or-combined-media-queries-in-sass-fight/)
.name-space-ComponentName {
width: 80%;
@include MQ(XS) {
width: 100%;
}
}

AngularJS best ressources

Following the AngularJS PARIS meetup (25/2 à 19h à Paris with @sampaccoud @dzen @_kemar @tchack13 @vinz et @revolunet)

Here's our best AngularJS ressources : twitter, github, articles & blogs. Please comment and add your good stuff !

@agustibr
agustibr / index.html
Created October 21, 2011 23:22 — forked from jpzwarte/gist:361195
thickborder
<!DOCTYPE html>
<html>
<head>
<title>Thickborder</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../reset-min.css" media="screen" rel="stylesheet" type="text/css" />
<link href="thickborder.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<nav>