First, generate the layout in a format understood by GRUB2:
cd /boot/grub2/
mkdir layouts
cd layouts
xkb=/lib/kbd/keymaps/xkb; for layout in $(ls $xkb/); do zcat $xkb/$layout | grub2-mklayout -o ${layout/.map.gz/}.gkb; done 2>/dev/null
ls layouts
meta: | |
id: bde_metadata_block_header_v1 | |
endian: le | |
doc-ref: https://github.com/libyal/libbde/blob/master/libbde/bde_metadata.h | |
types: | |
bde_metadata_block_header_v1: | |
seq: | |
- id: signature |
meta: | |
id: kdbx | |
file-extension: kdbx | |
endian: le | |
license: ISC # https://spdx.org/licenses/ISC.html | |
doc: | | |
composite_key = sha256(sha256(password) + composites) | |
aes = new AES(128, CBC, iv=0x0 *16, key TRANSFORMSEED | |
transformed_key=sha256(for i in TRANSFORMROUNDS: aes.encrypt(transformed_key))) |
#!python3 | |
""" | |
Bacause idn / idn2 utils aren't able to extract domain (neither python is) on long URLs like : | |
echo "http://ac.cd.éf.fr/hey/This%20is%20a%20really%20long%20path%20youve%20got%20here.txt" | idn2 | |
idn2: lookup: domain label longer than 63 characters | |
So find the domain / most part of the url, convert, replace | |
""" | |
import fileinput, re |
** MARVELL BOARD: DB-88F6702A-BP LE | |
U-Boot 1.1.4 (Mar 12 2012 - 16:23:48) Marvell version: 3.6.0.DNS-320L.01 | |
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00 | |
Soc: 88F6702 A1 CPU running @ 1000Mhz L2 running @ 500Mhz | |
SysClock = 400Mhz , TClock = 166Mhz | |
DRAM (DDR2) CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 |
#!/usr/bin/env python | |
import webapp2 | |
import urllib | |
import urllib2 | |
from google.appengine.api import memcache | |
import json | |
import logging | |
PRIVACY_HTML = ('<!DOCTYPE html><html><head><title>acd_cli_oa privacy info</title></head>' |
First, generate the layout in a format understood by GRUB2:
cd /boot/grub2/
mkdir layouts
cd layouts
xkb=/lib/kbd/keymaps/xkb; for layout in $(ls $xkb/); do zcat $xkb/$layout | grub2-mklayout -o ${layout/.map.gz/}.gkb; done 2>/dev/null
ls layouts
meta: | |
id: hid_u2f | |
seq: | |
- id: cid | |
size: 4 | |
- id: hid_cmd | |
type: u1 | |
enum: hid_cmds | |
- id: hid_apdu_size | |
type: u2be |
{ | |
man: "https://www.yubico.com/wp-content/uploads/2015/03/YubiKeyManual_v3.4.pdf", | |
??: "https://www.yubico.com/why-yubico/how-yubikey-works/", | |
downloads: "https://www.yubico.com/support/knowledge-base/categories/downloads/", | |
tools: "https://developers.yubico.com/Software_Projects/YubiKey_Device_Configuration/", | |
// Modes can be enabled or disabled using the Yubikey NEO Manager | |
modes: { | |
/* | |
* https://forum.yubico.com/viewtopic.php?f=35&t=2053 : | |
* - If you have U2F enabled, you should see Human Interface Devices > HID-compliant device. |
#!/usr/bin/env python3 | |
''' BSD 3-Clause License — but if it was useful to you, you may tell me :) | |
Copyright (c) 2016, Alexandre Levavasseur | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. |
#! /usr/bin/env python | |
# Copyright (C) 2012 The Android Open Source Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |