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
module bench; | |
import std; | |
import std.datetime.stopwatch : benchmark; | |
int test(alias skip)(ubyte[] trash) | |
{ | |
int lenSum; | |
while (!trash.empty) | |
{ |
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 -euo pipefail | |
# | |
# gcsnoop - trace D garbage collection runs via tgkill() syscalls. | |
# Written using Linux ftrace. | |
# Adapted from killsnoop. | |
# | |
# This traces tgkill() syscalls, used by the D runtime to suspend and resume threads | |
# for garbage collector runs. |
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
module hello; | |
macro import cx.macros.assert; | |
macro import cx.macros.cimport; | |
import c_header("ctype.h"); | |
import c_header("netdb.h"); | |
import c_header("stdio.h"); | |
import c_header("string.h"); | |
import c_header("sys/errno.h"); |
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
module hello; | |
macro import cx.macros.cimport; | |
import c_header("ctype.h"); | |
import c_header("stdio.h"); | |
import c_header("string.h"); | |
import c_header("sys/ioctl.h"); | |
import c_header("termios.h"); | |
import c_header("time.h"); |
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
module fflame; | |
macro import cx.macros.listcomprehension; | |
import helpers; | |
import sdl; | |
extern(C) float logf(float); | |
extern(C) float fabsf(float); | |
extern(C) float expf(float); |
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
module fflame; | |
import helpers; | |
import sdl; | |
extern(C) float logf(float); | |
extern(C) float fabsf(float); | |
extern(C) float expf(float); | |
extern(C) float sinf(float); | |
extern(C) float cosf(float); |
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
module fflame; | |
import helpers; | |
import sdl; | |
extern(C) float logf(float); | |
extern(C) float fabsf(float); | |
extern(C) float expf(float); | |
extern(C) float sinf(float); | |
extern(C) float cosf(float); |
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
module fflame; | |
import sdl; | |
extern(C) float logf(float); | |
extern(C) float fabsf(float); | |
extern(C) float expf(float); | |
extern(C) float sinf(float); | |
extern(C) float cosf(float); | |
extern(C) float tanf(float); |
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
From 4f2c0ddcb3f402a4ec7dcb57dfec78c2719e4004 Mon Sep 17 00:00:00 2001 | |
From: FeepingCreature <[email protected]> | |
Date: Fri, 4 Sep 2020 14:33:17 +0000 | |
Subject: [PATCH] Mines: add mass-flag shortcut. | |
Right-click on a tiles where the count of covered adjacent tiles | |
matches the number of the tile - so that they are obviously all | |
bombs - and all covered adjacent tiles are flagged. | |
This provides symmetry with the left-click mass-reveal option. |
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
$ sudo ip route |grep ppp0 | |
10.1.10.0/24 dev ppp0 scope link | |
10.1.11.0/24 dev ppp0 scope link | |
10.1.12.0/24 dev ppp0 scope link | |
10.1.13.0/24 dev ppp0 scope link | |
10.1.14.0/24 dev ppp0 scope link | |
10.1.21.0/24 dev ppp0 scope link | |
10.1.25.0/24 dev ppp0 scope link | |
10.1.26.0/24 dev ppp0 scope link | |
10.133.32.128/25 dev ppp0 scope link |