Skip to content

Instantly share code, notes, and snippets.

View dokipen's full-sized avatar
🤪

Bob Corsaro dokipen

🤪
  • Medium.com
  • Newburyport, MA
View GitHub Profile
Downloading/unpacking pattern (from [redacted])
Hash of the package [redacted]/root/pypi/+e/http/www.clips.ua.ac.be/media/pattern-2.6.zip#md5=c4c7b17dc9555de34ab7ae1e4d8cf398 (from [redacted]/+simple/Pattern/) (a6cb10c5f772e214e0da3e8cc2184c46) doesn't match the expected hash c4c7b17dc9555de34ab7ae1e4d8cf398!
Cleaning up...
Bad md5 hash for package [redacted]/root/pypi/+e/http/www.clips.ua.ac.be/media/pattern-2.6.zip#md5=c4c7b17dc9555de34ab7ae1e4d8cf398 (from [redacted]/+simple/Pattern/)
Running command {:args=>["/bin/bash", "-c", "env PYTHONPATH=/usr/lib/ruby/gems/1.9.1/gems/fpm-1.0.1/lib/fpm/package python setup.py --command-packages=pyfpm get_metadata --output=/tmp/package-python-build20131211-11854-1r8ym9h/metadata.json"], :level=>:debug, :file=>"fpm/util.rb", :line=>"48"}
Process is running {:pid=>11859, :level=>:debug, :file=>"fpm/util.rb", :line=>"61"}
Running from scipy source directory. {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
or: setup.py --help [cmd1 cmd2 ...] {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
or: setup.py --help-commands {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
or: setup.py cmd --help {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
{:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
error: invalid command 'get_metadata' {:level=>:info, :file=>"cabin/mixins/pipe
NUMPY_VERSION=1.7.1
SCIPY_VERSION=0.11.0
.PHONY: debs
numpy_$(NUMPY_VERSION)_$(ARCH).deb:
fpm -s python -t deb --version $(NUMPY_VERSION) --arch $(ARCH) numpy
scipy_$(SCIPY_VERSION)_$(ARCH).deb:
fpm -s python -t deb --version $(SCIPY_VERSION) --arch $(ARCH) scipy
13:25:10 [doki_pen@jaco ../git-plugin/src/main/java][master]$ wc */*/*/*.java
156 451 4632 hudson/plugins/git/BranchSpec.java
87 373 3029 hudson/plugins/git/GitBranchTokenMacro.java
78 215 2427 hudson/plugins/git/GitChangeLogParser.java
450 1434 15139 hudson/plugins/git/GitChangeSet.java
44 93 1052 hudson/plugins/git/GitChangeSetList.java
569 1657 20499 hudson/plugins/git/GitPublisher.java
83 376 3129 hudson/plugins/git/GitRevisionBuildParameters.java
66 309 2432 hudson/plugins/git/GitRevisionTokenMacro.java
1421 4892 56178 hudson/plugins/git/GitSCM.java
11:23:13 [doki_pen@bootsy ~]$ exiftool 1.JPG
ExifTool Version Number : 9.27
File Name : 1.JPG
Directory : .
File Size : 1721 kB
File Modification Date/Time : 2013:11:20 11:23:13-05:00
File Access Date/Time : 2013:11:20 11:23:12-05:00
File Inode Change Date/Time : 2013:11:20 11:23:13-05:00
File Permissions : rw-r--r--
File Type : JPEG
======================================================================
FAIL: test_published (functional.byline.published_test.PublishedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/distil/workspace/tests/functional/byline/published_test.py", line 75, in test_published
self.assertEqual(date['offset'], byl['offset'])
AssertionError: None != -14400000
-------------------- >> begin captured logging << --------------------
distil: DEBUG: Date texts: ['Aug 24, 2012', 'Aug 24 2012']
distil: DEBUG: Date texts: ['Published: August 25, 2012 331 Comments', 'Published: August 25, 2012', 'August 25 2012 331', 'August 25 2012']
@dokipen
dokipen / hourly.sh
Created November 5, 2013 21:21
break up time period into hourly chunks ex. ./hourly.sh "Oct 1" "Nov 1"
#!/bin/bash
set -e
set -o nounset
I="$(date -d "${1} + 1 hour")"
END="$(date -d "${2}")"
shift 2
args="${*}"
13:53:29 [doki_pen@bootsy ~/int]$ npm install doge --save-dev
npm WARN package.json int@0.0.0 No description
npm WARN package.json int@0.0.0 No repository field.
npm WARN package.json int@0.0.0 No README data
npm http GET https://registry.npmjs.org/doge
npm http 200 https://registry.npmjs.org/doge
npm http GET https://registry.npmjs.org/doge/-/doge-8.6.72-much.update.tgz
npm http 200 https://registry.npmjs.org/doge/-/doge-8.6.72-much.update.tgz
npm http GET https://registry.npmjs.org/such/1.0.2
npm http GET https://registry.npmjs.org/dependency
@dokipen
dokipen / Main.java
Created June 20, 2013 20:36
Simple example of creating a URL for cropping with i.embed.ly.
import java.util.ArrayList;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.client.utils.URLEncodedUtils;
public class Main {
public static void main(String args[]) {
ArrayList<NameValuePair> params = new ArrayList<NameValuePair>();
params.add(new BasicNameValuePair("url", "https://pbs.twimg.com/media/BNI_LFyCcAAPZZl.jpg:large"));
params.add(new BasicNameValuePair("key", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"));
# You'll need a copy of pcl6 (ghostpcl)
i=0
out=`git rev-parse HEAD`
rm -Rf $out
mkdir $out
cat index.html | cut -f1 | cut -d'/' -f2 | while read line; do
i=$((i + 1))
printf "making ${out}/%02d_${line}.pdf\n" $i
./pcl6 -o "${out}/${i}_${line}.pdf" -sDEVICE=pdfwrite "${line}"
done