Impact | Description | Total |
---|---|---|
Direct Impact | Meetups, confs and talks | +1.1k |
Indirect Impact | Articles, Stack overflow | +135k |
People Trained | Workshops | +60 |
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 Disable merge options on Github branches | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Avoid accidentally using the wrong merge option for specific branches. THIS SCRIPT NEEDS TO BE TWEAKED FOR YOUR PERSONAL NEEDS(more precisely "@match" column and "disabledBranchesByMethod"). | |
// @author Ivan Degtiarenko | |
// @match https://github.com/<YOUR_ORGANIZATION>/<YOUR_REPOSITORY>/pull/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// @run-at document-start |
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
:: | |
:: Reclaims Windows disk space in a "destructive" manner (can't uninstall service packs and updates afterwards, etc.). | |
:: Use at your own risk. Useful for Windows installations in space-constrained environments, such as a small Boot Camp | |
:: partition on a Mac. | |
:: | |
:: [IMPORTANT] It is strongly suggested to make a full-disk backup of your Windows partition before running this script, | |
:: as you can't roll back service packs and updates afterwards. | |
:: | |
:: [IMPORTANT] Run this script as admin (required to run `Dism.exe` among other things). | |
:: |
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
createStrippedAndDebugInfo() { | |
cd ${REPO_PATH} # assuming we're in your repository's directory | |
ANDROID_NDK=<PATH_TO_NDK> | |
TMP_DIR_NAME=tmp_strip_symbols | |
AAR=`find -name '*.aar'` # find the path to the AAR containing the binaries | |
mkdir -p ${TMP_DIR_NAME} | |
try cd ${TMP_DIR_NAME} |
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 bash | |
# Accept licenses | |
${ANDROID_HOME}/tools/bin/sdkmanager --licenses | |
# Install dependencies | |
./gradlew androidDependencies || true |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
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
/* | |
* Copyright (C) 2017 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 demo; | |
import java.io.Serializable; | |
import java.security.Principal; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.UUID; |
This gitst contains a script to push Android libraries as artifacts on a maven repository using the gradle build system.
It is somewhate a fork of Chris Banes gradle push script.
This was me while trying to understand how to setup maven publishing with gradle:
Documentation is absent or very lacking and I found no script handling javadoc properly for Android.
NewerOlder