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
const cp = require('child_process'); | |
function runCmd(opts, containerId, cmd) { | |
console.log('[DEBUG withDocker] docker exec ' + containerId + ' ' + cmd); | |
cp.execSync('docker exec ' + containerId + ' ' + cmd, { | |
stdio: 'inherit', | |
}); | |
process.stdout.write('\n'); | |
} |
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
# th30z@u1310:[Desktop]$ psql -h localhost -p 55432 | |
# Password: | |
# psql (9.1.10, server 0.0.0) | |
# WARNING: psql version 9.1, server version 0.0. | |
# Some psql features might not work. | |
# Type "help" for help. | |
# | |
# th30z=> select foo; | |
# a | b | |
# ---+--- |
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
; Make Caps -> Esc | |
Capslock::Esc | |
; Make Ctrl+Windows+Alt+Left -> media backward | |
#^!Left::Send {Media_Prev} | |
; Make Ctrl+Windows+Alt+Right -> media forward | |
#^!Right::Send {Media_Next} | |
; Give back a right control |
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
package main | |
import ( | |
"fmt" | |
"go/ast" | |
"go/parser" | |
"go/token" | |
"io/ioutil" | |
"log" | |
"os" |
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
const fs = require('fs'); | |
function parse(program) { | |
const labels = {}; | |
const instructions = []; | |
const lines = program.split('\n'); | |
for (let i = 0; i < lines.length; i++) { | |
let line = lines[i].trim(); // Remove any trailing, leading whitespace |
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
(../../drivers/bus/acpi/main.c:316) Unsupported IOCTL: 294040 | |
(../../dll/ntdll/ldr/ldrutils.c:1311) LDR: LdrpMapDll Relocating Image Name LIBEAY32.dll (10000000-1014F000 -> 00230000) | |
(../../dll/ntdll/ldr/ldrutils.c:1350) Overlapping DLL: C:\Program Files\ROSBE\bin\SSLEAY32.dll | |
(../../dll/ntdll/ldr/ldrutils.c:1311) LDR: LdrpMapDll Relocating Image Name MSVCP120.dll (10000000-10071000 -> 00380000) | |
(../../dll/ntdll/ldr/ldrutils.c:1350) Overlapping DLL: C:\Program Files\ROSBE\bin\SSLEAY32.dll | |
(../../dll/ntdll/ldr/ldrutils.c:1311) LDR: LdrpMapDll Relocating Image Name MSVCR120.dll (10000000-100EE000 -> 00730000) | |
(../../dll/ntdll/ldr/ldrutils.c:1350) Overlapping DLL: C:\Program Files\ROSBE\bin\SSLEAY32.dll | |
(../../dll/ntdll/ldr/ldrutils.c:1311) LDR: LdrpMapDll Relocating Image Name LIBEAY32.dll (10000000-1014F000 -> 00230000) | |
(../../dll/ntdll/ldr/ldrutils.c:1350) Overlapping DLL: C:\Program Files\ROSBE\bin\SSLEAY32.dll | |
(../../dll/ntdll/ldr/ldrutils.c:1311) LDR: LdrpMapDll Relocating Image Name MSVCP120.dll (10000000 |
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
/* Generated by Cython 0.28.2 */ | |
#define PY_SSIZE_T_CLEAN | |
#include "Python.h" | |
#ifndef Py_PYTHON_H | |
#error Python headers needed to compile C extensions, please install development version of Python. | |
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) | |
#error Cython requires Python 2.6+ or Python 3.3+. | |
#else | |
#define CYTHON_ABI "0_28_2" |
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
> val h = fun a b = b; | |
poly: : error: Expression expected but fun was found | |
Static Errors | |
> fun a b = b; | |
val a = fn: 'a -> 'a |
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
(define-syntax my-let* | |
(syntax-rules () | |
((_ ((p v)) b ...) | |
(let ((p v)) b ...)) | |
((_ ((p1 v1) (p2 v2) ...) b ...) | |
(let ((p1 v1)) | |
(my-let* ((p2 v2) ...) | |
b ...))))) |
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
(defsystem :cl-docker | |
:depends-on (:cl-ppcre) | |
:serial t | |
:components ((:file "package") | |
(:file "docker"))) |