Skip to content

Instantly share code, notes, and snippets.

View findmyway's full-sized avatar
🎯
make it work 🚲 make it fast 🚀make it right 📝

Jun Tian findmyway

🎯
make it work 🚲 make it fast 🚀make it right 📝
View GitHub Profile
@findmyway
findmyway / SimpleHTTPServerWithUpload.py
Created July 6, 2016 04:09 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@findmyway
findmyway / clojure-ctags.md
Created December 2, 2016 14:01
Add Clojure support to exuberant ctags and vim-tagbar

ctags

Add the following to ~/.ctags (thanks, xzj / clojure.ctags):

--langdef=Clojure
--langmap=Clojure:.clj
--regex-clojure=/\([ \t]*create-ns[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/n,namespace/
--regex-clojure=/\([ \t]*def[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/d,definition/
--regex-clojure=/\([ \t]*defn[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/f,function/
--regex-clojure=/\([ \t]*defn-[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/p,private function/
@findmyway
findmyway / Install CUDA 10.1 on Ubuntu 18.04.md
Created April 13, 2020 07:14 — forked from eddex/Install CUDA 10.1 on Ubuntu 18.04.md
How to install CUDA 10.1 on Ubuntu 18.04

How to install CUDA 10.1 on Ubuntu 18.04

A clean installation of Ubuntu 18.04.02 LTS was used.

This gist is an extension to the official docs, adding missing parts and instructions.

2 pre-install actions

follow the pre-installation actions on: