Use without caution
while :; do echo "I will kill you later" | say -v Whisper; sleep 50; done &
import { createMachine, assign } from "xstate"; | |
type MachineContext = { | |
lives: number; | |
}; | |
type MachineEvent = | |
| { type: "IDLE" } | |
| { type: "WALK" } | |
| { type: "RUN" } |
#!/bin/bash | |
# create folders. Ensure your directory is writable | |
mkdir -p jpegs/share; | |
# loops .NEF files in this directory. Subdirectories aren't supported | |
for f in *.NEF; | |
do | |
# gets filename and inserts .jpg at the end |
Use without caution
while :; do echo "I will kill you later" | say -v Whisper; sleep 50; done &
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- TeXML files must contain the Response element --> | |
<Response> | |
<!-- Say and Dial are Verbs --> | |
<Say>Thank you for calling Telnyx.</Say> | |
<Dial> | |
<Sip>sip:gencredhoj84HXAATNAXTfLJBkZBFv0sr@sip.telnyx.com</Sip> | |
</Dial> | |
</Response> |
Source: https://crashingdaily.wordpress.com/2008/03/06/diff-two-stdout-streams/
You can diff
two commands stdout without creating two files. <( ... )
command creates a temporary file with the stdout of the command inside it.
Example:
diff -B <( ls -1 / ) <( ls -1 ~ )
# Mais usados -- | |
alias ga="git add" | |
alias gc="git commit -m" | |
alias gca="git commit -am" | |
alias gs="git status" | |
alias gp="git push" | |
alias gpl="git pull" | |
# Diff -- | |
alias gd="git diff" |
jack-in into normal Clojure nREPL. Run:
(require '[cljs.repl :as repl] '[cljs.repl.node :as node])
(compile 'cljs.repl.node)
(cemerick.piggieback/cljs-repl (cljs.repl.node/repl-env))
# Mounts FTP server | |
open -a Finder ftp://login:password@ftp_host/path | |
# Rsync from there (add --dry-run option to simulate transfer) | |
rsync -arvz --no-o --no-g /Volumes/ftp_host/path/ ./ | |
# WIN! |
# Sync fork with original repository | |
# | |
# Requires an "upstream" remote, pointing to original repo | |
# e.g. `git remote add upstream git@github.com:user/repo.git` | |
alias git-sync-fork="git fetch upstream; git checkout master; git merge upstream/master" |