Skip to content

Instantly share code, notes, and snippets.

View PKGBUILD
pkgname=webkit2gtk-dummy
pkgver=2.4.4
pkgrel=1
arch=('any')
pkgdesc="Best package in the universe"
url="http://foobar.org/tooptoo/bin/src/tip/repo-cache"
license=('GPL')
depends=()
makedepends=()
provide=('webkit2gtk')
View PKGBUILD
pkgname=webkitgtk2-dummy
pkgver=2.4.4
pkgrel=1
arch=('any')
pkgdesc="Best package in the universe"
url="http://bitbucket.org/wooptoo/bin/src/tip/repo-cache"
license=('GPL')
depends=()
makedepends=()
provide=('webkitgtk2')
View PKGBUILD
pkgname=webkitgtk-dummy
pkgver=2.4.4
pkgrel=1
arch=('any')
pkgdesc="Best package in the universe"
url="http://bitbucket.org/wooptoo/bin/src/tip/repo-cache"
license=('GPL')
depends=()
makedepends=()
provides=('webkitgtk')
View bash-history-settings.md
Command Description
HISTSIZE Commands saved in memory number (default: 500)
HISTFILESIZE Commands saved in history file (default: 500)
HISTCONTROL erasedups: erase previous duplicates
shopt -s histappend History additions are appended rather than overwritten
history -a Adds to history immediately?!
View bash-history-settings.md
Command Description
HISTSIZE Commands saved in memory number (default: 500)
HISTFILESIZE Commands saved in history file (default: 500)
HISTCONTROL erasedups: erase previous duplicates
shopt -s histappend History additions are appended rather than overwritten
history -a Adds to history immediately?!
View bash-history-settings.md
Command Descripttion
HISTSIZE Commands saved in memory number (default: 500)
HISTFILESIZE Commands saved in history file (default: 500)
HISTCONTROL erasedups: erase previous duplicates
shopt -s histappend History additions are appended rather than overwritten
history -a Adds to history immediately?!
@Gen2ly
Gen2ly / gurl.sh
Last active Aug 29, 2015
A curl general download wrapper
View gurl.sh
#!/usr/bin/bash
# A curl general download wrapper
# curl alias for:
# -l : redirect automatically
# -O : output filename is remote name
# -# : progress bar
# -w : (--write-out) print filename
# -A : user agent
# : resume difficult (wget -c, better): http://tinyurl.com/7umwyl3
@Gen2ly
Gen2ly / foo.sh
Created Sep 4, 2014
A curl general download wrapper
View foo.sh
#!/usr/bin/bash
# A curl general download wrapper
# curl alias for:
# -l : redirect automatically
# -O : output filename is remote name
# -# : progress bar
# -w : (--write-out) print filename
# -A : user agent
# : resume difficult (wget -c, better): http://tinyurl.com/7umwyl3
@Gen2ly
Gen2ly / gepa.sh
Last active Aug 29, 2015
(ge)ntoo (pa)ckages - A generic, package tasks script for Gentoo Linux
View gepa.sh
#!/bin/bash
# (ge)ntoo (pa)ckages - A generic, package tasks script for Gentoo Linux
# Required programs
req_prgs=(emerge euse sudo)
for prog in ${req_prgs[@]}; do
if ! hash "$prog" 2>&- ; then
echo >&2 ""${0##*/}": requires program: "$prog""
error=y ;fi ; done
[ "$error" = y ] && exit 1
View foo.sh
#!/bin/bash
# (ge)ntoo (pa)ckages - A generic, package tasks script for Gentoo Linux
# Required programs
req_prgs=(emerge euse sudo)
for prog in ${req_prgs[@]}; do
if ! hash "$prog" 2>&- ; then
echo >&2 ""${0##*/}": requires program: "$prog""
error=y ;fi ; done
[ "$error" = y ] && exit 1