Skip to content

Instantly share code, notes, and snippets.

View toracle's full-sized avatar

Jeongsoo, Park toracle

View GitHub Profile
@MexsonFernandes
MexsonFernandes / mindwave.cs
Created April 5, 2019 13:42
C# code for data collection from Neurosky Mindwave Mobile EEG headset
using System.IO;
using System.Net.Sockets;
using Jayrock.Json.Conversion;
using System;
using System.Text;
using System.Collections;
namespace ConsoleApp1
{
class Program
@itod
itod / split_keyboards.md
Last active September 23, 2025 07:22
Every "split" mechanical keyboard currently being sold that I know of
@favadi
favadi / build-emacs.sh
Last active September 16, 2025 22:30
Compile latest emacs version (24.5) in Ubuntu 14.04
#!/bin/bash
# Build latest version of Emacs, version management with stow
# OS: Ubuntu 14.04 LTS
# version: 24.5
# Toolkit: lucid
# Warning, use updated version of this script in: https://github.com/favadi/build-emacs
set -e
@toracle
toracle / .tmux.conf
Last active November 19, 2019 02:39
# prefix key
unbind-key C-b
set -g prefix 'C-M-v'
bind-key 'C-M-v' send-prefix
set-option -g default-terminal "screen-256color"
# To use mouse
set -g mouse on
@P7h
P7h / tmux__CentOS__build_from_source.sh
Last active October 11, 2025 01:02
tmux 2.0 and tmux 2.3 installation steps for Ubuntu. Or build from tmux source v2.5 for Ubuntu and CentOS.
# Steps to build and install tmux from source.
# Takes < 25 seconds on EC2 env [even on a low-end config instance].
VERSION=2.7
sudo yum -y remove tmux
sudo yum -y install wget tar libevent-devel ncurses-devel
wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz
tar xzf tmux-${VERSION}.tar.gz
rm -f tmux-${VERSION}.tar.gz
cd tmux-${VERSION}
@ragingwind
ragingwind / Backend Architectures Keywords and References.md
Last active October 22, 2025 20:58
Backend Architectures Keywords and References
@nagyv
nagyv / middleware.py
Created October 29, 2012 09:32
Django facebook connect middleware w/ facepy
import logging
import facepy as facebook
from django.conf import settings
from django.contrib.auth.signals import user_logged_in
from django.db import models
from django.contrib.auth import logout
from django.contrib.auth.models import User
class FBAuthMiddleware(object):
def __init__(self):