Skip to content

Instantly share code, notes, and snippets.

View sasairc's full-sized avatar

sasairc sasairc

View GitHub Profile
@sasairc
sasairc / uescape.c
Created August 18, 2015 14:39
gcc uescape.c `pkg-config --cflags --libs glib-2.0` -o uescape
/*
* うに
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include <glib.h>
@sasairc
sasairc / env.c
Created August 17, 2015 03:11
環境変数を分解するやつ
/*
*
*
* env.c
*
* Copyright (c) 2015 sasairc
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar.HocevarHocevar See the COPYING file or http://www.wtfpl.net/
* for more details.
# gcc endless.s -o endless -nostdlib
.text
_start:
.globl _start
mov $23, %edx
mov $message, %ecx
mov $1, %ebx
mov $4, %eax
int $0x80
@sasairc
sasairc / Makefile
Created July 20, 2015 15:46
寝言は寝て言え
love:
@echo "fuck"
@sasairc
sasairc / test.c
Last active August 29, 2015 14:24
なにか表示するやつ
/*
* なにか表示するやつ
*
* License: WTFPL2
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
/*
* bsodnt4.c
*
* gcc bsodnt4.c -lncurses -o bsodnt4
*/
#include <unistd.h>
#include <ncurses.h>
int init_ntkrnl(WINDOW* win, int y);
@sasairc
sasairc / bsod.c
Created June 26, 2015 20:18
gcc bsod.c -lcurses
/*
* bsod.c
*/
#include <ncurses.h>
int main(void)
{
WINDOW* win;
int i = 0;
diff -c origin/Makefile fix/Makefile
*** Makefile 2011-09-27 14:59:03.000000000 +0900
--- Makefile 2015-06-18 02:30:14.653514239 +0900
***************
*** 1,6 ****
! # From: @(#)Makefile 8.1 (Berkeley) 6/6/93
! # $FreeBSD: head/usr.bin/what/Makefile 87677 2001-12-11 22:25:43Z markm $
! PROG= what
んーイイの時に、それは非常によくイクです。ある。
それはかなり容易でした。
ko↑ko↓
飛んで下さい... 恐ろしいです: 大きいです
私は入ります、そして、彼/それがあなたを喜ばせるならば、
あなたの行く手で...。
そして、そこにあります、そして、神経質になる、そして、神経質になる
え本が失って寝ることに言及します〜
真実の疲労(よりよい) た-
- 今日に練習kitsuを買うことをえさをやるようにしましょう -
あなたの針とは何ですか?!(おびえ)
Oronain、取引!
あなたのこと待ってるよ...住んでいたコーラのHayarase! (投票)
〆サバ〜イ!
んが、これらの人たち?! (ファンク)
道路への道!(名作)
あなたと〜ミロ!TCH!ああ、最後の゛ (ツタンカーメンツタンカーメン-) ! (ヴァージン)
でも、別の学校に行くために!(ミスターオヤシロ)
(激怒) ...津はお邪魔
(製菓下北沢) ...素晴らしいクッキー