All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Register

Login

All New Register Login
's Avatar

waja

Joined 10 months ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 94
waja's Avatar

waja / gist:1249adfecc3b413f9b6449da15227456

0 likes
0 forks
1 files
Last active 1 week ago
1 #!/bin/bash
2 if [ -f /etc/default/backuppc-helper ]
3 then
4 . /etc/default/backuppc-helper
5 if [ -z "$VOL" ]
6 then
7 echo "#### WARNING ####"
8 echo "VOL in /etc/default/backuppc-helper not set!"
9 echo "#################"
10 exit 0
waja's Avatar

waja / gist:a377eed7509e4374964583c02ab6d2ee

0 likes
0 forks
1 files
Last active 1 week ago
1 #!/bin/bash
2 #TMPDIR=/tmp/
3 # creating temp dir
4 TMPDIR=`mktemp -d`
5 trap "rm -rf $TMPDIR" EXIT
6 # defining some values
7 DIR=$(pwd)
8 # git clone git://git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git /tmp/monitoring-plugins.git
9
10 case "$1" in
waja's Avatar

waja / gist:3f2820aa537e46128aa819172df05fe1

0 likes
0 forks
1 files
Last active 1 week ago
1 diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake
2 index ae2b1bb..f6aacce 100644
3 --- a/lib/tasks/gitlab/backup.rake
4 +++ b/lib/tasks/gitlab/backup.rake
5 @@ -157,8 +157,8 @@ namespace :gitlab do
6
7 # Build a backup path
8 path_to_bundle = File.join(backup_path_repo, project.path_with_namespace + ".bundle")
9 -
10 - if Kernel.system("git clone --bare #{path_to_bundle} #{project.repository.path_to_repo} > /dev/null 2>&1")
waja's Avatar

waja / gist:30b975d30c82485da31dd43b60126854

0 likes
0 forks
1 files
Last active 1 week ago
1 # look also at
2 # http://wiki.openwrt.org/doc/recipes/relayclient
3 # http://wiki.openwrt.org/doc/recipes/dumbap
4
5 # disable dhcp on lan interface (just in case there is a dhcp server running)
6 uci set dhcp.lan.ignore=1
7 uci set dhcp.@dnsmasq[0].nonegcache=1
8 uci commit dhcp
9 /etc/init.d/dnsmasq restart
waja's Avatar

waja / gist:790aa0d9af7746f292700a96b14d5e45

0 likes
0 forks
1 files
Last active 1 week ago

Keybase proof

I hereby claim:

  • I am waja on github.
  • I am waja (https://keybase.io/waja) on keybase.
  • I have a public key whose fingerprint is 5CE7 510A 8FBC 0D4E 72AB BA9B 0C70 557B 5A06 513E

To claim this, I am signing this object:

waja's Avatar

waja / gist:5ea13823e4334de881c337fc84f1b4e9

0 likes
0 forks
1 files
Last active 1 week ago

New location

Head over to https://github.com/waja/debian-update-cheatsheets/blob/squeeze2wheezy/squeeze2wheezy.sh

waja's Avatar

waja / gist:7adfe50f2553420988d338fc3171c295

0 likes
0 forks
2 files
Last active 1 week ago
1 #
2 # Automatically generated file; DO NOT EDIT.
3 # OpenWrt Configuration
4 #
5 CONFIG_MODULES=y
6 CONFIG_HAVE_DOT_CONFIG=y
7 # CONFIG_TARGET_ppc40x is not set
8 # CONFIG_TARGET_realview is not set
9 # CONFIG_TARGET_sunxi is not set
10 # CONFIG_TARGET_atheros is not set
waja's Avatar

waja / gist:db2a891318c2483eb4b4f7127b65d1da

0 likes
0 forks
1 files
Last active 1 week ago
1 # $Id: lcd4linux.conf.sample 759 2007-02-04 05:55:58Z michael $
2 # $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/lcd4linux.conf.sample $
3
4 Plugin FIFO {
5 fifopath '/tmp/lcd4linux.fifo'
6 }
7
8 Variables {
9 tick 500
10 tack 100
waja's Avatar

waja / gist:d6d8a9d972fd491fa8d4c8047e577856

0 likes
0 forks
2 files
Last active 1 week ago
1 #!/bin/bash
2
3 # get clipboard installed
4 sudo apt-get install diodon diodon-plugins
5 # install flash for chromium
6 [ $(dpkg -l | grep chromium-browser | grep ^ii | wc -l) -ge "1" ] && sudo apt-get install pepperflashplugin-nonfree
7 # audio video codecs
8 sudo apt-get install ubuntu-restricted-extras
9 sudo apt-get install libavcodec-extra
10 # disable apport (like on stable release on default)
waja's Avatar

waja / gist:4a6facd13c844f97a231172770eeda38

0 likes
0 forks
2 files
Last active 1 week ago
1 # wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/squeeze-lts -O /etc/cron.daily/squeeze-lts && chmod +x /etc/cron.daily/squeeze-lts
2 # TMP=$(mktemp); wget --no-check-certificate https://gist.github.com/waja/29b9e41113f6587fffb9/raw/.bash_profile -O ${TMP} && grep -v "^#" ${TMP} >> ~/.bash_profile
3 if [ ! -f /tmp/motd.squeeze-lts.trail ]; then
4 sh /etc/cron.daily/squeeze-lts
5 fi
6 echo ""; echo "Not supported packages by squeeze LTS (wiki.debian.org/LTS/Development):"; echo ""
7 cat /tmp/motd.squeeze-lts.trail
Newer Older

Powered by Opengist ⋅ Load: 161ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文