I hereby claim:
- I am cfsworks on github.
- I am cfsworks (https://keybase.io/cfsworks) on keybase.
- I have a public key whose fingerprint is 7BB3 FB1F 58E5 E571 C63C 1C64 FABD AAA9 FC54 61A3
To claim this, I am signing this object:
Section "Device" | |
Identifier "titan" | |
Driver "nvidia" | |
Option "NoLogo" "true" | |
Option "IgnoreEdidChecksum" "DFP-0, DFP-3" | |
Option "ModeValidation" "AllowNonEdidModes, NoHorizSyncCheck, NoVertRefreshCheck, NoMaxPClkCheck, NoEdidMaxPClkCheck, NoVesaModes, NoXServerModes, NoEdidModes" | |
Option "MetaModes" "DFP-0: 2560x1440_120, DFP-3: 2560x1440_120" | |
EndSection | |
Section "Screen" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
# This script retrieves the information for your current Vultr node and prints Facter facts. | |
import urllib | |
import sys | |
import json | |
API_KEY = sys.argv[1] # This will crash unless you provide the API key. | |
def fetch(url): | |
return urllib.urlopen(url).read() |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
# These are the packages I tend to bring with me onto every Debian system I administer, | |
# and are therefore the packages I tend to install first thing in a fresh Debian system. | |
# Obviously, not all of them are necessary for a specific environment, so this list | |
# serves more as a baseline to pick from than a list of requirements. | |
# List is sorted in ascending order of "risk" to the system vs. likely usefulness | |
# (i.e. how likely it is to be abused by an attacker and whether it's more likely to | |
# help a sysadmin than create a security nightmare) | |
bzip2 |
#!/usr/bin/env pypy | |
import numpy as np | |
if __name__ == '__main__': | |
while True: | |
array = np.zeros([3], dtype=int) | |
np.argwhere(array.sum() == 0) |
[ 0.000000] Booting Linux on physical CPU 0x0 | |
[ 0.000000] Linux version 4.9.41-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1023 SMP Tue Aug 8 16:00:15 BST 2017 | |
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d | |
[ 0.000000] CPU: div instructions available: patching division code | |
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
[ 0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2 | |
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000 | |
[ 0.000000] Memory policy: Data cache writealloc | |
[ 0.000000] On node 0 totalpages: 242688 | |
[ 0.000000] free_area_init_node: node 0, pgdat 80c6eec0, node_mem_map ba3a1000 |
# Indentation | |
UseTab: Never | |
IndentWidth: 2 | |
ContinuationIndentWidth: 2 | |
ConstructorInitializerIndentWidth: 2 | |
# Spaces | |
SpaceAfterTemplateKeyword: false | |
#SpaceBeforeInheritanceColon: true | |
SpaceBeforeParens: ControlStatements |
// g++ -o cg cg.cxx -I /opt/nvidia-cg-toolkit/include/ /opt/nvidia-cg-toolkit/lib64/libCg.so | |
#include <Cg/cg.h> | |
#include <iostream> | |
#include <fstream> | |
int main() | |
{ | |
const char *args = nullptr; | |
std::ifstream file("shader.txt"); |
libbug.so: a.o b.o | |
clang++ -O1 -flto -shared -o $@ $^ | |
%.o: %.cpp common.h | |
clang++ -O1 -flto -o $@ -c $< | |
clean: | |
rm libbug.so a.o b.o | |
.PHONY: clean |