Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
object Main extends App { | |
AvoidLosingGenericType.run() | |
AvoidMatchingOnGenericTypeParams.run() | |
TypeableExample.run() | |
TypeTagExample.run() | |
} | |
class Funky[A, B](val foo: A, val bar: B) { | |
override def toString: String = s"Funky($foo, $bar)" | |
} |
#!/bin/bash | |
# Make sure ffmpeg is installed with the following flags | |
# brew install ffmpeg --with-libvpx | |
# | |
# Take source video, convert to raw grayscale (-pix_fmt gray), | |
# remove audio track (-an), darken it by 50% (-vf "lutyuv=y=val*.5"), | |
# and output to an avi container for maximum compatibility. | |
# Pipe all that to stdout | |
# (ffmpeg -i - \) take input rawvideo track, and... |
packer build packer.json 2>&1 | sudo tee output.txt | |
tail -2 output.txt | head -2 | awk 'match($0, /ami-.*/) { print substr($0, RSTART, RLENGTH) }' > sudo ami.txt |
//+------------------------------------------------------------------+ | |
//| Copyright © 2009 MTIntelligence.com | | |
//| http://www.mtintelligence.com | | |
//+------------------------------------------------------------------+ | |
#property copyright "Copyright © 2009 MTIntelligence.com" | |
#property link "http://www.mtintelligence.com" | |
// ************************************************************************************* | |
// |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.