Gist for https://youtu.be/admAfAYoVRo
#include <assert.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#define N (100000063/64) | |
struct bitset { | |
uint64_t bits[N]; |
Gist for https://youtu.be/admAfAYoVRo
#!/usr/bin/env bash | |
# Download metadata, modify these as your needs. | |
## The directory to save the downloaded files. | |
download_directory="/volume1/Download/EPUB" | |
## The website you want to visit. | |
calibre_site="http://soulseeker.myds.me:25788" | |
## The formats you want to download. We only download the first present format. | |
## All the formats should be upper case. | |
allow_formats=( EPUB MOBI AZW3 ) |
pacman -S --needed git base-devel | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
yay -S flutter | |
java -version | |
sudo pacman -S jre8-openjdk |
package main | |
// Windows pty example | |
// https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/ | |
import ( | |
"io" | |
"os" | |
"fmt" | |
"log" |
#!/usr/bin/python3 | |
import asyncio | |
import time | |
import socket | |
import argparse | |
import aiohttp | |
class MyConnector(aiohttp.TCPConnector): |
package main | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/x509" | |
"crypto/x509/pkix" | |
"encoding/pem" | |
"fmt" | |
"math/big" |
// ==UserScript== | |
// @name perlmonks.org Readability Enhancements | |
// @description Readability Enhancements for perlmonks.org | |
// @author rjf89 | |
// @include http://perlmonks.org/* | |
// @include https://perlmonks.org/* | |
// @include http://*.perlmonks.org/* | |
// @include https://*.perlmonks.org/* | |
// @include http://www.perlmonks.org/* | |
// @include https://www.perlmonks.org/* |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# This script to install Kubernetes will get executed after we have provisioned the box | |
$script = <<-SCRIPT | |
# Install kubernetes | |
apt-get update && apt-get install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list |
DevOps started out as "Agile Systems Administration". In 2008, at the Agile Conference in Toronto, Andrew Shafer posted an offer to moderate an ad hoc "Birds of a Feather" meeting to discuss the topic of "Agile Infrastructure". Only one person showed up to discuss the topic: Patrick Debois. Their discussions and sharing of ideas with others advanced the concept of "agile systems administration". Debois and Shafer formed an Agile Systems Administrator group on Google, with limited success. Patrick Debois did a presentation called "Infrastructure and Operations" addressing