This file contains hidden or 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
| apply plugin: 'com.android.application' | |
| apply from: 'nonnull.gradle' | |
| android { | |
| compileSdkVersion 24 | |
| buildToolsVersion "24.0.2" | |
| [...] | |
| } |
This file contains hidden or 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
| /** | |
| * File: nonnull.gradle | |
| * | |
| * Generates package-info.java for appropriate packages | |
| * inside src/main/java folder. | |
| * | |
| * This is a workaround to define @ParametersAreNonnullByDefault for all Java classes in a package | |
| * i.e. including all subpackages (note: edit line no. 19). | |
| */ | |
| task generateNonNullJavaFiles(dependsOn: "assembleDebug", type: Copy) { |
This file contains hidden or 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 ruby | |
| # | |
| # CLI tool for locating and removing a Homebrew installation | |
| # It replaces the official uninstaller, which is insufficient and often breaks | |
| # If files were removed, the script returns 0; otherwise it returns 1 | |
| # | |
| # http://brew.sh/ | |
| # | |
| # Copyright (C) 2025 Stephen C. Benner | |
| # |
This file contains hidden or 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
| #EXTM3U | |
| #EXTINF:-1,BBC - Radio 1 | |
| http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p | |
| #EXTINF:-1,BBC - Radio 2 | |
| http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p | |
| #EXTINF:-1,BBC - Radio 3 | |
| http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/http-icy-aac-lc-a/format/pls/vpid/bbc_radio_three.pls | |
| #EXTINF:-1,BBC - Radio 4 | |
| http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p | |
| #EXTINF:-1,BBC - Radio 5 live |
This file contains hidden or 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 com.google.common.collect.Sets; | |
| import org.apache.commons.lang.ArrayUtils; | |
| import org.apache.commons.lang.StringUtils; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.command.*; | |
| import org.bukkit.entity.Player; | |
| import org.bukkit.plugin.Plugin; | |
| import org.bukkit.plugin.SimplePluginManager; | |
| import java.lang.annotation.ElementType; |
This file contains hidden or 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 | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |