Skip to content

Instantly share code, notes, and snippets.

View nontravis's full-sized avatar

Nonthawit Doungsodsri nontravis

View GitHub Profile
[
{
"name": "Reticulated Giraffe",
"species": "Giraffa camelopardalis reticulata",
"description": "The reticulated giraffe (Giraffa camelopardalis reticulata), also known as the Somali giraffe, is a subspecies of giraffe native to Somalia, southern Ethiopia, and northern Kenya. Reticulated giraffes can interbreed with other giraffe subspecies in captivity or if they come into contact with populations of other subspecies in the wild. \nThe reticulated giraffe is among the most well-known of the nine giraffe subspecies. Together with the Rothschild giraffe, it is by far the giraffe most commonly seen in zoos. Its coat consists of large, polygonal, liver-colored spots outlined by a network of bright-white lines. The blocks may sometimes appear deep red and may also cover the legs. The extraordinary height of giraffes is attributed to a ritual known as \"necking\", where two males fight for reproduction rights by slamming their necks into one another. The giraffes with the tallest and
testtesttest
[
{
"name": "Elephants",
"latitude": 39.749157,
"longitude": -104.953616
},
{
"name": "Tigers",
"latitude": 39.749817,
"longitude": -104.949195
nmap <S-l> gt
nmap <S-h> gT
nmap <S-w>L :action VimWindowRight<CR>
nmap <S-w>H :action VimWindowLeft<CR>
nmap <S-w>J :action VimWindowDown<CR>
nmap <S-w>K :action VimWindowUp<CR>
nmap <M-j> 5j5<C-e>
nmap <M-k> 5k5<C-y>
"for window <C-r>" in insert mode, for mac cmd+v
imap <C-r>" <esc>:action EditorPaste<CR>a
atom.commands.add 'atom-text-editor.vim-mode:not(.insert-mode)', 'vim-custom:scroll-down', ->
editor = atom.views.getView(atom.workspace.getActiveTextEditor())
atom.commands.dispatch(editor, 'vim-mode:move-down')
atom.commands.dispatch(editor, 'vim-mode:scroll-down')
atom.commands.dispatch(editor, 'vim-mode:move-down')
atom.commands.dispatch(editor, 'vim-mode:scroll-down')
atom.commands.dispatch(editor, 'vim-mode:move-down')
atom.commands.dispatch(editor, 'vim-mode:scroll-down')
atom.commands.dispatch(editor, 'vim-mode:move-down')
atom.commands.dispatch(editor, 'vim-mode:scroll-down')
'atom-text-editor.vim-mode:not(.insert-mode)':
'shift-l': 'pane:show-next-item'
'shift-h': 'pane:show-previous-item'
'shift-w shift-l': 'window:focus-pane-on-right'
'shift-w shift-h': 'window:focus-pane-on-left'
'shift-w shift-k': 'window:focus-pane-above'
'shift-w shift-j': 'window:focus-pane-below'
'+': 'pane:increase-size'
'_': 'pane:decrease-size'
'ctrl-j': 'vim-custom:scroll-down'
@nontravis
nontravis / tools_context.xml
Last active November 8, 2016 18:09
toolNs
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainActivity" >
...
</LinearLayout>
@nontravis
nontravis / tools_layout.xml
Last active November 9, 2016 13:46
tools:layout example
<fragment android:id="@+id/content_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@android:layout/list_content" />
@nontravis
nontravis / tools_listitem.xml
Created November 8, 2016 18:46
tools:listitem example
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@android:layout/simple_list_item_2" />