Skip to content

Instantly share code, notes, and snippets.

Niclas Darville ndarville

Block or report user

Report or block ndarville

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
@ndarville
ndarville / log.txt
Created Apr 18, 2019
mueller.pdf OCR log
View log.txt
$ ocrmypdf -l eng report.pdf mueller.pdf
INFO - 2: [tesseract] Too few characters. Skipping this page
WARNING - 2: [tesseract] unsure about page orientation
INFO - 8: [tesseract] Too few characters. Skipping this page
WARNING - 8: [tesseract] unsure about page orientation
WARNING - 12: [tesseract] lots of diacritics - possibly poor OCR
WARNING - 24: [tesseract] lots of diacritics - possibly poor OCR
WARNING - 27: [tesseract] lots of diacritics - possibly poor OCR
WARNING - 38: [tesseract] unsure about page orientation
WARNING - 38: [tesseract] lots of diacritics - possibly poor OCR
@ndarville
ndarville / subs.converted.srt
Last active Jan 20, 2019
Automated closed caption rip for t3EC1_gcr34@YT (click “Raw” to download)
View subs.converted.srt
1
00:00:00,000 --> 00:00:00,033
Edited at https://subtitletools.com
2
00:00:09,620 --> 00:00:09,630
white man gave you to the Bible you are
3
00:00:09,630 --> 00:00:12,860
@ndarville
ndarville / followings.csv
Last active Mar 18, 2018
@CamAnalytica tweets and followings (users followed) as of 2018-03-18 01:40 CET. (Check out the `Since` column.)
View followings.csv
ID Since Last tweeted at Tweets Favorites Listed Following Followers Screen name Name Verified Protected Bio Status Location URL
14224719 2008-03-26 11:16:02 +0000 2018-03-16 13:34:31 +0000 12112 1715 22354 778 5538996 10DowningStreet UK Prime Minister true false Official channel for Prime Minister Theresa May's office, based at 10 Downing Street. RT @SalisburyNHS: Prime Minister @theresa_may visits @SalisburyNHS to thank Paul, Sarah and the A&E team in person for their outstand… https://t.co/b9EAWiYRvs 10 Downing Street, London http://www.gov.uk/number10
36088191 2009-04-28 15:09:01 +0000 2018-03-18 00:10:01 +0000 33110 24395 566 7778 213034 1iota 1iota false false 1iota is the ultimate connection for fans. We provide fans with exclusive opportunities and free tickets to TV shows, concerts, and special events. Join in on the fun & laughter at @SteveTVShow! See which celebs are stopping by & get tickets to be at a taping ---… https://t.co/s7DTnCBBJ8 LA, NY and Vegas http://www.1iota.com
@ndarville
ndarville / deleted.csv
Last active Nov 5, 2017
Tweet diff by @genflynn from 2016-11-18 vs 2017-11-05 (CET) https://gist.github.com/ndarville/5acfaf77deee44a0ae3e42155ef50614
View deleted.csv
ID Posted at Screen name Text
794000841518776320 2016-11-03 02:18:47 +0000 GenFlynn U decide - NYPD Blows Whistle on New Hillary Emails: Money Laundering, Sex Crimes w Children, etc...MUST READ! https://t.co/O0bVJT3QDr
787809039874949120 2016-10-17 00:14:46 +0000 GenFlynn RT @jenilynn1001: ENOUGH! 642,000 crimes against Texans by ILLEGAL IMMIGRANTS in 8 years! Don't you DARE call me racist for wanting to protect my kids! #Trump
786701080994451456 2016-10-13 22:52:08 +0000 GenFlynn RT @JasonMillerinDC: What say you, @chucktodd & @mitchellreports?: Michael Isikoff: NBC Should Release Full Juanita Broaddrick Interview https://t.co/U2KHJ6BvMb
785565431562063872 2016-10-10 19:39:28 +0000 GenFlynn RT @jd_Constitution: @GenFlynn @charismamag @FieldofFight https://t.co/OVs0wKVSVh
785564843365507073 2016-10-10 19:37:08 +0000 GenFlynn RT @JasonMillerinDC: Re: today's Congressional call: Nothing's changed. Mr. Trump’s campaign has always been powered by a grassroots movement, not Washington.
@ndarville
ndarville / README.md
Created Aug 22, 2017
Convert CSV to HTML table with Jekyll/Liquid
View README.md

I keep forgetting how to do this, and I never find a place that answers it online. Gists usually have pretty decent SEO.

Check out my style GitHub repo where you can see my snippets.

@ndarville
ndarville / startup.bat
Last active Jan 16, 2019
Batch script to delay startup of applications after boot
View startup.bat
@echo off
timeout /t 120
start itunes
start /min %APPDATA%\Dropbox\bin\Dropbox.exe
start /min "" "C:\Program Files (x86)\Battle.net\Battle.net"
start /min "" "%LOCALAPPDATA%\Discord\app-0.0.297\Discord.exe"
@ndarville
ndarville / README.md
Last active Jan 16, 2019
Batch script for videogames to kill processes hogging resources
View README.md

My computer is barely able to run Overwatch, and every now and then, I get the most ridiculous performance spikes

Save the contents of killresourcehogs.bat to a file (named whatever.bat) and just double-click on it to end the listed processes.

  • /f: Force
  • /t: Kill threads
  • ::: Comments

View followings.csv
We can't make this file beautiful and searchable because it's too large.
ID,Since,Last tweeted at,Tweets,Favorites,Listed,Following,Followers,Screen name,Name,Verified,Protected,Bio,Status,Location,URL
37579871,2009-05-04 03:06:20 +0000,2016-11-18 05:30:35 +0000,31816,1244,68,2274,1739,07shari22,shari white,false,false,"NYC Born, Football Lover, Skin care Expert, Scientist and Lover of Quotes",@SweetFreedom29 i could not agree with u more! @CAIRNational,"Virginia Beach, Va",http://sharisaysthis.blogspot.com/
763548377036402689,2016-08-11 01:31:34 +0000,2016-11-14 04:31:50 +0000,5896,5741,14,1221,726,10_flick,George,false,false,"proud American, veteran sick of PC and people who complain but never vote, DT will win, Hillary for club fed",RT @Jonioroni1: @PolitixGal and it feels so good. We can't let up. DJT needs us.,United States,
38338408,2009-05-07 01:54:47 +0000,2016-11-18 02:32:38 +0000,11439,17716,28,888,677,1315Nani,Bronx NY for Trump!,false,false,Native New Yorker on the Trump Train 🚂because I know better! Standing with Trump/Pence2016 for all our VETERANS because we owe THE
@ndarville
ndarville / tweets.csv
Last active Nov 18, 2016
Current @GenFlynn tweets as of 2016-11-18 (followings at https://gist.github.com/ndarville/b43bbca49574474ab6faaa1a650fec77)
View tweets.csv
ID Posted at Screen name Text
796935275368878081 2016-11-11 04:39:10 +0000 GenFlynn THE BEST PEOPLE WE HAVE IN OUR COUNTRY SERVE OR HAVE SERVED IN OUR ARMED FORCES. THANK YOU ALL FOR STANDING WATCH. https://t.co/xi7JMCBKuK
796934785826508800 2016-11-11 04:37:13 +0000 GenFlynn THANK YOU VETERANS!!! RT AS OFTEN AS YOU CAN AMERICA THE BEAUTIFUL https://t.co/TfkdIQZqaK
796370406722637826 2016-11-09 15:14:35 +0000 GenFlynn Max - He’s been an @realdonaldtrump supporter from the beginning. Ya gotta love this picture. Go Max!!! https://t.co/IN7VQfmZJI
796242266553798656 2016-11-09 06:45:24 +0000 GenFlynn Thank you to all who sent me messages (good, bad & some really ugly 1's)...We R going to #MAGA and we are going to start winning again! RT
796240419726196739 2016-11-09 06:38:04 +0000 GenFlynn RT @GenFlynn: Just read the first paragraph. Teddy Roosevelt - The Man In The Arena @realDonaldTrump is this man. God Bless USA! https://t.co/MobktXt8e1
@ndarville
ndarville / README.md
Last active May 4, 2019
How to export and rehost your Tumblr site
View README.md

How to export and rehost your Tumblr site

(Update: Version 3.2.0 of Jekyll looks like it's breaking a few things, so I've changed the guide to make you specifically install the version I was using, 3.1.3. I believe this is the issue: jekyll/jekyll#5145.)

You will be using jekyll-import to export your Tumblr site, Jekyll to (re)create it, and Surge to rehost it.

Update: You can also use Tumblr's native export feature in your blogs' individual settings. But rehosting that might be tricky. Read my comments below this post for how that works.

Setup and installation

You can’t perform that action at this time.