Skip to content

Instantly share code, notes, and snippets.

View kdplus's full-sized avatar
⛩️

Yusn kdplus

⛩️
View GitHub Profile
@simonista
simonista / .vimrc
Last active April 9, 2026 18:02
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@dwf
dwf / gist:1335246
Created November 2, 2011 23:10
My implementation of feature sign search for L1 minimization.
"""
L1-penalized minimization using the feature sign search algorithm.
"""
import logging
import numpy as np
log = logging.getLogger("feature_sign")
log.setLevel(logging.INFO)