Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.
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
#!/bin/bash | |
set -e # Exit on error | |
DEVICE=$1 | |
[ -z "${DEVICE}" ] && echo "Usage $0 /dev/sdX" && exit 1 | |
udevadm info -n ${DEVICE} -q property | |
echo "Selected device is ${DEVICE}" | |
read -p "[Press enter to continue or CTRL+C to stop]" |
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
#!/bin/bash | |
set -e # Exit on error | |
DEVICE=$1 | |
[ -z "${DEVICE}" ] && echo "Usage $0 /dev/sdX" && exit 1 | |
udevadm info -n ${DEVICE} -q property | |
echo "Selected device is ${DEVICE}" | |
read -p "[Press enter to continue or CTRL+C to stop]" |
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
{ | |
"syntaxErrors": {}, | |
"ast": [ | |
{ | |
"Program": [ | |
{ | |
"ifStmt": [ | |
{ | |
"if": [ | |
{ |
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
{ | |
"ast": [ | |
{ | |
"Program": [ | |
{ | |
"stmt": [ | |
{ | |
"assignment": [ | |
{ | |
"dimExpr": [ |
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
Compilation | |
<- Spacing CompilationUnit SUB? EOT; | |
_ <- [\u0000-\uFFFF] ; | |
SUB <- '\u001a' ; | |
EOT <- !_ ; | |
WS <- [ \t\r\n\u000C] ; | |
Spacing | |
<- ( WS+ |
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/php | |
<?php declare(strict_types=1); | |
/** | |
* Simple hashing utility using PHP | |
* | |
* @author A.B. Carroll III <[email protected]> | |
* @license MIT | |
* | |
* @see https://gist.github.com/abcarroll/47bc02fcd7573282f197e3782c6cbbeb |
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
{ | |
"units": [ | |
{ | |
"name": "test", | |
"fn": [ | |
{ | |
"name": "main", | |
"param": [ | |
{ | |
"type": { |
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
#include <stdlib.h> | |
#include <stdio.h> | |
//#include "test.h" | |
/** | |
* The following two struct's are basically an interface. | |
*/ | |
// The VTable which will only ever be a single copy (normally) | |
struct _SomeClass_VTable |
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
; ModuleID = '/home/ab/sail/project/sail-php-driver/ulopcodes.c' | |
source_filename = "/home/ab/sail/project/sail-php-driver/ulopcodes.c" | |
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-pc-linux-gnu" | |
%struct._zend_ulopcodes_globals = type { i8, i8 } | |
%struct._zend_ini_entry_def = type { i8*, i32 (%struct._zend_ini_entry*, %struct._zend_string*, i8*, i8*, i8*, i32)*, i8*, i8*, i8*, i8*, void (%struct._zend_ini_entry*, i32)*, i32, i16, i8 } | |
%struct._zend_ini_entry = type { %struct._zend_string*, i32 (%struct._zend_ini_entry*, %struct._zend_string*, i8*, i8*, i8*, i32)*, i8*, i8*, i8*, %struct._zend_string*, %struct._zend_string*, void (%struct._zend_ini_entry*, i32)*, i32, i8, i8, i8 } | |
%struct._zend_string = type { %struct._zend_refcounted_h, i64, i64, [1 x i8] } | |
%struct._zend_refcounted_h = type { i32, %union.anon } |
NewerOlder