Skip to content

Instantly share code, notes, and snippets.

View bryantwilliam's full-sized avatar

W bryantwilliam

  • New Zealand
  • 11:43 (UTC +12:00)
View GitHub Profile
@bryantwilliam
bryantwilliam / TheDayAhead_pageTemplate.xaml
Last active March 1, 2017 05:39
Page template I made for TheDayAhead xamarin app. (Background image, navigation bottom bar, namespace declarations)
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="TheDayAhead.DiaryPage"
xmlns:local="clr-namespace:TheDayAhead;assembly=TheDayAhead">
<ContentPage.Padding>
<OnPlatform x:TypeArguments="Thickness"
iOS="0, 20, 0, 0" />
</ContentPage.Padding>
@bryantwilliam
bryantwilliam / Main.java
Last active September 17, 2015 09:29
Standard messages I will use.
@Override
public void onEnable() {
getLogger().info("Starting up " + this.getName() + ". If you need me to update this plugin, email at gogobebe2@gmail.com");
}
@Override
public void onDisable() {
getLogger().info("Disabling " + this.getName() + ". If you need me to update this plugin, email at gogobebe2@gmail.com");
}
@bryantwilliam
bryantwilliam / plugin.yml
Last active August 29, 2015 14:19
plugin.yml file template for bukkit.
name:
version: 1.0.0-DEVELOPMENT-SNAPSHOT
main: com.gmail.gogobebe2.
description:
author: William Bryant (gogobebe2)
website: gogobebe2@gmail.com
@bryantwilliam
bryantwilliam / pom.xml
Last active August 29, 2015 14:19
Bukkit pom template
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.gogobebe2</groupId>
<artifactId></artifactId>
<version>1.0.0-DEVELOPMENT-SNAPSHOT</version>
@bryantwilliam
bryantwilliam / gist:1ce4240cabdafcc5938c
Last active October 2, 2015 07:56
Garry's Mod fix.
sudo su
find ./ -depth -type d -exec rename 'y/[A-Z]/[a-z]/' {} ";"
find ./ -depth -type d -exec rename 'y/[A-Z]/[a-z]/' {} ";"