Skip to content

Instantly share code, notes, and snippets.

View branflake2267's full-sized avatar
🏠
Working from home

Brandon Donnelson branflake2267

🏠
Working from home
View GitHub Profile
@branflake2267
branflake2267 / A_Combo_withCheckboxCellList_MultiSelection.java
Last active March 11, 2016 00:06
ComboBox with a CheckBox selection in the selection list.
import java.util.ArrayList;
import java.util.List;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.sencha.gxt.widget.core.client.button.TextButton;
import com.sencha.gxt.widget.core.client.event.SelectEvent;
import com.sencha.gxt.widget.core.client.event.SelectEvent.SelectHandler;
import com.sencha.gxt.widget.core.client.info.Info;
@rhmoller
rhmoller / build.gradle
Created October 20, 2014 21:32
Gradle example of fetching dependencies from GWT_TOOLS
repositories {
ivy {
url "https://google-web-toolkit.googlecode.com/svn/tools/lib"
layout "pattern", {
artifact "[artifact]-[revision].[ext]"
}
}
}
configurations {
@daniellevass
daniellevass / android_material_design_colours.xml
Last active March 26, 2024 15:48
Android Material Design Colours
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- google's material design colours from
http://www.google.com/design/spec/style/color.html#color-ui-color-palette -->
<!--reds-->
<color name="md_red_50">#FFEBEE</color>
<color name="md_red_100">#FFCDD2</color>
<color name="md_red_200">#EF9A9A</color>
@mufumbo
mufumbo / gist:6406055
Created September 1, 2013 17:44
proguard configuration that we use to shrink a spring-mvc project that is deployed on appengine. our goal was to reduce startup time and improve the issues with cold startup. we used spring-mvc, velocity and JDO
##---------------Begin: proguard configuration common for all Android apps ----------
-optimizationpasses 1
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontpreverify
-verbose
#-dump class_files.txt
#-printseeds seeds.txt
#-printusage unused.txt
@adam-singer
adam-singer / MirrorsAreReal.dart
Created July 21, 2012 07:29
Just noticed that mirrors are being compiled into the dartvm. Note mirrors implementation is still not ready :)
#!/usr/bin/env dart
#import('dart:mirrors');
#import('dart:isolate');
/*
* mirrors.h
* mirrors_impl.dart
* mirrors_sources.gypi
* mirrors.dart
*/
@branflake2267
branflake2267 / buildit.bat
Created July 19, 2012 14:35 — forked from adam-singer/buildit.bat
Building dart on win32, the quick guide
cd c:\
mkdir dart_bleeding
svn co http://gyp.googlecode.com/svn/trunk build/gyp
mkdir dart-repo
set Path=%PATH%;c:\dart_bleeding\build\gyp\
git svn clone -rHEAD "https://dart.googlecode.com/svn/branches/bleeding_edge/dart" dart
gclient config "https://dart.googlecode.com/svn/branches/bleeding_edge/deps/all.deps"
cd dart
gclient sync
gclient runhooks
@rally25rs
rally25rs / MvcMockHelpers.cs
Created January 8, 2012 15:26
MvcMockHelpers.cs - Helper Utility for Mocking MVC3 Controllers with Moq.
using System;
using System.Collections.Specialized;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Moq;
/// <summary>
/// This helper class can be used to set up Moq mocks of MVC3 controllers.
/// Slightly modified from the original version from Scott Hanselman's blog: