- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python3 | |
# Author: Pablo Baeyens | |
# Usage: | |
# ./faScrap.py -h | |
# for usage info and options | |
import time | |
import argparse | |
import requests | |
import csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { Text, View, StatusBar } from 'react-native' | |
import { PropTypes } from 'prop-types' | |
import { createStore } from 'redux' | |
import { Constants } from 'expo' | |
import { Provider } from 'react-redux' | |
import { createBottomTabNavigator, createStackNavigator } from 'react-navigation' | |
function entries (state = {}, action) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /home/projects/project | |
. ./env/bin/activate | |
# Extract the package | |
tar -xzf package.tgz | |
rm package.tgz | |
rm ./web/project/config.py | |
cp ./config.py ./web/project/config.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- prepare | |
- test | |
- build | |
- deploy | |
variables: | |
EMBER_CLI_VERSION: "2.16.2" | |
BOWER_VERSION: "1.8.2" | |
PHANTOMJS_VERSION: "2.1.15" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
/** | |
* The login controller shows the login form and sends authentication data to the session. | |
* | |
* @class login | |
* @namespace Controller | |
*/ | |
export default Ember.Controller.extend({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch -f --env-filter \ | |
"GIT_AUTHOR_NAME='<NEW USERNAME>'; GIT_AUTHOR_EMAIL='<NEW EMAIL>'; \ | |
GIT_COMMITTER_EMAIL='<Old Email>';" HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DBNAME="<DB_NAME>" | |
DBPASS="<PASSWORD>" | |
DBUSER="<USER>" | |
EMAIL="<EMAIL>" | |
mysqldump --opt -u $DBUSER -p$DBPASS $DBNAME > backup.sql | |
gzip backup.sql | |
DATE=`date +%Y%m%d` ; mv backup.sql.gz $DBNAME-backupFULL-$DATE.sql.gz | |
uuencode $DBNAME-backupFULL-$DATE.sql.gz $DBNAME-backupFULL-$DATE.sql.gz | mail -s "<SUBJECT>" $EMAIL | |
rm $DBNAME-backupFULL-$DATE.sql.gz |
NewerOlder