Skip to content

Instantly share code, notes, and snippets.

View purplefish32's full-sized avatar

Donovan Tengblad purplefish32

View GitHub Profile

Never forget this

Code of Ethics

  • Always communicate. Always be online on Slack.
  • Always work with a Pull Request. Long running PRs are welcome but mark them with [WIP] so we don't merge it.
  • Follow the git flow principles.
  • We always work with a Milestone. See the current milestone here https://github.com/organization/project/issues/milestones link changed purposely
  • Don't hesitate to review other people's work. Always welcome criticism.
@purplefish32
purplefish32 / index.html
Last active February 4, 2016 21:29
HTML figure with figcaption
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Figure</title>
</head>
<body>
<div>
<figure>
<img src="img/banana.jpg" alt="Bananes">
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>IFrame Test</title>
<style>
body, html {
position: relative;
width: 100%;
height: 100%;
# CathexiS Tint2 panel theme
# Author : Samir Kahvedzic
# E-mail : [email protected]
# Web : http://samirkahvedzic.deviantart.com
# Background definitions
# ID 1
rounded = 5
border_width = 4
background_color = #222222 100
@purplefish32
purplefish32 / gist:a8692fc669d72f56cc59
Last active August 29, 2015 14:16
Install rancher client
sudo vi /etc/apt/sources.list
deb http://http.debian.net/debian wheezy-backports main
sudo apt-get update
sudo apt-get install -t wheezy-backports linux-image-amd64
curl -sSL https://get.docker.com/ | sh
@purplefish32
purplefish32 / gist:106442753af55b7c625a
Last active August 29, 2015 14:02
Terminator config (solarized)
[global_config]
inactive_color_offset = 1.0
[keybindings]
[profiles]
[[default]]
scrollbar_position = hidden
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
background_image = None
scrollback_lines = 50000
use_system_font = False
@purplefish32
purplefish32 / gist:6340806
Created August 26, 2013 12:12
Install claroline
#!/bin/bash
CYAN = "\e[46m"
NORMAL = "\e[0m"
PS3 = "Installation Claroline. Cela va supprimer votre répertoire Claroline/. Êtes-vous sûr de vouloir continuer ?"
LISTE=("[y] yes" "[n] no")
select CHOIX in "${LISTE[@]}" ; do
case $REPLY in
1|y)
echo -e "$CYAN###### INSTALLATION COMPOSER $NORMAL "
@purplefish32
purplefish32 / gist:5918954
Created July 3, 2013 15:01
Symfony deploy script
#!/bin/bash
cd ..
git fetch origin
git checkout origin/master
cd deploy/
rm composer.phar
curl -sS https://getcomposer.org/installer | php
cd ..
php deploy/composer.phar install
@purplefish32
purplefish32 / gist:5747284
Created June 10, 2013 08:33
My gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@purplefish32
purplefish32 / Debian vagrant
Created December 27, 2012 13:48
Debian vagrant vanilla install
Vanilla install from Download small CD installer, follow instructions for base box.
Hostname: vagrant-[os-name], e.g. vagrant-debian-squeeze64
Domain: vagrantup.com
Root Password: vagrant
Main account login: vagrant
Main account password: vagrant
uncheck all software
Login in as vagrant.