Butt Dialed, and its creator, will NOT transmit your contact information or call log anywhere. It's that simple.
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 getAaptPath = { -> | |
def sdkDir = android.sdkDirectory | |
def buildToolsDir = new File(sdkDir, "build-tools") | |
def versions = buildToolsDir.list() | |
def latestBuildToolsDir = new File(buildToolsDir, versions[-1]) | |
return "${new File(latestBuildToolsDir, "aapt").absoluteFile}" | |
} |
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
allprojects { | |
repositories { | |
jcenter() | |
maven { url "https://jitpack.io" } | |
} | |
} |
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
dependencies { | |
debugCompile 'com.github.jasonwyatt.Android-DebugPort:lib:2.0.0' | |
releaseCompile 'com.github.jasonwyatt.Android-DebugPort:lib-noop:2.0.0' | |
} |
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
<!-- You can change the parent around to whatever you normally use --> | |
<style name="DebugColors" parent="Theme.AppCompat"> | |
<!-- System colors --> | |
<item name="android:windowBackground">@color/__debugWindowBackground</item> | |
<item name="android:colorPressedHighlight">#FF4400</item> | |
<item name="android:colorLongPressedHighlight">#FF0044</item> | |
<item name="android:colorFocusedHighlight">#44FF00</item> | |
<item name="android:colorActivatedHighlight">#00FF44</item> |
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 random_string(n_chars): | |
'''Generates a random string of length n_chars. | |
>>> random_string(5) | |
'FM>ro' | |
>>> random_string(8) | |
'"K^V]J|/' | |
>>> random_string(32) | |
')tTu,2"s`ke`MF0}qWd.-&__C8OEksQy' |
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(){ | |
var callback = function(){}, | |
callbackName = 'gmapscallback'+(new Date()).getTime(); | |
window[callbackName] = callback; | |
define(['http://maps.googleapis.com/maps/api/js?sensor=true&callback=' + callbackName], function(){ | |
return google.maps; | |
}); | |
})(); |
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
// ==UserScript== | |
// @name TL Trac Beautifier | |
// @namespace https://dev.transloc.com | |
// @description Makes Trac look much better. | |
// @include https://dev.transloc.com/* | |
// ==/UserScript== | |
var $; | |
// Add jQuery |
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 fadeOut(line, keepAround, fadeDuration){ | |
keepAround = keepAround || 1000; | |
fadeDuration = fadeDuration || 500; | |
setTimeout(function(){ | |
var startingOpacity = line.strokeOpacity, | |
startTime = (new Date()).getTime(); | |
function step(){ | |
var currentTime = (new Date()).getTime(), |