Skip to content

Instantly share code, notes, and snippets.

View dalinaum's full-sized avatar
:octocat:
Learning Rust and IR.

LYK dalinaum

:octocat:
Learning Rust and IR.
View GitHub Profile
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@suapapa
suapapa / dnw.py
Created September 27, 2011 05:33
dnw.py - python port of dnw client, smdk-usbdl
#!/usr/bin/python
# -*- coding: utf-8 -*-
# dnw.py - python port of dnw client, smdk-usbdl
#
# Copyright (C) 2011 Homin Lee <suapapa@insignal.co.kr>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@paulmillr
paulmillr / dart.md
Last active July 15, 2023 13:36
Leaked internal google dart email

---------- Forwarded message ----------

From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
@saillinux
saillinux / gist:787660
Created January 20, 2011 09:47
anyevent more proper port checking with given interval.
#!/usr/bin/env perl
use strict;
use warnings;
use AnyEvent::Socket;
use constant INTERVAL => 1;
use constant COOLTIME => 300;
@iceandguard
iceandguard / gist:765150
Created January 4, 2011 18:15
Hello, Programming Gallery.
#!/usr/bin/env perl
# $Revision$
# $Source$
# $Id$
# $HeadURL$
# $Date$
use utf8;
use Carp;
use 5.010;
@comfuture
comfuture / AlignBall.as
Created December 24, 2010 05:02
as3 coding convention and example
/**
* 객체들끼리 서로 밀어내며 자리를 찾아 지속적으로 동일한 간격을 유지하게 하는 프로그램 예제
* @author 거친마루 <comfuture@_GMAIL_COM_>
*/
package
{
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.events.Event;
@keedi
keedi / rename.pl
Created November 30, 2010 04:52
rename
#!/usr/bin/perl -w
#
# This script was developed by Robin Barker (Robin.Barker@npl.co.uk),
# from Larry Wall's original script eg/rename from the perl source.
#
# This script is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
# Larry(?)'s RCS header:
# RCSfile: rename,v Revision: 4.1 Date: 92/08/07 17:20:30
12/1 aer0
12/2 envi
12/3 keedi
12/4 gypark
12/5 crowdy
12/6 eeyees
12/7 h0ney
12/8 jeen_lee
12/9 luzluna
12/10 aer0, jeen_lee
@sanxiyn
sanxiyn / lisp.c
Created August 14, 2010 04:16
Lisp
#include <assert.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
enum type {
NIL,