Skip to content

Instantly share code, notes, and snippets.

View Tedko's full-sized avatar
🎯
Focusing

Suji Yan Tedko

🎯
Focusing
View GitHub Profile
@fpsluozi
fpsluozi / clf.py
Last active August 1, 2018 18:37
Chinese sentence classification w/ Doc2vec
# Title: Sentence classification w/ Doc2vec
# Author: FPSLuozi @Github
# Last updated: Aug 26, 2016
# License: MIT
import jieba
import numpy as np
import gensim
from gensim.models.doc2vec import *
@hamzasood
hamzasood / gist:02e6e87835a17f4e1b9e
Created November 23, 2015 23:15
Apple Pencil 3D Touch
#import <UIKit/UIKit.h>
#import <objc/runtime.h>
// Hook with ObjC runtime functions
%config(generator=internal)
// New methods created below
@interface UIGestureRecognizer ()
+ (void)hs_beginForcingAllNewGestureRecognizersToAllowPencilInput;
+ (void)hs_endForcingAllNewGestureRecognizersToAllowPencilInput;
@imjasonh
imjasonh / markdown.css
Last active February 12, 2024 17:18
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}