Skip to content

Instantly share code, notes, and snippets.

Walton Jones waltonjones

Block or report user

Report or block waltonjones

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@waltonjones
waltonjones / theme.less
Last active Apr 19, 2016
Solarized Dark: A Taskpaper 3 theme
View theme.less
// See http://guide.taskpaper.com/creating_themes.html to get started.
// Solarized Dark Theme by Walton Jones
// Inspired by Solarized (http://ethanschoonover.com/solarized)
// Variables
@user-font-size: 20;
@text-color: rgb(129, 130, 132);
@background-color: rgb(4, 32, 41);
@tint-color: rgb(129, 144, 144);
@waltonjones
waltonjones / theme.less
Last active Apr 19, 2016
Solarized Light: A Taskpaper 3 theme
View theme.less
// See http://guide.taskpaper.com/creating_themes.html to get started.
// Solarized Light Theme by Walton Jones
// From Solarized (http://ethanschoonover.com/solarized)
// Variables
@user-font-size: 20;
@text-color: rgb(83, 104, 112);
@background-color: rgb(252, 244, 220);
@tint-color: rgb(71, 91, 98);
@waltonjones
waltonjones / Stylable Pandas Groupby Boxplots
Last active Mar 1, 2016
This gist includes a function called stylable_groupby_boxplot() that receives a pandas dataframe object and the column you want to groupby and returns a dictionary that includes all the boxplot's parts just like the standard matplotlib boxplot function does.
View Stylable Pandas Groupby Boxplots
from numpy.random import rand
import matplotlib.pyplot as plt
import pandas as pd
# 2 columns produces an array of 2 matplotlib.axes.AxesSubplot objects
df2 = pd.DataFrame(rand(10,2), columns=['Col1', 'Col2'] )
df2['X'] = pd.Series(['A','B','A','B','A','B','A','B','A','B'])
#1 column produces a single matplotlib.axes.AxesSubplot object
df1 = pd.DataFrame(rand(10), columns=['Col1'] )
@waltonjones
waltonjones / WP Mode (Goyo)
Created Jan 6, 2014
A few lines in my vimrc for controlling the distraction-free environment Goyo.
View WP Mode (Goyo)
" WordProcessor Mode / Goyo
let g:goyo_width=65
let g:wp_mode_is_on = 0
function! ToggleWPMode()
if g:wp_mode_is_on
set formatoptions=tcq
set nowrap nolinebreak expandtab
silent! nunmap <buffer> k
@waltonjones
waltonjones / Skim_notes_to_clipboard.scpt
Last active Dec 20, 2015
Send color-coded Skim.app PDF notes to the clipboard with custom page urls. (See http://drosophiliac.com/2012/09/an-academic-notetaking-workflow.html)
View Skim_notes_to_clipboard.scpt
tell application "Skim"
set the clipboard to ""
set numberOfPages to count pages of document 1
activate
set myColorCodes to my chooseColor()
set firstPage to "1" as number
set lastPage to numberOfPages
set the clipboard to "# Notes" & return & return
@waltonjones
waltonjones / ST_QuickCursor
Created Dec 3, 2014
Shell script for use in Keyboard Maestro macro to mimic "QuickCursor" with Sublime Text
View ST_QuickCursor
export __CF_USER_TEXT_ENCODING=0x1F5:0x8000100:0x8000100
TMPFILE=`mktemp /tmp/XXXXXX`
/usr/bin/pbpaste > $TMPFILE
echo $TMPFILE
~/bin/subl -w $TMPFILE:10000000:10000000
@waltonjones
waltonjones / APDRC3 Abstract (Sion).md
Created Mar 2, 2015
Abstract for APDRC3 in Beijing
View APDRC3 Abstract (Sion).md

A pair of central brain peptidergic neurons modulates peripheral olfactory sensitivity to specific odors in Drosophila

Sion Yi, Walton D. Jones

Department of Biological Sciences, KAIST, Republic of Korea

E-mail: waltonjones@kaist.edu

Animals olfactory systems detect thousands of different environmental chemicals that are important in finding food and mates and in avoiding predators. Although the olfactory system detects a wide variety of chemical stimuli, it does not do so with equal sensitivity. Olfactory sensitivity can even modulated depending on internal and external cues so odor perception can be adapted to changing conditions. Here, we show knock-down of neuropeptide F (NPF) in a pair of central brain NPFergic neurons desensitizes Or22a-expressing antennal olfactory neurons. These neurons, which respond to ethyl butyrate, a volatile ester found in apples and other fruits, are similarly desensitized by knock-down of the NPF receptor, NPFR, in the Or22a neurons themselves. We also show that th

You can’t perform that action at this time.