Skip to content

Instantly share code, notes, and snippets.

View soimort's full-sized avatar

Mort Yao soimort

View GitHub Profile
@soimort
soimort / gist:5387061
Last active December 16, 2015 05:49
GCJ 2013 Qualification Round - Problem A
# Authored by soimort
# Skip the first line
> , [ > , ----- ----- ]
# Read data
>>>>> >>> , [
----- ----- ----- ----- ----- ----- ----- ----- ----- - >
>>> , ----- ----- ----- ----- ----- ----- ----- ----- ----- - >
@soimort
soimort / s.diff
Last active December 15, 2015 22:58
gcc "-fipa-pure-const" optimization
--- a1.s 2013-04-08 14:46:49.996856646 +0200
+++ a2.s 2013-04-08 14:46:23.800190673 +0200
@@ -91,7 +91,9 @@
movl $.LC0, %edi
movl $0, %eax
call printf
- movl %ebx, %esi
+ movl $0, %eax
+ call foo
+ movl %eax, %esi
@soimort
soimort / robot
Created March 25, 2013 20:36
I, Robot.
This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.
ԅ(¯﹃¯ԅ)
  (  )
   ┘|
@soimort
soimort / ニャンコ先生
Created March 13, 2013 21:48
ニャンコ先生
⊂_ヽ
  \\ Λ_Λ
   \( ˇωˇ)
    > ⌒ヽ
   /   へ\
   /  / \\
   \ ノ   ヽ_つ
  / /
  / /|
 ( (ヽ
@soimort
soimort / 变章鱼
Created March 11, 2013 01:28
大家一起来变章鱼吧!
╭( ▔▽▔)╮我今天要表演变章鱼!
  ╜ ╙
╭( ▔▽▔)╯要开始了~
  ╜ ╙
╰( ≥﹏≤)╯恩……
  ╜ ╙
( ▔◎▔) 喔耶~变身完毕~厉害吧
 / ̄ ̄\
⊂ ・〇 \
| 3   丶
⊂ ・〇   \
 \__/∪ _∪)
      U U
┏┳━━━━━━┳┓
┃┃・ ▼ ・┃┃
┃┃〃┗┻┛〃┃┃
┗┫┏┓ ┏┓ ┣┛
┗┫ ┣━┫┣━┛ 
@soimort
soimort / gist:4553984
Created January 17, 2013 05:46
lamma
Δ~~Δ
ξ •ェ• ξ
ξ ~ ξ
ξ  ξ
ξ  ⌒~~~~〇
ξ   ,     ξ
ξ ξξ ξ~~~ξ ξ
ξ_ξ ξ_ξ   ξ_ξ
   ∧,_,∧
  (`・ω・´)  n__
`__n 〉  ⌒\/ 、_∃
E_,У ∧  \_/
  \_/ \  丶
     / y  ノ
    / / /
   ( ( 〈
    \ \ \
    (_(__)