Skip to content

Instantly share code, notes, and snippets.

View groovytron's full-sized avatar
🏠
Working from home

Julien M'Poy groovytron

🏠
Working from home
  • Federal Office of Information Technology, Systems and Telecommunication (FOITT)
  • La Chaux-de-Fonds, Switzerland
View GitHub Profile
@groovytron
groovytron / vpn.sh
Created February 20, 2020 15:56 — forked from greut/vpn.sh
connecting to HE-Arc vpn
#!/bin/bash
USERNAME=yoan.blanc
PASSWORD="..."
GID=100
DIRS="ORG"
PID=openconnect.pid
echo "Welcome to HE-ARC"
echo ""
### Keybase proof
I hereby claim:
* I am groovytron on github.
* I am groovytron (https://keybase.io/groovytron) on keybase.
* I have a public key ASBrIV3YnGqgjQBibZ96n36veaem-Ek2lgFQoG69LVXV1go
To claim this, I am signing this object:
{% load staticfiles %} {% load bootstrap4 %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{% endblock %}</title>
{% bootstrap_css %}
<link href="{% static 'css/style.css' %}" rel="stylesheet" media="screen">
</head>
vagrant up provider=virtualbox --debug
INFO global: Vagrant version: 1.9.5
INFO global: Ruby version: 2.2.5
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_DEFAULT_PROVIDER="libvirt"
INFO global: VAGRANT_OLD_ENV_HOME="/home/julien"
INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color"
INFO global: VAGRANT_OLD_ENV_DESKTOP_SESSION="xfce"
INFO global: VAGRANT_OLD_ENV_XDG_SESSION_TYPE="x11"
INFO global: VAGRANT_OLD_ENV_GTK_MODULES="canberra-gtk-module:canberra-gtk-module"
@groovytron
groovytron / vagrant-1.9.5-archlinux-plugin-install.dbg
Last active May 31, 2017 20:56
Debug of vagrant plugins installation attempts (vagrant-mutate, vagrant-libvirt and vagrant-hostmanager)
vagrant plugin install host-manager
INFO global: Vagrant version: 1.9.5
INFO global: Ruby version: 2.2.5
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_DEFAULT_PROVIDER="libvirt"
INFO global: VAGRANT_OLD_ENV_VAGRANT_DEFAULT_PROVIDER="libvirt"
INFO global: VAGRANT_OLD_ENV_SSH_AGENT_PID="909"
INFO global: VAGRANT_OLD_ENV_XDG_SESSION_TYPE="x11"
INFO global: VAGRANT_OLD_ENV_DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
INFO global: VAGRANT_OLD_ENV_XDG_CONFIG_DIRS="/etc/xdg"
@groovytron
groovytron / pi-startup.sh
Last active March 17, 2017 13:57
Pi Start Up Script
#!/bin/bash
USERNAME=yourUserNameHere
# Change root user password (default password is raspberry)
sudo passwd root
# System configuration and upgrade
sudo raspi-config # if keyboard layout modification, etc. are needed
sudo apt-get update
@groovytron
groovytron / python-installation.md
Last active January 18, 2017 09:09
Texte résumant l'installation de python, virtualenv et flask

Installation de Python, Virtualenv et Flask

  1. Désinstaller Anaconda s'il est installé.Installer python. Je vous recommande de la mettre à un endroit facile à retenir comme C:\python36.
  2. Ajoutez python dans votre PATH. Vous pouvez vérifier que cela fonctionne en lançant la commande python --version et obtenir une sortie de ce genre en console:
    Python 3.5.2