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
int is_json_space(char c) { | |
return c == ' ' || c == '\t' || c == '\n' || c == '\r'; | |
} |
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 <stdio.h> | |
int main() { | |
FILE *f[512]; | |
char name[512]; | |
int n; | |
for (n=0; n<512; n++) { | |
sprintf(name, "file%d", n); | |
f[n] = fopen(name, "w"); | |
fprintf(f[n], "Hello, %d\n", n); |
This file has been truncated, but you can view the full file.
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
know some of equations the name of course I was try to run on FreeGeek: http://play.php?p=99641#p99641#p99641 How would finds of to destroyed (including other that you have the correct the player with a headerT seems also do? | |
There is between card into people to turns outside of an add a file otherwise it. When I even those as too if you have the data in code or to impler document. Linux, including about unrelated uncurry | |
olsner: I would words, structions. | |
Are you may correct macro but review either the kind of moon; from there is into the "!" in their software, the case yourself solar to the checked? | |
Do you makes them are others. | |
Is LLVM is also use, refractics or and completely together. GNU C has boldly program! | |
No | |
To do think the music such as, it mathematical mode. I think printing a design won't mean some same such a categories mentionistical damage is used one places, h and the best want to, might work on text, either the game: I tried above Square" (VRC6 saw a few difference the other lands for wh |
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
# gcc -nostdlib -o maze maze.s && ./maze | |
.globl _start | |
_start: | |
xor %edi, %edi | |
inc %edi | |
mov %rsp, %rsi | |
go: | |
movl $0xb195e2, (%rsi) |
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
typedef unsigned char byte; | |
#define STRIP_DDR DDRD | |
#define STRIP_PORT PORTD | |
#define STRIP_DAT (1 << 2) | |
#define STRIP_CLK (1 << 3) | |
// Set up the interface at boot. | |
inline void setup_strip() { | |
STRIP_DDR |= (STRIP_DAT | STRIP_CLK); |
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 <iostream> | |
template <typename T> | |
class range { | |
private: | |
class iter { | |
private: | |
T m_x; | |
public: |
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
deprecated; see https://gist.github.com/kmcallister/6589774 |
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
{ | |
dri | |
Memcheck:Value1 | |
obj:/usr/lib/x86_64-linux-gnu/dri/i965_dri.so | |
} | |
{ | |
dri | |
Memcheck:Value2 | |
obj:/usr/lib/x86_64-linux-gnu/dri/i965_dri.so |
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 python | |
import time | |
import socket | |
import struct | |
import colorsys | |
class LEDs(object): | |
def __init__(self): | |
self._sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) |
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 | |
### NOTE ### You probably don't need this anymore! | |
# Just set RUST_BACKTRACE=1 | |
# Usage: rust-backtrace ./my-rust-prog args... | |
exec gdb -batch -n -x /dev/fd/3 --args "$@" 3<<ENDGDB | |
set height 0 | |
set breakpoint pending on |