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
libs = -lc | |
rule compile | |
command = gcc -Wall -Werror -Wpedantic -S -o $out $in | |
rule assemble | |
command = gcc -c -o $out $in | |
rule link | |
command = gcc $libs -o $out $in |
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/env python3 | |
import collections | |
import functools | |
import itertools | |
import math | |
import primefac | |
import sys | |
tf_try_calls = [] |
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
// ==UserScript== | |
// @name 'Move to Inbox' in Basic HTML View in Gmail | |
// @namespace https://quint.guvernator.net | |
// @version 0.1 | |
// @description add an option to move emails to the inbox in the basic HTML view of Gmail | |
// @author qguv | |
// @match https://mail.google.com/mail/u/*/h/*/?*&s=* | |
// @exclude https://mail.google.com/mail/u/*/h/*/?*&s=i* | |
// @grant none | |
// ==/UserScript== |
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
## ingredients | |
- a sweet potato | |
- some quinoa | |
- field greens (or mix) | |
- cherry tomatoes | |
- vegan battered chicken slices | |
- unsweetened vegan yoghurt | |
- cucumber (garnish, optional) | |
- pine nuts (optional but really healthy here) |
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/sh | |
set -e | |
exe="$1" | |
zip="$2" | |
re="/tmp/re/ResourcesExtract.exe" | |
function usage() { | |
printf 'Usage: %s EXE ZIP\n' "$0" | |
printf '%s\n' "Removes in-game background music from Roguelight.exe, producing a .zip containing a new .exe and its dependencies." |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
create_container="${create_container:-true}" | |
lxd_bridge="${lxd_bridge:-lxdbr0}" | |
container_image="${container_image:-images:debian/8/amd64}" | |
container_name="${container_name:-onpremise-proxy-test}" | |
tinyproxy_conf="${tinyproxy_conf:-/etc/tinyproxy/tinyproxy.conf}" | |
sudo_conf="${sudo_conf:-/etc/sudoers.d/client}" | |
apt_conf="${apt_conf:-/etc/apt/apt.conf.d/proxy.conf}" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.nextcloud.screenshots.location</string> | |
<key>ProgramArguments</key> | |
<array> |
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
// extended from example at: | |
// https://willmurphyscode.net/2018/04/25/fixing-a-simple-lifetime-error-in-rust/ | |
pub struct SomeCollection<'a> { | |
strings: Vec<&'a str>, | |
} | |
impl<'a> SomeCollection<'a> { | |
pub fn new() -> Self { | |
SomeCollection { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.