Skip to content

Instantly share code, notes, and snippets.

View geeksunny's full-sized avatar

Justin Swanson geeksunny

View GitHub Profile
@mcginty
mcginty / material_colors.xml
Last active March 17, 2022 04:09
Android XML resource with the full material color palette. Source: http://www.google.com/design/spec/style/color.html#color-color-palette
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="material_red50">#ffffebee</color>
<color name="material_red100">#ffffcdd2</color>
<color name="material_red200">#ffef9a9a</color>
<color name="material_red300">#ffe57373</color>
<color name="material_red400">#ffef5350</color>
<color name="material_red500">#fff44336</color>
<color name="material_red600">#ffe53935</color>
<color name="material_red700">#ffd32f2f</color>
INSERT INTO 'snippets' ('title', 'body') VALUES
(':+1:', '👍'),
(':-1:', '👎'),
(':100:', '💯'),
(':1234:', '🔢'),
(':8ball:', '🎱'),
(':a:', '🅰'),
(':ab:', '🆎'),
(':abc:', '🔤'),
(':abcd:', '🔡'),
@ErisBlastar
ErisBlastar / twitter_favouriter.py
Last active October 19, 2020 07:48 — forked from jmoz/twitter_favouriter.py
Fixes UTF-8 UNICODE character problem when pulling text from Tweets to stop an error.
# Original by James Morris JMOZ at: http://blog.jmoz.co.uk/increase-your-twitter-followers/
# Modified by Eris Blastar http://iwethey.neocities.org/ erisblastar@gmail.com to encode UTF-8 strings in case
# of foriegn language and odd characters. PS you will need Python 2.7 as Python 3.X won't work
# and of course the Twitter library https://pypi.python.org/pypi/twitter
# plus the setuptool to install the library the Windows version is here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
# You need your API key from https://dev.twitter.com/discussions/631 and make sure it isn't set to
# read-only when you make the access token.
# Good luck, Eris.
from twitter import Twitter, OAuth, TwitterHTTPError
@agnoster
agnoster / README.md
Last active April 6, 2024 22:35
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@keyboardsurfer
keyboardsurfer / .gitignore
Last active December 11, 2019 01:55
Android gitignore
# Copyright: Benjamin Weiss (keyboardsurfer) https://github.com/keyboardsurfer
# Under CC-BY-SA V3.0 (https://creativecommons.org/licenses/by-sa/3.0/legalcode)
# built application files
*.apk
*.ap_
*.jar
!gradle/wrapper/gradle-wrapper.jar
# lint folder
@mastergizmo
mastergizmo / jq-mobile-green-button-theme.css
Created August 5, 2011 16:08 — forked from irohiroki/gist:909284
jQuery Mobile Green Theme for Buttons
.ui-btn-up-g, .ui-btn-hover-g, .ui-btn-down-g
{
color: white;
font-weight: bold;
text-decoration: none;
}
.ui-btn-up-g
{
border: 1px solid #397114;