Skip to content

Instantly share code, notes, and snippets.

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

Donovan Gentlebread donomans

🏠
Working from home
  • Minneapolis, Minnesota
View GitHub Profile

Keybase proof

I hereby claim:

  • I am fronn on github.
  • I am donomans (https://keybase.io/donomans) on keybase.
  • I have a public key whose fingerprint is 5397 6E29 8709 C2B7 9690 8FB9 4E03 2DC6 952B 5A4F

To claim this, I am signing this object:

@donomans
donomans / skip_files.yaml
Created March 21, 2013 18:30
Good selection of ignored files for AppEngine deployments to reduce the amount of files uploaded by a lot, potentially (depending on how many bower packages and git clones you have done).
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
@donomans
donomans / texture.html
Created September 14, 2012 20:48
Creates a textured solid color swatch with Dart
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Texture creator</title>
<link type="text/css" rel="stylesheet" href="sunflower.css">
</head>
<body>
<div id="container">
<canvas id="canvas" width="150" height="150" class="center"></canvas>
@donomans
donomans / StripHtml
Created August 31, 2012 20:56
Strip the HTML and get raw page content
private static String StripHtml(String source)
{
List<Char> array = new List<Char>(source.Length);
Boolean inside = false;
Boolean dquotes = false;
Boolean squotes = false;
///1) look for tags or things that need to be fully removed (entire containing contents) and remove them
source = source.Replace("&nbsp;", "").Replace("Â", "").Replace("<br>", " ").Replace("<br />", " ");
String lowersource = source.ToLower();