AddOn:
- Go to about:support in your address bar
- Look for your profiles directory and open it:
- Create a file named
chrome/userChrome.cssin your profile directory:
| import gdb | |
| import re | |
| from collections import namedtuple | |
| DETAILS = { | |
| # API 24 playstore | |
| # API 25 playstore | |
| '3.10.0+': (0xC0887D20, 0xC092138C, 316, 0xC0A7754C, 4), | |
| # API 26 playstore |
| - name: get SSHFP records | |
| shell: "ssh-keygen -r {{ ansible_nodename }} | awk '{print $4, $5, $6}'" | |
| register: sshfp_entries | |
| - name: Register SSHFP with CloudFlare | |
| cloudflare_dns: | |
| zone: "hackerheaven.org" | |
| record: "{{ ansible_hostname }}" | |
| type: SSHFP | |
| account_email: "{{ cloudflare_email }}" |
AddOn:
chrome/userChrome.css in your profile directory:| Moved to https://github.com/olivierlemoal/i3-swap-focus |
| #!/usr/bin/env python | |
| # vim: tabstop=4:softtabstop=4:shiftwidth=4:expandtab: | |
| import os | |
| import requests | |
| import sys | |
| docs = { | |
| '68000': { | |
| 'M68000PRM.pdf': 'https://www.nxp.com/files-static/archives/doc/ref_manual/M68000PRM.pdf', |
| # OBJECTIVE: Install Arch Linux with encrypted root and swap filesystems with an ENCRYPTED BOOT and boot from UEFI. We will | |
| also decrypt and mount our entire encrypted system using a single LUKS passphrase entry. | |
| # Note: This method supports both dedicated Arch installs and those who wish to install Arch on a multi-OS-UEFI booting system. | |
| # External USB HDD/SSD Installers Notes: Encrypted Arch installs can be booted and run from an external USB HDD or SSD, but | |
| # only when the installation is correctly set up. There are several necessary changes to my standard procedure you'll want | |
| # to make during the install process. Read my External USB HDD/SSD Installation section below before proceeding. |
| #include <idc.idc> | |
| static FuncDump(f, start) | |
| { | |
| auto ea, str, count, ref; | |
| auto end; | |
| auto teststr; | |
| ea = start; |
| # génération auto par gdal du fichier XML de description du service WMTS | |
| gdal_translate "WMTS:https://wxs.ign.fr/an7nvfzojv5wa96dsga5nk8w/geoportail/wmts?Service=WMTS&Request=GetCapabilities&Version=1.0.0,layer=TRANSPORTS.DRONES.RESTRICTIONS" drones.xml -of WMTS | |
| # téléchargement des tuiles et sortie en geotiff | |
| gdal_translate drones.xml drones.tif -co COMPRESS=DEFLATE -co TILED=YES |
In February 2017, Google announced the availability GPU-based VMs. I spun up a few of these instances, and ran some benchmarks. Along the way, I wrote down the steps taken to provision these VM instances, and install relevant drivers.
Update April 2019: Updated instructions to use instances with the Tesla T4 GPUs.
| #!/bin/bash | |
| # http://serverfault.com/questions/410321/debian-ip6tables-rules-setup-for-ipv6/410327#410327 | |
| # http://ipset.netfilter.org/iptables.man.html | |
| # https://www.sixxs.net/wiki/IPv6_Firewalling | |
| # https://www.cyberciti.biz/faq/ip6tables-ipv6-firewall-for-linux/ | |
| # https://gist.github.com/thomasfr/9712418 | |
| # https://gist.github.com/SnakeDrak/f4150f6e517e5a1d525f | |
| # http://www.thegeekstuff.com/2011/06/iptables-rules-examples | |
| # http://www.thegeekstuff.com/scripts/iptables-rules |