Skip to content

Instantly share code, notes, and snippets.

View cirosantilli's full-sized avatar
🇹🇼
2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚

Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script> cirosantilli

🇹🇼
2018包子露宪,2015 710律师劫,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚
  • 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>
  • 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>
  • X @cirosantilli
  • https://stackoverflow.com/users/895245
  • LinkedIn in/cirosantilli
  • YouTube @CiroSantilli
View GitHub Profile
@cirosantilli
cirosantilli / vim-markdown-pull-56
Created November 10, 2013 10:12
vim-markdown test file
# asdf
qwer
## qwer
asdf
@cirosantilli
cirosantilli / tutorial-opengl-linux-newbs.md
Last active November 1, 2018 14:22
Tutorial to compile and run OpenGL on Linux for complete Linux newbs

Tested on Ubuntu 12.04.

Should work on any recent Ubuntu, and on any distro with minor modifications.

Open up a terminal

There are many ways you can do this, the best in my opinion is Krusader's terminal emulator, but we will just use the gnome terminal emulator that comes with Ubuntu. To access it:

asdf
<?php
/*
Plugin Name: ${PLUGIN_NAME}
Plugin URI: http://www.barrykooij.com/${CLASS_NAME}
Description: ${PLUGIN_DESC}
Version: 1.0.0
Author: Barry Kooij
Author URI: http://www.barrykooij.com/
@cirosantilli
cirosantilli / 0.rb
Last active August 29, 2015 13:55
Jekyll gist test
def f0(x)
x + 0
end
#!/usr/bin/env bash
TMP_FILE="$(mktemp)"
printf "a\n\n" > "$TMP_FILE"
[ "$(cat "$TMP_FILE" | wc -c)" = "3" ] || echo "fail file"
mapfile <"$TMP_FILE" S
if [ ! "$(printf "${S}" | wc -c)" = "3" ]; then
printf "fail var:\n$(printf "${S}" | hd)\n"
bash --version | head -n1
fi
@cirosantilli
cirosantilli / spinach_segfault
Created October 12, 2014 16:58
Spinach Segfault
This file has been truncated, but you can view the full file.
/home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:2: [BUG] Segmentation fault at 0x007fff33e12f48
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux-gnu]
-- Control frame information -----------------------------------------------
c:5527 p:0000 s:11101 e:001100 LAMBDA /home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:2 [FINISH]
c:5526 p:0007 s:11099 e:001098 LAMBDA /home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:3 [FINISH]
c:5525 p:0007 s:11097 e:001096 LAMBDA /home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:3 [FINISH]
c:5524 p:0007 s:11095 e:001094 LAMBDA /home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:3 [FINISH]
c:5523 p:0007 s:11093 e:001092 LAMBDA /home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:3 [FINISH]
c:5522 p:0007 s:11091 e:001090 LAMBDA /home/ciro/bak/git/ruby-cheat/spinach2/features/steps/feature_one.rb:3 [FINISH]
git init --bare
sub_tree="$(printf "\
" | git mktree)"
root_tree="$(printf "\
040000 tree $sub_tree\tempty
" | git mktree)"
commit="$(git commit-tree -m 0 "$root_tree")"
git init --bare
empty_blob="$(printf '' | git hash-object --stdin -w)"
root_tree="$(printf "\
100644 blob $empty_blob\t$(printf '%1024s' ' ' | tr ' ' 'a')
" | git mktree)"
commit="$(git commit-tree -m 0 "$root_tree")"
@cirosantilli
cirosantilli / test-symlink-start-null
Created November 27, 2014 21:19
test-symlink-start-null
@cirosantilli
cirosantilli / test-symlink-middle-null
Created November 27, 2014 21:27
test-symlink-middle-null