#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>
intEver 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 |
| import XMonad | |
| import XMonad.Config.Xfce | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.EwmhDesktops | |
| import XMonad.Hooks.SetWMName | |
| import qualified Data.Map as M | |
| import qualified XMonad.StackSet as W |
| (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(");} |