Skip to content

Instantly share code, notes, and snippets.

Noah Liebman Noleli

Block or report user

Report or block Noleli

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Noleli
Noleli / shabbos rosh khodesh khanuka occurences.ipynb
Created Dec 9, 2018
How often is Shabbos Khanuka Rosh Khodesh?
View shabbos rosh khodesh khanuka occurences.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Noleli
Noleli / vowel search.ipynb
Created Dec 10, 2017
Searching for a pasuk with all the vowels
View vowel search.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Noleli
Noleli / nvalttobear.py
Created Mar 22, 2017
A Python script to add Notational Velocity/nvALT tags as hashtags for Bear
View nvalttobear.py
from subprocess import check_output
import re
import os
from shutil import copy2 as copy
# adjust paths to your liking
path = os.environ['HOME'] + '/Dropbox/Preferences/Notational Data/'
outpath = os.environ['HOME'] + '/Desktop'
os.mkdir(outpath + '/export')
@Noleli
Noleli / omer.py
Created May 23, 2016
Omer counter
View omer.py
import math
import datetime
pesach = datetime.date(2016,4,22)
today = datetime.date.today()
totaldays = (today - pesach).days
weeks = int(math.floor(totaldays/7.0))
days = totaldays % 7
View embiggen.html
<html>
<body>
<h3>hi<br>
<h3>hi<br>
<h3>hi<br>
<h3>hi<br>
<h3>hi<br>
<h3>hi</h3>
</h3>
</h3>
View keybase.md

Keybase proof

I hereby claim:

  • I am noleli on github.
  • I am noleli (https://keybase.io/noleli) on keybase.
  • I have a public key whose fingerprint is B3F0 0376 0B06 7743 1F3C 7A2B CC42 8A9B 4F6F 0712

To claim this, I am signing this object:

@Noleli
Noleli / gist:5137133
Created Mar 11, 2013
Project Amy console log
View gist:5137133
3/11/13 2:49:40.781 PM imagent[31333]: [Warning] Exception: NSConcreteMutableAttributedString initWithString:: nil value
3/11/13 2:49:40.784 PM imagent[31333]: [Warning] Symbols: (
0 CoreFoundation 0x00007fff86d480a6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff877793f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff86d47e7c +[NSException raise:format:] + 204
3 Foundation 0x00007fff8b172f12 -[NSConcreteMutableAttributedString initWithString:] + 121
4 IMFoundation 0x00007fff8ff9bb71 JWUUIDPushObjectToString + 2017
5 IMFoundation 0x00007fff8ff75150 _IMITunesInteropAvailable + 1013
6 IMFoundation 0x00007fff8ff8d1b1 IMFontSizeFromCSSFontSizeValue + 10913
7 IMDaemonCore 0x00007fff8b6a4bfe IMDCallMonitorCallStatusChanged + 386321022
@Noleli
Noleli / gist:3344522
Created Aug 13, 2012
Put a jekyll blog in a subdir /jekyll and rewrite it to webroot
View gist:3344522
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ jekyll/ [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ jekyll/$1 [L]
</IfModule>
@Noleli
Noleli / gist:2897965
Created Jun 8, 2012
Untangld database schema
View gist:2897965
CREATE TABLE `entities` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`type` enum('PERSON','PLACE','BUSINESS','MUNICIPALITY') DEFAULT NULL,
`name` varchar(64) DEFAULT NULL,
`timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`url` varchar(256) DEFAULT NULL,
`prevurl` varchar(256) DEFAULT NULL,
`notes` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
@Noleli
Noleli / gist:2764146
Created May 21, 2012
Uninstall GoogleSoftwareUpdateAgent
View gist:2764146
sudo /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/Resources/install.py --nuke
You can’t perform that action at this time.