Skip to content

Instantly share code, notes, and snippets.

View alucky0707's full-sized avatar

Hoshinoma Araki alucky0707

View GitHub Profile
@alucky0707
alucky0707 / seccamp2014.md
Last active August 29, 2015 14:05
seccamp2014

セキュリティ・キャンプ全国大会2014の感想

$ git clone https://gist.github.com/b35c5a5aa6f54b7faebb.git seccamp2014 && cd seccamp2014
$ unzip seccamp2014.zip
@alucky0707
alucky0707 / file1.txt
Created June 23, 2014 14:26
フィボナッチこころぴょんぴょんmagic! ref: http://qiita.com/alucky0707/items/cb5362a0c9fb4f6dfbbd
$ go run kokoropyonpyon.go
こころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょんこころぴょんぴょんぴょんぴょんこころぴょんぴょん
@alucky0707
alucky0707 / prolog.coffee
Created March 2, 2014 03:46
CoffeeScriptでProlog的なことをやってみた ref: http://qiita.com/alucky0707/items/a8e08a3240be6de91104
isSymbol = (t)-> t is t.toUpperCase?()
class Pred
constructor: (@name) ->
@defs = []
is: (args...) ->
new Goal(@, args)
pred = (x) -> new Pred(x)
@alucky0707
alucky0707 / Quine.bf
Created February 16, 2014 16:42
Quine for Brainf*ck
>>>>>++++[<+>++++++]<+>>++++[<+>++++++]<+++>>++++[<+>++++]<--->>++++[<+>++++]<->>+++[<++>+++++++++++]<>>+[<+>+++]<++++++>>+[<+>+++]<++++++++[<]>>>>.[>]>>[>>]++++[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>>>.[>]>>[>>]++++++[<<]<[<]>>>.[>]>>[>>]+++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>>>>.[>]>>[>>]+++++++[<<]<[<]>>>.[>]>>[>>]+++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>>>.[>]>>[>>]++++++[<<]<[<]>>>.[>]>>[>>]+++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>.[>]>>[>>]++++[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>.[>]>>[>>]+[<<]<[<]>>>>>>>.[>]>>[>>]++++++
@alucky0707
alucky0707 / README.md
Last active August 29, 2015 13:56
The Duodecuple Quine. Please execute run.bat on Windows.

#The Duodecuple Quine

#Interpriter and Compiler version

  • node.js v10.25
  • python 3.3.3
  • ruby 2.0.0p195
  • tcc 0.9.26
  • g++ 4.7.2
  • java 1.7.0_21
@alucky0707
alucky0707 / helloworld.js
Created February 14, 2014 10:15
Hello, World with lovelive-logo
require('lovelive-logo');
a$j*j +$_$*j
;' ;' ;' ;' ,
__________________. __________________. __________________. _______. __________________, _1/
($KOSAKAHONOKAXJHDM/ ($KOIZUMIHANAYOXAZ$/ ($SAXVSONODAUMIOHIU/ (p$TOJOPX) ($HOSHIZORARINNZAC$/ Y8/
__________________. $%8/ ___________________ / " "*M/ WA/
($AYASEELIHADXBIDA$/ '$/ ($NISHIKINOMAKIMINA/ ._______,D;' .$/ ZA/
'@/ @/ `@/ ($NOZOMI`;N @/ N'/
___________/' ._______,/" ._________,/' /M*' .______,/' ._,
@alucky0707
alucky0707 / sqrt.c
Created January 13, 2014 11:10
優秀な先輩方ならこのプログラムが何をやってるか一目で理解できるはず
#include <stdio.h>
#define T 1000
double x,x_,y;
int i;
#define M int main(int argc, char**argv)
#define FO for
#define PF printf
@alucky0707
alucky0707 / helloworld.txt
Created December 22, 2013 17:22
実験用
Hello, World!
@alucky0707
alucky0707 / browser.rb
Created December 22, 2013 06:29
JRuby+SWTでブラウザができてました ref: http://qiita.com/alucky0707/items/56771f627d7a5bfc3bb4
# coding : UTF-8
#SWTの読み込み(同じフォルダにswt.jarを置いといてください)
require 'swt.jar'
#ウィンドウのタイトルとホームページのURL(お好みでどうぞ)
title = "SWT Simple Browser on JRuby"
homepage = "http://google.com/"
#SWT関連のパッケージの読み込み
@alucky0707
alucky0707 / timer.rb
Last active December 31, 2015 20:49
勢いで作った艦これタイマー。自動で時間を設定する機能はありません。また、画像と音声は自分で探してきてください。 win32-soundに依存しているのでWindows限定です。
require 'tk'
require 'tkextlib/tkimg/png'
require 'tkextlib/tkimg/jpeg'
require "win32/sound"
include Win32
#表示したい画像(png,gif,jpegならいける)
img = TkPhotoImage.new file: "./girl.png"
w = img.width
h = img.height