#Hello
This is a Markdown file, and should be read as such! We can
use bold and monospace
and more things I can't remember,
and we can
#include <stdio.h>
int
#Hello
This is a Markdown file, and should be read as such! We can
use bold and monospace
and more things I can't remember,
and we can
#include <stdio.h>
int
Ever had those annoying SEGMENTATION FAULT errors? Ever screamed in frustration because you weren't able to find their cause? Don't worry, GDB to the rescue!
#A faulty program
We have this C program: (prog1.c
)
#include <stdio.h>
int
#include "../irc.h" | |
#include "../module.h" | |
#include "../config.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
static char *mod_invokers[1] = {NULL}; /* are you sure you don't want it to be called when "anime" is said? */ | |
static void anime(char **args, enum irc_type type); |
#!/bin/sh | |
BROWSER=firefox | |
XCLIP=xclip | |
BROWSER=`which $BROWSER` | |
XCLIP=`which $XCLIP` | |
TMP_IMG=/tmp/nyazo.png | |
TMP_FILE=/tmp/nyazo | |
BOUNDARY="----BOUNDARYBOUNDARY----" |
export LC_ALL='en_US.UTF-8' | |
export LANG='en_US.UTF-8' | |
xrdb ~/.Xdefaults | |
xmodmap ~/.xmodmap | |
synclient TapButton2=3 TapButton3=2 HorizTwoFingerScroll=1 \ | |
VertTwoFingerScroll=1 VertScrollDelta=-104 HorizScrollDelta=-104 PalmDetect=1 \ | |
PalmMinWidth=5 MaxTapTime=0 MaxTapMove=0 | |
echo 300 > /sys/class/backlight/intel_backlight/brightness | |
while : ; do | |
cat /sys/class/power_supply/BAT0/charge_now |
(setv test | |
(let [[a 5] | |
[b 7]] | |
(print a b))) | |
(print (type test)) |
#!/usr/bin/env python2 | |
import tensorflow as tf | |
import numpy as np | |
import time | |
# Hyperparameters | |
learning_rate = 1e-1 | |
n_hidden = 100 | |
seq_length = 25 | |
n_show = 2500 // seq_length |
#include<stdio.h> | |
void f(char*b){while(*b){if(*b=='"'||*b=='\\')putchar('\\');if(*b=='\n') printf("\\n"),b++; else putchar(*b++);}} | |
void g(char *c){printf("%s", c); putchar('"'); f(c); printf("\");}\n");} | |
int main(){g("#include<stdio.h>\nvoid f(char*b){while(*b){if(*b=='\"'||*b=='\\\\')putchar('\\\\');if(*b=='\\n') printf(\"\\\\n\"),b++; else putchar(*b++);}}\nvoid g(char *c){printf(\"%s\", c); putchar('\"'); f(c); printf(\"\\\");}\\n\");}\nint main(){g(");} |
<mujoco model="inverted pendulum"> | |
<compiler inertiafromgeom="true"/> | |
<default> | |
<joint pos="0 0 0" armature="0" damping="0" frictionloss="0" limited="true"/> | |
<geom pos="0 0 0" contype="0" conaffinity="0" friction="0 0 0" | |
rgba="0.7 0.7 0 1"/> | |
<tendon/> | |
<motor ctrlrange="-1 1" ctrllimited="true"/> | |
</default> | |
<option gravity="0 0 -9.81" integrator="RK4" timestep="0.02"/> |