I hereby claim:
- I am timcamber on github.
- I am timcamber (https://keybase.io/timcamber) on keybase.
- I have a public key whose fingerprint is CFB3 7C3F 33A3 9FEF 176D 9842 5293 C403 EEE0 C3C8
To claim this, I am signing this object:
property theURL : "" | |
tell application "Safari" | |
set theURL to URL of current tab of window 1 | |
end tell | |
if appIsRunning("Google Chrome") then | |
tell application "Google Chrome" | |
make new window | |
set URL of active tab of window 0 to theURL | |
activate | |
end tell |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import pylab as plot | |
import numpy as np | |
from scipy.optimize import curve_fit | |
def func(x, a, b): | |
return a * np.power(b, x) | |
def logistic(x, L, k, x0): |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import pylab as plot | |
import numpy as np | |
from scipy.optimize import curve_fit | |
def func(x, a, b): | |
return a * np.power(b, x) | |
# Graph |
import pandas as pd | |
import matplotlib.pyplot as plt | |
import pylab as plot | |
import numpy as np | |
# Graph appearance parameters | |
params = { | |
'legend.fontsize': 20, | |
'legend.handlelength': 2, | |
'axes.titlesize': 24, |
-- *********************************** | |
-- Many thanks to Tim Bueno at http://www.timbueno.com/2012/06/27/pinboard-plus-alfred | |
-- for the inspiration to create this script. | |
-- *********************************** | |
on alfred_script(q) | |
try | |
-- Set this to be your Pinboard token, found here: https://pinboard.in/settings/password | |
set token to "MY_PINBOARD_TOKEN" | |
#!/usr/bin/env python | |
import math | |
import rospy | |
from sensor_msgs.msg import Image, JointState | |
from simple_arm.srv import * | |
class LookAway(object): | |
def __init__(self): |
#!/usr/bin/env python | |
import math | |
import rospy | |
from std_msgs.msg import Float64 | |
from sensor_msgs.msg import JointState | |
from simple_arm.srv import * | |
def at_goal(pos_j1, goal_j1, pos_j2, goal_j2): | |
tolerance = .05 |
I hereby claim:
To claim this, I am signing this object:
UIImage *im = [UIImage imageNamed:@"8n2ty.jpg"]; | |
UIImageView *iv = [[UIImageView alloc] initWithImage:im]; | |
[self.view addSubview:iv]; | |
CGFloat w = im.size.width / 2.; | |
CGFloat h = im.size.height / 2.; | |
UIImage *q1, *q2, *q3, *q4; | |
CGRect r1 = CGRectMake(0, 0, w, h); | |
CGRect r2 = CGRectMake(w, 0, w, h); | |
CGRect r3 = CGRectMake(0, h, w, h); |