ok, so I needed the git autocompletion script.
I got that from this url:
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
start = function() { | |
framer code | |
} | |
preloadImages = ["img1.png", "img2.png"]; | |
preloadImagesCount = 0; // How many images were loaded | |
preloadImages.map(function(image) { | |
var imageLayer = new Layer({image:image}) | |
imageLayer.on("load", function() { |
test -f ~/.git-completion.bash && . $_ | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' | |
alias gti='git' | |
alias gi='git' | |
alias octave='open -na Octave-cli' | |
alias unity='open -na Unity' | |
alias py27='source activate py27' |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://fb.me/react-with-addons-0.14.0.js"></script> | |
<script src="http://fb.me/react-dom-0.14.0.js"></script> | |
<!-- <script src="https://npmcdn.com/expect/umd/expect.min.js"></script> --> | |
<script src="https://wzrd.in/standalone/expect@latest"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.3.0/redux.js"></script> | |
<meta charset="utf-8"> | |
<title>React Hello World w/ JSBin</title> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://fb.me/react-with-addons-0.14.0.js"></script> | |
<script src="http://fb.me/react-dom-0.14.0.js"></script> | |
<!-- <script src="https://npmcdn.com/expect/umd/expect.min.js"></script> --> | |
<script src="https://wzrd.in/standalone/expect@latest"></script> | |
<script src="https://wzrd.in/standalone/deep-freeze@latest"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/redux/3.3.0/redux.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-redux/4.0.0/react-redux.js"></script> |
ok, so I needed the git autocompletion script.
I got that from this url:
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
As configured in my dotfiles.
start new:
tmux
start new with session name:
1- Install highlight
brew install highlight
2- copy your file to your clipboard
highlight --syntax=YOURLANGUAGE -O rtf YOURFILE | pbcopy
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf *.pdf
Try the good ghostscript:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf mine1.pdf mine2.pdf
or even this way for an improved version for low resolution PDFs (thanks to Adriano for pointing this out):
This worked for me when I tried it on a mp3 file.
$ ffmpeg -i somefile.mp3 -f segment -segment_time 3 -c copy out%03d.mp3 Where -segment_time is the amount of time you want per each file (in seconds).
References
Splitting an audio file into chunks of a specified length 4.22 segment, stream_segment, ssegment - ffmpeg documentation
#!/bin/sh | |
FILES=*.mp3 | |
for f in $FILES | |
do | |
echo "Processing ${f%.*}" | |
id3tag "--song=${f%.*} $f" | |
done |