Targeted release: Fedora 19 - Replace MySQL with MariaDB
fedoraproject.org3 pointsby keyist0 comments
Total size Compressed size
All archives 697 MB 323 MB
(unique data) 215 MB 100 MB
This archive 148 MB 67 MB
New data 17 MB 5.2 MB
Edit: Don't want to misrepresent Tarsnap's granularity. The print-stats option gives size in bytes. Above output was generated with the --humanize-numbers option. # base64 is already a command, supports -d
function imgur_up() {
curl -F key=yourkeyhere -F "image=@$1" http://api.imgur.com/2/upload
}
function public_ip() {
curl -sL myip.dk | egrep '[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}'
}
function sloc() {
sed '/^$/d' $1 | wc -l
}
# no args clears users
# with args, assigns usernames
function gpair() {
if [ -z "$1" ]; then
echo "Resetting to default user"
git config --unset-all user.name
else
git config user.name "$(echo $@)"
fi
echo "User is now: $(git config user.name)"
}
function tab_to_space() {
sed 's/\t/ /g' $1
}
function space_to_tab() {
sed 's/ /\t/g' $1
}
function url_decode() {
echo "$1" | python -c 'import sys,urllib;print urllib.unquote(sys.stdin.read().strip())'
}
function url_encode() {
echo "$1" | python -c 'import sys,urllib;print urllib.quote(sys.stdin.read().strip())'
}
function web_serve() {
python -m SimpleHTTPServer
}
EDIT: Brought to my attention: http://news.ycombinator.com/item?id=1448309 =\ In X months I want to be making Y. What needs to happen for me to get there?
Part of any employee's job is to manage expectations. This way, you're both communicating your expectations to your manager and clarifying theirs. It also adheres to the "no surprises" rule by giving prior notice.
A standard that uses environment variables means programs don't have to provide extra options for this customization (I've seen -f,--file , -c,--config and other variants). It allows for common code (libraries that implement the spec).
If you poke around for feature requests for various open source programs, you'll find XDG basedir compliance come up occasionally (moreso for CLI utils). I wouldn't say "nobody seems to be using it"; quick scan of my folders includes Chromium, uzbl, htop. Git's next release will be compliant too.