Skip to content

Instantly share code, notes, and snippets.

Utiliser blih / git pour rendre un projet

Configurer son compte blih

Pour pouvoir utiliser blih / git il faut configurer avant tout sa paire de clé SSH

Voici les étapes:

  • Génération d'une paire de clé ssh:
@Ankirama
Ankirama / firewall.sh
Created November 14, 2016 23:07
Firewall iptables basic rules
#!/bin/sh
### BEGIN INIT INFO
# Provides: Firewall maison
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start:
# Default-Stop:
# X-Interactive: false
# Short-Description: Firewall maison
@Ankirama
Ankirama / gitlab.conf
Created November 14, 2016 23:24
gitlab vhost for apache (from gitlab doc but cant remember where I got it)
# This configuration has been tested on GitLab 8.2
# Note this config assumes unicorn is listening on default port 8080 and
# gitlab-workhorse is listening on port 8181. To allow gitlab-workhorse to
# listen on port 8181, edit /etc/gitlab/gitlab.rb and change the following:
#
# gitlab_workhorse['listen_network'] = "tcp"
# gitlab_workhorse['listen_addr'] = "127.0.0.1:8181"
#
#Module dependencies
# mod_rewrite
function command1(params) {
if (params.length > 0) {
console.log('command1 --> ', params);
}
return 0;
}
function command2(params) {
if (params.length > 0) {
console.log('command2 --> ', params);
@Ankirama
Ankirama / hello-world.cpp
Created November 25, 2016 16:14
Gist created by fiddle.jyt.io
// Jyt is a REPL for C++
// You can write code interactively
// Highlight some code and press alt-enter to execute it
// For example:
auto x = "hello world";
// Now you can query the value in the terminal on the right
// e.g. "x"

Utilisation du dump Paris

Session

  • La session se trouve dans WAC
  • Vous avez le choix entre 2 window manager: i3 (genial mais qu'avec le clavier - https://i3wm.org/docs/refcard.html) ou OpenBox
  • Pour se lock sur i3 : i3lock

Stockage des donnees

@Ankirama
Ankirama / piscine_php_rush1-lyon.md
Last active April 7, 2017 21:36
piscine_php_rush1-lyon.md

Comment creer son site pour Lyon

Adresse de votre site

Votre site se trouve a l'adresse suivante : 138.68.128.66/~prenom-nom avec prenom-nom le prenom et le nom du chef de groupe (exemple 138.68.128.66/~luca-sardellitti)

Comment se connecter

Pour vous connecter il va falloir utiliser le terminal.

@Ankirama
Ankirama / free_email_provider_domains.txt
Created April 15, 2017 12:55 — forked from tbrianjones/free_email_provider_domains.txt
A list of free email provider domains. Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
1033edge.com
11mail.com
123.com
123box.net
123india.com
123mail.cl
123qwe.co.uk
150ml.com
15meg4free.com
163.com
@Ankirama
Ankirama / flexget
Last active July 3, 2017 21:30
flexget init service linux
#!/bin/sh
### BEGIN INIT INFO
# Provides: flexget
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the flexget daemon
# Description: Enable service flexget
### END INIT INFO

My web server help

ISOs

Configurer DHCP sous vmware (c'est mieux et vous avez une licence)