Run this command to remember your password:
git config --global credential.helper 'cache --timeout 28800'
Above command will tell git to cache your password for 8 hours.
from tika import parser | |
parsed = parser.from_file('Mueller-Report-v1-v2.pdf') | |
# Metadata | |
print(parsed["metadata"]) | |
# Content | |
print(parsed["content"]) |
#! /usr/bin/env ruby | |
# NOTE: Requires Ruby 2.1 or greater. | |
# This script can be used to parse and dump the information from | |
# the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
# | |
# It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
# | |
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
app.filter('bytes', function() { | |
return function(bytes, precision) { | |
if (isNaN(parseFloat(bytes)) || !isFinite(bytes)) return '-'; | |
if (typeof precision === 'undefined') precision = 1; | |
var units = ['bytes', 'kB', 'MB', 'GB', 'TB', 'PB'], | |
number = Math.floor(Math.log(bytes) / Math.log(1024)); | |
return (bytes / Math.pow(1024, Math.floor(number))).toFixed(precision) + ' ' + units[number]; | |
} | |
}); |
$ ./countRussia.py | |
countRussia.py -u <url> | |
$ ./countRussia.py -u http://www.nbcnews.com/meet-the-press/meet-press-03-05-17-n729271 | |
2017-03-05 16:47:09,232 [MainThread ] [INFO ] Retrieving http://www.nbcnews.com/meet-the-press/meet-press-03-05-17-n729271 to /var/folders/n5/1d_k3z4s2293q8ntx_n8sw54mm5n_8/T/meet-press-03-05-17-n729271. | |
Total mentions of Russia: 55 |
FROM girder/girder | |
RUN mkdir /assetstore | |
RUN git clone https://github.com/memex-explorer/image_space.git | |
RUN girder-install plugin -s image_space/imagespace | |
RUN girder-install plugin -s image_space/imagespace_smqtk | |
RUN npm install --only=prod --unsafe-perm |
### Keybase proof | |
I hereby claim: | |
* I am chrismattmann on github. | |
* I am chrismattmann (https://keybase.io/chrismattmann) on keybase. | |
* I have a public key whose fingerprint is 03CC 5FFA 61AA AD3C 8FF2 5E92 70F0 9CC6 B876 884A | |
To claim this, I am signing this object: |