Use neoman
to change connection mode to OTP + UTF + CCID.
Please note keytocard
removes key from key ring, so you better have backup!
gpg --import /media/encrypted-media/mastersubkeys.txt
gpg --card-edit
> admin
> passwd
package com.github.ruudud.exectest; | |
import com.google.common.base.Stopwatch; | |
import com.google.common.collect.ImmutableList; | |
import com.google.common.util.concurrent.ThreadFactoryBuilder; | |
import java.util.List; | |
import java.util.concurrent.*; | |
import java.util.stream.Collectors; |
const blessed = require('blessed'); | |
const STATUS = { | |
pending: "PENDING" | |
}; | |
class Character { | |
tick() { | |
if (Math.random*2 > 1) { | |
this.fight(); |
{ | |
"extends": "airbnb/base" | |
} |
<#assign foo><@objectToJson object=data.myobj /></#assign> | |
${foo?html} | |
<#macro objectToJson object> | |
<@compress single_line=true> | |
<#if object?is_hash || object?is_hash_ex> | |
<#assign first="true"> | |
{ | |
<#list object?keys as key> | |
<#if first="false">,</#if> |
#!/bin/bash | |
# Motivation: | |
# http://blog.spreedly.com/2014/06/24/merge-pull-request-considered-harmful/ | |
# | |
# This script aids in the process of getting a linear Git history when using | |
# GitHub Pull Requests. | |
# A special GitHub remote ref is added, which is fetched and used to create a | |
# patch of changes to be applied with `git am`. The PR is then closed. | |
# | |
# INSTALL |
#!/bin/bash | |
set -eo pipefail | |
#set -x | |
port=3000 | |
docker_opts="-v /srv:/srv:ro -p $port" | |
if [[ "$#" -ne 2 ]] || [[ "$1" =~ (^h(elp)?$) ]]; then | |
echo "Usage: $0 <vhost> <container name>" | |
exit 1 |
Default disable hilights
/set weechat.look.buffer_notify_default highlight
Enable hilights in specific channel
/set weechat.notify.irc.freenode.#go-nuts message
Hide nicklist
$ mkdir ~/ios-proxy && cd $_
$ git clone https://github.com/google/ios-webkit-debug-proxy
$ sudo apt-get install \
autoconf automake \
libusb-dev libusb-1.0-0-dev \
libplist-dev libplist++-dev \
usbmuxd \
libimobiledevice-dev
$ wget http://www.libimobiledevice.org/downloads/libplist-1.11.tar.bz2
#!/bin/bash | |
# Based on https://github.com/dennishafemann/tmux-cssh/blob/master/tmux-cssh | |
tmux_session_name="multissh" | |
tmux new-session -d -s "${tmux_session_name}" "ssh $1" | |
shift | |
hosts="${@}" |