I hereby claim:
- I am carlossless on github.
- I am carlossless (https://keybase.io/carlossless) on keybase.
- I have a public key ASDIyuZFuUxZrqPFmPDfiqKO-TZGi4cp6eKiKWJIKYzJ1Qo
To claim this, I am signing this object:
#!/bin/bash | |
gem uninstall cocoapods -a -x | |
gem uninstall cocoapods-core -a | |
gem uninstall cocoapods-deintegrate -a | |
gem uninstall cocoapods-downloader -a | |
gem uninstall cocoapods-plugins -a | |
gem uninstall cocoapods-search -a | |
gem uninstall cocoapods-stats -a | |
gem uninstall cocoapods-trunk -a |
from scipy.optimize import leastsq | |
import matplotlib.pyplot as plt | |
import numpy as np | |
# d=A*(r/t)^B+C | |
d = [0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.2,1.4,1.6,1.8,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,12.0,14.0,16.0,18.0,20.0,25] | |
r = [-20.64,-24.09,-27.55,-31.73,-35.27,-33.91,-31.36,-28.09,-32,-49.64,-52,-54.64,-55.18,-57.18,-58.64,-59.27,-72.55,-67.73,-66.65,-70,-68,-71,-74,-76,-83,-77,-83,-80,-80,-76] | |
t = -52.5 | |
x = map(lambda r: r / t, r) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
COMMIT_RANGE=$TRAVIS_COMMIT_RANGE | |
JIRA_ISSUE_PREFIX="VI-" | |
JIRA_ISSUE_BASE_URL="https://mycompany.atlassian.net/browse/" | |
if [ -z "$COMMIT_RANGE" ]; then >&2 echo "Commit Range is Empty. Exiting."; exit 0; fi | |
GIT_LOG=`git log --pretty=format:'%h %ad %s | %an' --date=short "$COMMIT_RANGE" | grep -v Merge | sed -E 's/.{7} (.*)/\1/g'` |
import Foundation | |
import ModuleB | |
public protocol CacheableConfiguration: Decodable { | |
static var fileName: String { get } | |
var version: Int { get } // this is what is triggering the linker fail | |
func object() -> AnyObject | |
} |
PATH=/usr/local/bin/:${PATH} | |
if command -v mogenerator >/dev/null 2>&1; then | |
mogenerator --v2 --model "$SRCROOT"/TeamApp/Database/TeamApp.xcdatamodeld --human-dir "$SRCROOT"/TeamApp/Database/Models --machine-dir "$SRCROOT"/TeamApp/Database/Models/Generated | |
else | |
echo "warning: You have to install and set up mogenerator to generate the data models" | |
fi | |
PATH=/usr/local/bin/:${PATH} | |
if command -v xcres >/dev/null 2>&1; then | |
xcres --no-ansi build "$PROJECT_FILE_PATH" "$SRCROOT"/TeamApp/Resources/R |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <time.h> | |
int rand_lim(int limit); | |
int try_game(); | |
int main () | |
{ | |
srand(time(NULL)); |
This guide is a fork from this gist. I've added minor adjustments to customise these rules to forward connections from an outsite interface like en0.
Since Mavericks stopped using the deprecated ipfw
(as of Mountain Lion), we'll be using pf
to allow port forwarding.
Create an anchor file under /etc/pf.anchors/com.jenkins
with your redirection rule like:
- (void)makeRotatedImagesWithImageView:(UIImageView *)imageView | |
{ | |
for (int i = 0; i < 30; i++) { | |
CGFloat angle = M_PI / 15 * i; | |
CGSize boundingSize = imageView.image.size; | |
boundingSize.width *= 2; | |
boundingSize.height *= 2; | |