Skip to content

Instantly share code, notes, and snippets.

@rougier
rougier / bibliography.org
Created December 29, 2021 14:29
Literate & annotated bibliography using NANO Emacs & orgmode

Unsorted

To Read

Neuroscience needs evolution [cite:@Cisek:2021] |PDF|

@article{Cisek:2021,
  title =        {Neuroscience needs evolution},
@Anime4000
Anime4000 / advanced_conf-telnet.md
Last active February 17, 2024 06:09
XPON SFP ONU (V2801F), XPON STICK ONU (TWCGPON657), RTL8672, RTL9601C1
@DeLaGuardo
DeLaGuardo / pragmatapro-font-lock-symbols-v2.el
Last active February 28, 2024 01:27
Snippet for support ligatures from PragmataPro font in Emacs
;; Enable ligatures without prettify-symbols
(provide 'add-pragmatapro-symbol-keywords)
(defconst pragmatapro-fontlock-keywords-alist
(mapcar (lambda (regex-char-pair)
`(,(car regex-char-pair)
(0 (prog1 ()
(compose-region (match-beginning 1)
(match-end 1)
@sushain97
sushain97 / fb.py
Last active June 11, 2019 21:01
Downloads, archives, analyzes and plots Facebook Messenger conversations (individual and group)
#!/usr/bin/env python3
__author__ = 'Sushain K. Cherivirala'
import argparse
import cmd
import collections
import contextlib
import copy
import datetime
@aussetg
aussetg / buildapcmice.md
Created August 6, 2012 16:57
/r/buildapc, let's talk gaming mice.

/r/buildapc, let's talk gaming mice.

Original post by h7u9i on reddit.com

I've been on this subreddit for a while, but I haven't seen any good guides to getting a gaming mouse. So here we go.

There's a lot that goes into making a good mouse, and some things may get confusing. Here's list of some terms that you might come across:

  • DPI - Dots per inch - Basically, this describes the sensitivity of your mouse. When you move your mouse, it detects how much you've moved it, and moves the cursor accordingly. The more DPI you have, the less movement is required to move the cursor the same amount.
  • Acceleration - If a mouse has acceleration, it means that as you move the mouse faster, it will move your cursor faster. For example, let's say if I move my move one inch in one second, the cursor will move 500 pixels. With acceleration, if I move my mouse one inch in half a second, the cursor may move 750 pixels. Some people like acceleration, others don't. If your mouse comes with this feature, there is usua
@alextp
alextp / online.py
Created October 22, 2011 00:19
A hacky, old, python implementation of leon bottou's lasvm
# coding: utf-8
"""Online learning."""
import numpy as np
from numpy import sign
import itertools as it
from numpy import array as A, zeros as Z
import math