- YEAR (2001, 1965, 1936)
\b(19|20)\d{2}\b
- Arconyms (DDF, DACF, AF)
\w*\([A-Z]\w*[A-Z]\)\w*
- trailing spaces
[ \f\t\v]\n
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by pkg-config configure 0.27, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.27 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig --with-internal-glib | |
## --------- ## | |
## Platform. ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dyld: Library not loaded: /usr/lib/libltdl.7.dylib | |
Referenced from: /usr/local/bin/php | |
Reason: image not found | |
dyld: Library not loaded: /usr/lib/libltdl.7.dylib | |
Referenced from: /usr/local/bin/php | |
Reason: image not found | |
Warning: Some installed formula are missing dependencies. | |
You should `brew install` the missing dependencies: | |
brew install pkg-config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install -vd pkgconfig | |
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/pkg-config-0.27.tar.gz | |
/usr/bin/tar xf /Library/Caches/Homebrew/pkg-config-0.27.tar.gz | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.27 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig --with-internal-glib | |
./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.27 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig --with-internal-glib | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by pkg-config configure 0.27, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.27 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig --with-internal-glib | |
## --------- ## | |
## Platform. ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by glib configure 2.32.3, which was | |
generated by GNU Autoconf 2.68. Invocation command line was | |
$ ./configure --disable-option-checking --prefix=/usr/local/Cellar/pkg-config/0.27 --disable-debug --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig --with-internal-glib CC=/usr/bin/clang CFLAGS=-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 LDFLAGS=-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib CPPFLAGS=-I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include --cache-file=/dev/null --srcdir=. | |
## --------- ## | |
## Platform. ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var emails = VMail.App.db.emails; | |
var oldest = emails[0].timestamp; | |
var newest = emails[emails.length - 1].timestamp; | |
console.log(oldest,newest); | |
var increment = 60*60*24*6; | |
var duration = 60*60*24*30*12; | |
var start = oldest; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Graph from 'graphology'; | |
import sentences from 'talisman/tokenizers/sentences'; | |
import words from 'talisman/tokenizers/words'; | |
import flattenDeep from 'lodash/flattenDeep'; | |
import uniq from 'lodash/uniq'; | |
const txt = 'A project with Andy and Jean-Michel at the Factory. In 1920 Pablo meets Salvador and Claude . An exhibition features Andy and Pablo in Beaubourg.' | |
const txtSentences = sentences(txt); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<audio id="audiofile" src="//pathtoyouraudiofile.mp3" controls></audio> | |
<div id="subtitles"></div> | |
<script> | |
( function(win, doc) { | |
var audioPlayer = doc.getElementById("audiofile"); | |
var subtitles = doc.getElementById("subtitles"); | |
var syncData = [ | |
{ "end": "0.225","start": "0.125","text": "There" }, | |
{"end": "0.485","start": "0.225","text": "were" }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# raw pile | |
for i in `ls *.pdf`; do convert -density 96 "$i" -flatten +antialias jpg/"$i"-%04d.jpg; done | |
# magickwand on white background | |
for i in `ls *.pdf`; do convert -density 96 "$i" -fuzz 30% -transparent white -flatten +antialias jpg-whiteremove/"$i"-%04d.jpg; done | |
# page by pages | |
for i in `ls *.pdf`; do convert -density 220 "$i" -resize 50% jpg-pages/"$i"-%04d.jpg; done |