I hereby claim:
- I am brandonsmith on github.
- I am brandonsmith (https://keybase.io/brandonsmith) on keybase.
- I have a public key whose fingerprint is 42F0 33EE 3293 9438 48DD 74EF 8BE9 B7D4 6824 BE70
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Bitmap batmapBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.batman); | |
RoundedBitmapDrawable circularBitmapDrawable = // | |
RoundedBitmapDrawableFactory.create(getResources(), batmapBitmap); | |
circularBitmapDrawable.setCornerRadius(batmapBitmap.getWidth()); | |
myImageView.setImageDrawable(circularBitmapDrawable); | |
System.out.prinln("MyActivity", "That's all folks"); |
#!/bin/sh | |
ROOT=/Volumes/git | |
#SM_ROOT=zero | |
#SM_SUBMODULES=( CORE/dojo ) | |
AB_ROOT=appbuilder | |
AB_SUBMODULES=( BUILD/zero.build BUILD/zero.docs BUILD/zero.findbugs.ext BUILD/zero.infocenter.build BUILD/zero.infocenter.feature BUILD/zero.infocenter.updatesite ) | |
SUBMODULES=(${AB_SUBMODULES[@]}) # ${SM_SUBMODULES[@]} |
<script type="text/javascript" charset="utf-8"> | |
var is_ssl = ("https:" == document.location.protocol); | |
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/"; | |
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript" charset="utf-8"> | |
var feedback_widget_options = {}; | |
feedback_widget_options.display = "overlay"; |
<extension name="transfer_to_voicemail"> | |
<condition field="destination_number" | |
expression="^transfer_to_voicemail$"> | |
<action application="sleep" data="1"/> | |
<action application="set" data="continue_on_fail=true"/> | |
<action application="read" data="3 5 {{ vm_id_prompt_file }} vmbox_id 30000 #"/> | |
<action application="set" data="origination_cancel_key=#"/> | |
<action application="transfer" data="validate_transfer_vbox_id"/> | |
</condition> | |
</extension> |
(function() { | |
var CSSCriticalPath = function(w, d, opts) { | |
var opt = opts || {}; | |
var css = {}; | |
var pushCSS = function(r) { | |
if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
for(var i = 0; i < styles.length; i++) { | |
if(!!styles[i] === false) continue; | |
var pair = styles[i].split(": "); |
import { | |
app, | |
dialog, | |
shell | |
} from 'electron' | |
import os from 'os' | |
import childProcess from 'child_process' | |
import sudo from 'sudo-prompt' | |
import path from 'path' |
import { ipcMain } from 'electron' | |
import uuid from 'uuid' | |
/** | |
* Makes a data request over IPC to renderer process | |
* @param {string} request Request type known to main handler | |
* @param {object} Optional `options` object used as parameters for request | |
* @return {Promise} Promise of data | |
*/ | |
export function call(window, request, options={}) { |
const {app,Notification} = require('electron') | |
app.on('ready', () => { | |
showNextNotification() | |
}) | |
let i = 0 | |
showNextNotification = () => { | |
const notification = new Notification({ |
#!/bin/bash | |
curl=/usr/local/opt/curl/bin/curl | |
openssl=/usr/local/opt/openssl/bin/openssl | |
deviceToken=TOKEN | |
authKey="./AuthKey_##########.p8" | |
authKeyId=########## | |
teamId=########## |