Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| function Stop(r) { | |
| function Reason () { throw new Error(r) } | |
| return Reason | |
| } | |
| function StopChain(r, fn) { | |
| return fn(r) | |
| } | |
| const error = StopChain('NOT_FOUND', Stop) |
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: "*" | |
| workflow: tests | |
| workflows: | |
| _tests_setup: | |
| steps: | |
| - activate-ssh-key: {} |
| // Example of pipeline process written in kotlin | |
| fun multiplyIt(x:Int): Int { | |
| println(x * 2) | |
| return x * 2 | |
| } | |
| fun plusTwo(x: Int): Int { | |
| println(x + 2) | |
| return x + 2 | |
| } |
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math| " Settings | |
| set nohud | |
| set nosmoothscroll | |
| set noautofocus " The opposite of autofocus; this setting stops | |
| " sites from focusing on an input box when they load | |
| set typelinkhints | |
| let searchlimit = 30 | |
| let scrollstep = 70 | |
| let barposition = "bottom" |
| import asyncio | |
| loop = asyncio.get_event_loop() | |
| async def hello(): | |
| await asyncio.sleep(3) | |
| print('Hello!') | |
| if __name__ == '__main__': | |
| loop.run_until_complete(hello()) | |
| import asyncio | |
| from unittest import mock | |
| class AsyncMock(mock.MagicMock): | |
| @asyncio.coroutine | |
| def __call__(self, *args, **kwargs): | |
| return super(AsyncMock, self).__call__(*args, **kwargs) | |
| # Alternative using Tornado... |
Portions taken from http://www.cs.utexas.edu/~mitra/csSpring2011/cs327/cx_mac.html (in case that link ever dies.)
Assume you've got homebrew installed.
Download the following files from Oracle
#Git notes
Warning : Support for isplay of git notes has been dropped by github : https://github.com/blog/707-git-notes-display
Resource : https://vimeo.com/34273537
##Add
git notes add
| set nocompatible " be iMproved | |
| filetype off " required! | |
| set rtp+=~/.vim/bundle/Vundle.vim/ | |
| call vundle#begin() | |
| " let Vundle manage Vundle | |
| Plugin 'gmarik/Vundle.vim' |