Skip to content

Instantly share code, notes, and snippets.

View reallyfancy's full-sized avatar

Kerry Turner reallyfancy

View GitHub Profile
@LotteMakesStuff
LotteMakesStuff / Colors.cs
Created April 6, 2017 23:45
Trying to set Colours from code but need something better than the few that unity provide and dont wanna mess around with colour values for ages? Colors is your friend!!!
using UnityEngine;
public class Colors
{
// NOTE: The follwing color names come from the CSS3 specification, Section 4.3 Extended Color Keywords
// http://www.w3.org/TR/css3-color/#svg-color
public static readonly Color AliceBlue = new Color32(240,248,255,255);
public static readonly Color AntiqueWhite = new Color32(250,235,215,255);
public static readonly Color Aqua= new Color32(0,255,255,255);
@r4dian
r4dian / Android setup tips
Last active July 6, 2017 15:25
Blocking spam from "Whats New" app & Chrome suggestions
Android setup tips
( Blocking spam from "Whats New" app & Chrome suggestions )
@r4dian
r4dian / bash_prompt.sh
Last active March 28, 2017 14:48 — forked from bradsokol/bash_prompt.sh
Set colour bash prompt according to active virtualenv, Git, Mercurial or Subversion branch and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current Git, Mercurial or Subversion repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts. [Are you!? - r4dian]
@r4dian
r4dian / Unfavinator.py
Last active October 16, 2017 12:05
Delete all your (visible) twitter favs
#!/usr/bin/env python
import sys, os, time
# add the path for virtual env for running via cron
os.chdir(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/lib/python3.4/site-packages/')
import tweepy
#visit http://dev.twitter.com to create an application and get your keys