In a terminal:
sudo openconnect --juniper uhvpn.herts.ac.uk
It'll ask for credentials. Staff will use: <your studynet id>@staff
while students will use: <your studynet id>@student
sudo yum -y install python-virtualenv | |
virtualenv my-venv | |
source my-venv/bin/activate | |
git clone url-for-bloom | |
cd bloom | |
python setup.py develop | |
./bin/bloom-generate |
diff --git a/fpaste b/fpaste | |
index 7a2eefe..d33461a 100755 | |
--- a/fpaste | |
+++ b/fpaste | |
@@ -20,7 +20,7 @@ VERSION = '0.3.8.1' | |
USER_AGENT = 'fpaste/' + VERSION | |
SET_DESCRIPTION_IF_EMPTY = 1 # stdin, clipboard, sysinfo | |
# FPASTE_URL = 'http://fpaste.org/' | |
-FPASTE_URL = 'http://paste.fedoraproject.org/' | |
+FPASTE_URL = 'http://modernpaste.fedorainfracloud.org/api/paste' |
[Default Applications] | |
x-scheme-handler/mailto=mutt.desktop; |
function npm-freeze() { | |
# npm ls | grep -E "^(├|└)─" | cut -d" " -f2 | awk -v quote='"' 'BEGIN { FS = "@" } ; { print quote $1 quote,":",quote $2 quote"," }' | sed -e 's/ :/:/g' | |
entries=`npm list --depth=0 -prod true "$@" 2>/dev/null | grep -v "UNMET PEER DEPENDENCY\|peer dep missing" | grep -E "^(├|└)─" | cut -d" " -f2` | |
echo '"dependencies" : {' | |
for entry in ${entries}; do | |
if [[ $entry =~ ^@.* ]]; then | |
# echo $entry | |
echo $entry | awk -v quote='"' -v attherate='@' 'BEGIN { FS = "@" }; { print quote attherate $1$2 quote,":",quote $3 quote"," }' | |
else |
#!/bin/bash | |
set -e | |
# Usage: | |
# rsync_parallel.sh [--parallel=N] [rsync args...] | |
# | |
# Options: | |
# --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
# | |
# Notes: |
*.acn | |
*.acr | |
*.alg | |
*.aux | |
*.bak | |
*.bbl | |
*.bcf | |
*.blg | |
*.brf | |
*.bst |
/* | |
* Copyright (c) 2009-2017, Farooq Mela | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. | |
* 2. Redistributions in binary form must reproduce the above copyright |
key_move_song_up = 'K' | |
key_move_song_down = 'J' | |
key_next_found_position = 'n' | |
key_prev_found_position = 'N' | |
key_prev_column = 260 'h' | |
key_next_column = 261 'l' | |
key_lyrics = '.' | |
key_home = 262 'g' | |
key_end = 360 'G' |
Sure, Github wins on the UI. Hands down. But, despite my initial annoyance with Gerrit when I first started using it almost a year ago, I am now a convert. Fully. Let me tell you why.
Note: This is an opinionated (on purpose) piece. I assume your preferences are like mine on certain ideas, such as: