Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.
This file contains hidden or 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 python | |
# -*- coding: utf-8 -*- | |
import urllib2 | |
gh_url = 'https://api.github.com' | |
req = urllib2.Request(gh_url) | |
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm() |
This file contains hidden or 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
<meta itemprop="name" content="[ TITLE ]" /> | |
<meta itemprop="image" content="[ LISTING IMAGE ]" /> | |
<meta itemprop="description" content="[ ARTICLE DESCRIPTION ]" /> | |
<meta name="description" content="[ ARTICLE DESCRIPTION ]" /> | |
<meta name="author" content="[ AUTHOR FULL NAME ]" /> | |
<meta property="article:author" content="[ GOOGLE+ AUTHOR URL ]" /> | |
<meta property="article:published_time" content="[ PUBLISHED TIMESTAMP ]" /> | |
<meta property="article:section" content="[ CATEGORY ]" /> |
This file contains hidden or 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
# PROBLEM: | |
# | |
# bash-3.2$ git remote add origin [email protected]:AtlasOfLivingAustralia/ecodata.git | |
# bash-3.2$ git push origin --all | |
# Counting objects: 6216, done. | |
# Delta compression using up to 4 threads. | |
# Compressing objects: 100% (3094/3094), done. | |
# Writing objects: 100% (6216/6216), 5.01 MiB | 1.24 MiB/s, done. | |
# Total 6216 (delta 3011), reused 2195 (delta 907) | |
# remote: error: GH001: Large files detected. |
This file contains hidden or 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 bash | |
set -e | |
tmpdir=$(mktemp -t -d advcp.XXXXXX) | |
cd ${tmpdir} | |
wget https://aur.archlinux.org/packages/ad/advcp/advcp.tar.gz | |
tar xf advcp.tar.gz | |
source advcp/PKGBUILD |
This file contains hidden or 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
javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='http://web.archive.org/web/*/'+input}}else{location.href='http://web.archive.org/web/*/'+location.href;}})(); |
These are instructions for booting from an Ubuntu liveCD and installing NixOS on a machine. I needed to do this because the NixOS liveCD doesn't work on my machine (NixOS/nixpkgs#5829), so I'm just using the Ubuntu installation media as something to boot into.
Much of this is from discussion at NixOS/nixpkgs#14680.
Get the Ubuntu ISO: http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso
Write it to a USB drive with unetbootin
This file contains hidden or 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
version: '3.1' | |
services: | |
gerrit: | |
image: gerritcodereview/gerrit | |
environment: | |
- CANONICAL_WEB_URL=http://localhost:8100/ | |
volumes: | |
- ./gerrit/:/var/gerrit/etc/ | |
ports: |
This file contains hidden or 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
NtAcceptConnectPort 0 | |
NtAccessCheck 1 | |
NtAccessCheckAndAuditAlarm 2 | |
NtAccessCheckByType 3 (STATUS_NOT_IMPLEMENTED) | |
NtAccessCheckByTypeAndAuditAlarm 4 | |
NtAccessCheckByTypeResultList 5 (STATUS_NOT_IMPLEMENTED) | |
NtAccessCheckByTypeResultListAndAuditAlarm 6 | |
NtAccessCheckByTypeResultListAndAuditAlarmByHandle 7 | |
NtAddAtom 8 | |
NtAddBootEntry 9 (STATUS_NOT_IMPLEMENTED) |
This file contains hidden or 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 bash | |
# | |
# NixOS install script synthesized from: | |
# | |
# - Erase Your Darlings (https://grahamc.com/blog/erase-your-darlings) | |
# - ZFS Datasets for NixOS (https://grahamc.com/blog/nixos-on-zfs) | |
# - NixOS Manual (https://nixos.org/nixos/manual/) | |
# | |
# It expects the name of the block device (e.g. 'sda') to partition |
OlderNewer