##About Rules and Runners
Stefan Birkner
@stefanbirkner
##JUnit – The Basics
public class MyTest {
@Test
##About Rules and Runners
Stefan Birkner
@stefanbirkner
##JUnit – The Basics
public class MyTest {
@Test
Show the exit code of the last command:
echo $?
Reuse the last part of the previous command:
new_command !!:$
Remove new line from end of file
| sudo apt-get install python-sphinx | |
| sphinx-apidoc -o dist <module> | |
| sphinx-build -b html source build |
#Rule and Runners
idealo
@StefanBirkner
##Rule
Show timing information
curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total}
| import Color exposing (..) | |
| import Graphics.Collage exposing (..) | |
| import Graphics.Element exposing (..) | |
| import Mouse | |
| import Window | |
| type alias Box = (Int,Int) | |
| type alias Editor = { boxes: List Box } | |
| main : Signal Element |
| function concat(firstText, secondText) { | |
| return firstText + secondText; | |
| } | |
| function escape(key) { | |
| if (key.match(/^[A-Za-z0-9\-\_]+$/)) | |
| return key | |
| else | |
| return `"${key}"` | |
| } |
:% ! xxd:% ! xxd -rOriginal source: https://stackoverflow.com/questions/827326/whats-a-good-hex-editor-viewer-for-the-mac