- sudo apt install scdaemon
- sudo wget -O /etc/udev/rules.d/41-nitrokey.rules https://www.nitrokey.com/sites/default/files/41-nitrokey.rules
- sudo systemctl restart udev
- gpg --card-status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/message_* | |
/.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):001:0> wat = Hash.new {|h, k| h[k] = "Wat #{k}?"} | |
=> {} | |
irb(main):002:0> wat.keys | |
=> [] | |
irb(main):003:0> wat.class | |
=> Hash | |
irb(main):004:0> puts 'wat?' if wat['foo'] | |
wat? | |
=> nil | |
irb(main):005:0> wat.keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"code.google.com/p/go.crypto/bcrypt" | |
"encoding/csv" | |
"fmt" | |
"io" | |
"log" | |
"os" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Colors standard syslog output and groups by service name | |
require 'time' | |
services = [] | |
STDIN.each_line do |line| | |
match = line.strip.match(/\A(?<timestamp>[\w]{3} \d+ \d\d:\d\d:\d\d) (?<hostname>[\w\d\-]+) (?<service>.+?): (?<message>.+)\z/) | |
if match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.new(2, ("fd" + SecureRandom.hex(5)).gsub(/([a-f0-9]{4})/, '\1:')).join(':/64 - ') + 'ffff::/64' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/nfnt/resize" | |
"image" | |
"image/color" | |
_ "image/gif" | |
_ "image/jpeg" | |
_ "image/png" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'date' | |
class PubQuizDate | |
class << self | |
def parse(str) | |
days = %w{zon maan dins woens donder vrij zater} | |
format, pattern = { | |
next_week: /\Avolgende week (\w+)dag\Z/, | |
after_that: /\Ade (\w+)dag daarna\Z/ |
De tekst, zoals gepubliceerd, is voorzien van commentaar door auteur. Het commentaar betreft een mening.
Wijziging van het Wetboek van Strafrecht en het Wetboek van Strafvordering in verband met de verbetering en versterking van de opsporing en vervolging van computercriminaliteit (computercriminaliteit III)
apt-get install cgpt vboot-utils vboot-kernel-utils gdisk multistrap
NewerOlder