Skip to content

Instantly share code, notes, and snippets.

View ganioc's full-sized avatar

ganioc ganioc

  • Boxshell
  • Shanghai China
View GitHub Profile
This file has been truncated, but you can view the full file.
Make sure to click the "view the full file" link or "Raw" button because github doesn't show all lines here.
"name","address"
"cuddly-cider-cod","112BzeMcnxc3Faahpz1uR5bhDVDidbvZk87NfytLzHcnEDZXa91C"
"upbeat-lime-pelican","112NHzaRFLsUWcwZvuUsnqG9hbXxp9NkLtZY4vQ5EKs6kZH67AC9"
"future-sepia-canary","11rYSiB6EZHBNWoKL1QPaNK4sri7j1ddK7xbQiaoTa2iRnHVjK6"
"tricky-oily-blackbird","112DmWpx2ayp7gyR6zTVaYgANQwBu8oem4KC1Xg7izAMAqudrCz4"
"fancy-glass-haddock","11ZbAVVPwY8QjriDsWTx5Ja2sPasF8U1nFe1bNhyvzpn2RUu7DC"
"zany-burgundy-chimpanzee","112eR4yVLCL1GFfMXXFdgLNyfcpGJNqkhhrfs5LbUoTbfxqF783T"
@kesava
kesava / eopl-racket-help.md
Last active June 23, 2021 10:24
Need help porting macros from EOPL first edition

I am trying to work through EOPL first edition and I have made fairly good progress till chapter 5, working diligently through exercises[1]. I've been using Dr.Racket and #lang eopl[2] for the exercies.

Earlier in the the book, the authors define a couple of key macros define-record and variant-case which are used through out the book. Here is a brief usage of the macros.

(define-record leaf (number))

; that should define three methods
; a. make-leaf - constructor
; b. leaf? - predicate method
; c. leaf->number - a method to look up the members of the record
@bcastellano
bcastellano / raspberry-pi-cups.md
Last active July 1, 2024 02:13
Configure Raspberry to be print server with cups and adding HP LaserJet 1020
@jefftenney
jefftenney / lptimTick.c
Last active May 21, 2023 17:02
No-Drift FreeRTOS tick/tickless for STM32 via LPTIM
// lptimTick.c -- Jeff Tenney
//
// STM32 No-Drift FreeRTOS Tick/Tickless via LPTIM
//
// Example integration and validation: https://github.com/jefftenney/LPTIM-Tick
//
// Revision: 2021.11.23
// Tabs: None
// Columns: 110
// Compiler: gcc (GNU) / armcc (Arm-Keil) / iccarm (IAR)
@fearblackcat
fearblackcat / proxy_for_terminal.md
Last active June 27, 2024 08:17
Set proxy for terminal on mac

Shadowsocks Proxy

apt-get install python-pip
pip install shadowsocks

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
@tuxfight3r
tuxfight3r / 01.bash_shortcuts_v2.md
Last active July 8, 2024 05:08
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@rocarvaj
rocarvaj / .vimrc
Created April 27, 2012 21:28
Minimal .vimrc for C/C++ developers
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
"
" set UTF-8 encoding
set enc=utf-8
set fenc=utf-8
set termencoding=utf-8
" disable vi compatibility (emulation of old bugs)
@simme
simme / Install_tmux
Created October 19, 2011 07:55
Install and configure tmux on Mac OS X
# First install tmux
brew install tmux
# For mouse support (for switching panes and windows)
# Only needed if you are using Terminal.app (iTerm has mouse support)
Install http://www.culater.net/software/SIMBL/SIMBL.php
Then install https://bitheap.org/mouseterm/
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/