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
{ | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { |
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
Verifying my Blockstack ID is secured with the address 1JcqJ3ZfYXtA3cfDdmVTATfHPKC5DoyqiJ https://explorer.blockstack.org/address/1JcqJ3ZfYXtA3cfDdmVTATfHPKC5DoyqiJ |
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
// Initialize WebView programmatically | |
MintUIWebView *webView = [[MintUIWebView alloc] init]; | |
// Or initialize WebView from Interface Builder | |
//Go to the identity inspector, and change the class from UIWebView to MintUIWebView | |
// Enable Hybrid | |
[webView setDelegate:self]; | |
//MintWKWebView |
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
#image_overlay_panel .image{ | |
background: transparent 50% 50% no-repeat url('https://www.dropbox.com/s/9556bq4h0bnd7q0/retail_floor_plan.jpg?dl=0'); | |
min-height: 500px; | |
} | |
#image_overlay_panel .dashboard-panel { | |
position: relative; | |
height: 520px; | |
} | |
#image_overlay_panel .panel-element-row { | |
width: 1200px; |
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
### Keybase proof | |
I hereby claim: | |
* I am panosjee on github. | |
* I am panosjee (https://keybase.io/panosjee) on keybase. | |
* I have a public key whose fingerprint is 3979 5DB8 0196 2BD4 47F4 7FFA 8BE3 A860 4568 46CE | |
To claim this, I am signing this 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
import requests | |
import json | |
base = 'https://www.bugsense.appspot.com' | |
def get_all_projects(token, **kwargs): | |
from datetime import datetime, timedelta | |
timestamp = (datetime.utcnow() - timedelta(days=1)).replace(hour=23,minute=59,second=59) | |
base_url = "%s/api/v1/projects.json" % (base) |
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
# run atos | |
sub symbolize_frames { | |
my ($images,$bt) = @_; | |
# create mapping of framework => address => bt frame (adjust for slid) | |
# and for framework => arch | |
my %frames_to_lookup = (); | |
my %arch_map = (); | |
my %base_map = (); | |
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
# -*- coding: utf-8 -*- | |
""" | |
bugsense_cli.py | |
~~~~ | |
Sample script to upload dSYMSs and access the Read API | |
:version: 0.1 | |
:copyright: 2013 by bugsense.com. | |
""" | |
from urllib import quote |
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
init([]) -> | |
% Start the scheduled GC job every minute. Naive! | |
erlang:send_after(60 * 1000, self(), {gc}), | |
{ok, no_state}. | |
handle_info({gc}, State) -> | |
case erlang:memory(binary) of | |
% We use more than 500 MB of binary space | |
Binary when Binary > 500000000 -> | |
erlang:garbage_collect(self()) |
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
function fetchdata() | |
local phandle = assert(io.open('event.json', 'r')) | |
local pdata = phandle:read('*all') | |
phandle:close() | |
return pdata | |
end | |
wrk.method = 'POST' | |
wrk.body = fetchdata() | |
wrk.headers['Content-Type'] = 'application/json' |
NewerOlder