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
# -*- coding: utf-8 -*- | |
import qrcode | |
import qrcode.image.svg | |
def generate_qrcode( | |
ssid='ssid', | |
password='password', | |
password_type='WPA', | |
filename='output.svg'): |
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/sh | |
# | |
# /etc/cron.daily | |
# | |
# last update: 05 June 2012 | |
# author: matthieu berjon <matthieu.berjon@wavefield.fr> | |
# licence: WTFPL | |
# | |
# description: check the changelog according to the slackware version of the | |
# computer and send an email if changes appear. |
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
nginx http://nginx.org | |
octave http://www.gnu.org/software/octave/ | |
slackware http://slackware.com/ | |
markdown http://daringfireball.net/projects/markdown/ | |
uzbl https://github.com/Dieterbe/uzbl/downloads | |
ffmpeg http://www.ffmpeg.org/download.html | |
echinus http://plhk.ru/ | |
ourico http://plhk.ru/static/ourico/ | |
tmux http://tmux.sourceforge.net | |
fakeroot http://packages.qa.debian.org/f/fakeroot.html |
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/sh | |
# ~/bin/sshr | |
# | |
# modified: 26 Jan 2012 | |
# author: matthieu berjon <matthieu.berjon@wavefield.fr> | |
# licence: WTFPL | |
# | |
# description: create or kill a remote ssh tunnel | |
LOGIN= |
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/sh | |
# | |
# Look for corresponding package into the slackware package log folder. This | |
# script is specific to the Slackware distribution. | |
# | |
# modified: 22 August 2012 | |
# author: matthieu berjon <matthieu(dot)berjon(at)wavefield(dot)fr> | |
# licence: BSD | |
Search () { |
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/sh | |
# | |
# Create a VERSION file according to the slackbuilds created | |
# | |
# modified: 22 August 2012 | |
# author: matthieu berjon <matthieu(dot)berjon(at)wavefield(dot)fr> | |
# license: BSD | |
CUR_VERSION=13.37 | |
SLACK_PATH=~/repo/slackware/slackware-$CUR_VERSION |
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/sh | |
# ~/bin/shut | |
# | |
# modified: 21 Oct 2011 | |
# author: Matthieu Berjon <matthieu.berjon@wavefield.fr> | |
# licence: WTFPL | |
# | |
# description: check if repositories have been modify before shutdown. | |
# check the repo |
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/bash | |
set -e | |
datetime=$(date "+%Y-%m-%d-%H-%M-%S") | |
radio_config_dir="$HOME/.config/radio" | |
radio_list="$radio_config_dir/list" | |
# Check if the config file exists and create it if it doesn't | |
if [ ! -d "$radio_config_dir" ]; then |
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/sh | |
# | |
# Look on official mirror and Slackbuilds.org if a package is available. | |
# | |
# modified: 22 August 2012 | |
# author: matthieu berjon <matthieu(dot)berjon(at)wavefield(dot)fr> | |
# licence: BSD | |
# | |
# TODO | |
# |
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/sh | |
# | |
# ~/bin/dualscreen | |
# | |
# modified: 10 Dec 2011 | |
# author: Matthieu Berjon <matthieu.berjon@wavefield.fr> | |
# licence: WTFPL | |
# | |
# description: help to configure dualscreen resolutions. |
NewerOlder