Skip to content

Instantly share code, notes, and snippets.

@perillamint
perillamint / forkbomb.c
Created April 3, 2015 08:12
forklimit count
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
int main (int argc, char **argv) {
int i;
int res;
printf("Forkbomb!\n");
#include <stdio.h>
#include <stdlib.h>
int foo (int a, int b) {
char c[10];
char d[1];
scanf("%s", d);
printf("%s\n", c);
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
RT @bandoche: @perillamint ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 인기인이시다 사인해주세요
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVL0zjAAoJEAbGdqDuSMWFSRwQAIjq4qwAF3pMBfh1hmaaffmg
3ZEMnm21e/oH+S/242IMMCdjVU+NGruyk6kDiMa+7bdp1Xog3Gqkbi+wUMVBt/he
EqVx8WvVLrvZbejhjly/vF5rgHu2TZ0n9PPlriAHSaDKvE/xaGyFXLt+xosCflYs
%!TEX TS-program = xelatex
\documentclass {article}
\usepackage{xetexko}
\usepackage[a4paper]{geometry}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{fontspec}
@perillamint
perillamint / GrimPatron.c
Last active August 29, 2015 14:21
손놈
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>
#define GPATRON_QUOTE "Everyone, get in here!\n"
int hp = 3;
void gotHit (int signum) {
@perillamint
perillamint / iOS crash string dump
Created May 28, 2015 15:38
iOS crash string dump
Character at 1: U+50
Character at 2: U+6F
Character at 3: U+77
Character at 4: U+65
Character at 5: U+72
Character at 6: U+A
Character at 7: U+A
Character at 8: U+644
Character at 9: U+64F
Character at 10: U+644
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
깻잎숙은 패킷 로깅을 하지 않음을 선언합니다.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVcGqnAAoJEAbGdqDuSMWFLxYP/1rks2Bt+GH/Xvuqbw59ho8+
dZ5vTUHZWI1loeHJg4KOSI9rvdjBeIzyDijelpXr8hF0yYKMXP/hA7vC9DIfQajC
KCPZYjgWJQQ1imqIc0Tp9VR0KQDjgYKcRaNDM8eMHgdS0ByOjbrqIaxEKdYk98ml
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "bst.h"
static bool insert (bst_tree *this, void *dataptr);
static bool delete (bst_tree *this, void *dltkey, bool freedata);
static void* retrieve (bst_tree *this, void *key);
static void traverse (bst_tree *this, void process(void *data));
// NOTE: This example uses tengwar glyph in Unicode SMP.
// To properly render all glyph, you need font which support
// U+16080-160FF range.
//
// Here is modified FreeMonoTengwar font for that purpose.
// http://galadriel.gentoo.moe/tengwar-SMP/
class smptest
{
public static void main(String args[])
@perillamint
perillamint / gist:f44df523317c4f94ad76
Last active August 29, 2015 14:23
Firmware mirror
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
현재 download.inf 에 기록된 팬택의 모든 펌웨어와, opensource.pantech.com 의 소스 코드들을 미러링하고 있습니다.
펌웨어 파일들의 크기는 대략 46GiB 정도이고, 소스 코드 zip 파일들의 크기는 대략 20GiB 정도입니다.
현제 제 서버에 있는 팬텍 펌웨어 저장소는 rsync 프로토콜을 통한 접속과, http 프로토콜을 통한 접속이 가능한 상태입니다.
하지만, 저장소가 올라가 있는 기기가 제 개인 이용을 전제하고 만들어진 NAS 박스이다 보니, 이걸 모두에게 공개하기에는 무리가 따르는 실정입니다.