[ Launch: Bar chart skeleton ] 8975269 by Cynddl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def to_dataframe(columns=None, iter=None): | |
""" | |
Decorator to return a pandas DataFrame from an iterator. | |
""" | |
def decorator(f): | |
@wraps(f) | |
def wrapper(*args, **kwds): | |
arr = list(f(*args, **kwds)) | |
iter_columns = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addprocs(3) | |
type AtomicTask | |
category::Symbol | |
end | |
const jobs = RemoteChannel(()->Channel{AtomicTask}(Inf)) | |
const results = RemoteChannel(()->Channel{Float64}(Inf)) | |
@everywhere function execute_jobs(jobs, results) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
adb root | |
adb shell service call connectivity 30 i32 1 | |
sudo kextunload /Library/Extensions/HoRNDIS.kext | |
sudo kextload /Library/Extensions/HoRNDIS.kext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from xmlrpc.client import ServerProxy | |
import click | |
@click.command() | |
@click.option('--alias', '-a', help='alias to add to the default mail account') | |
@click.option('--login', default='YOUR_LOGIN') | |
@click.option('--domain', default='YOUR_DOMAIN') | |
def main(alias, login, domain): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
000000000002a076 T _xmlSecAddChild | |
000000000002a24e T _xmlSecAddChildNode | |
000000000002ab36 T _xmlSecAddIDs | |
000000000002a385 T _xmlSecAddNextSibling | |
000000000002a505 T _xmlSecAddPrevSibling | |
0000000000031f8e S _xmlSecAttrAlgorithm | |
0000000000031f85 S _xmlSecAttrEncoding | |
0000000000031f98 S _xmlSecAttrFilter | |
0000000000031f70 S _xmlSecAttrId | |
0000000000031f7c S _xmlSecAttrMimeType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import bandicoot as bc | |
import datetime | |
import json | |
def load_google_gps(json_path, name='me'): | |
""" | |
Loads history from https://google.com/maps/timeline into | |
a bandicoot User object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"net/http" | |
"net/url" | |
"io/ioutil" | |
"log" | |
"strings" |
[ Launch: Simple circles ] 8973938 by Cynddl
[ Launch: bar chart ] 8967039 by Cynddl
NewerOlder