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/env python | |
# -*- encoding: utf-8 -*- | |
from os import listdir | |
from os import popen | |
from os.path import isdir, join, expanduser | |
import time | |
pre_installed_ext_folder = "/usr/share/gnome-shell/extensions" | |
my_ext_folder = "{}/.local/share/gnome-shell/extensions".format(expanduser("~")) |
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
* { | |
@include box-sizing(border-box); | |
} | |
/****************************************************\ | |
VARIABLES | |
\****************************************************/ | |
$columns: 12 !default; | |
$gutter: 20px !default; |
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
module.exports = function(grunt) { | |
// load all grunt tasks matching the `grunt-*` pattern | |
require('load-grunt-tasks')(grunt); | |
// Project configuration. | |
grunt.initConfig({ | |
jshint: { | |
all: ['js/*.js'] |
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
let blacklists = ["https://mail.google.com/*","https://inbox.google.com/*","http://feedly.com/*","https://duckduckgo.com/*","https://www.facebook.com/*","https://twitter.com/*","https://www.google.fr/*","https://www.google.com/*","https://www.google.ch/*","https://www.youtube.com/*"] | |
let defaultengine = "duckduckgo" |
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
#Three-finger swipe left | |
"/home/moy4/.bin/workspace-switcher.py right" | |
b:8 | |
#Three-finger swipe right | |
"/home/moy4/.bin/workspace-switcher.py left" | |
b:9 | |
#Top edge swipe | |
"dbus-send --session --dest=org.pantheon.gala --print-reply /org/pantheon/gala org.pantheon.gala.PerformAction int32:4" |
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
div > .vimiumHintMarker { | |
background: #34495e; | |
border-radius: 0px; | |
padding: 1px 3px; | |
border: none; | |
} | |
div > .vimiumHintMarker span { | |
color: white; | |
font-weight: normal; |
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
server { | |
listen 80; | |
server_name lobr.fr proxmox.lobr.fr; | |
rewrite ^(.*) https://$host$1 permanent; | |
} | |
server { | |
listen 443; | |
server_name lobr.fr; | |
ssl on; |
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/python | |
# -*- coding: utf8 -*- | |
# sudo pip3 install mysqlclient xmltodict | |
import os | |
import MySQLdb | |
import xmltodict | |
import argparse |
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
version: '2' | |
services: | |
server: | |
image: "jpetazzo/dockvpn" | |
container_name: "vpn" | |
privileged: true | |
ports: | |
- "1194:1194/udp" | |
- "443:443/tcp" |
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/ash | |
source=$1 | |
dest=$2 | |
if [[ -z "${source}" || -z "${dest}" ]]; then | |
echo "ERROR. Missing params!" | |
exit | |
fi |
OlderNewer