Skip to content

Instantly share code, notes, and snippets.

View perichus's full-sized avatar
👹
Doing things

Pedro García Navarro perichus

👹
Doing things
View GitHub Profile
@perichus
perichus / satis_install.sh
Created December 20, 2016 09:44 — forked from h4cc/satis_install.sh
Guide to install a satis server for composer. It can mirror packages and create a index for own packages.
# Install a Webserver
apt-get -y install apache2
# Target docroot to /home/satis/web/
# Install PHP5 CLI and needed programs.
apt-get -y install php5-cli php5-curl php5-json git wget
# Add a specifix user for our task
adduser satis
@perichus
perichus / tag.sh
Last active January 13, 2016 19:14
Bump Git Tag - Shell Script
function tag() {
VERSION=`git describe --abbrev=0 --tags`
VERSION_BITS=("${(@s/./)VERSION}")
MAJOR=$VERSION_BITS[1]
MINOR=$VERSION_BITS[2]
HF=$VERSION_BITS[3]
if [ "$1" = "major" ];
then
'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
watch: {
sass: {
files: "app/scss/*.scss",
tasks: "sass:dev"
'use strict';
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
watch: {
sass: {
files: "app/scss/*.scss",
tasks: "sass:dev"