Skip to content

Instantly share code, notes, and snippets.

View CiaraBurkett's full-sized avatar

ciara CiaraBurkett

View GitHub Profile
@CiaraBurkett
CiaraBurkett / billboard.shader
Created March 20, 2019 14:24 — forked from kaiware007/billboard.shader
Simple Billboard shader for Unity
Shader "Unlit/Billboard"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags{ "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" "DisableBatching" = "True" }
@CiaraBurkett
CiaraBurkett / .gitignore
Last active May 22, 2017 16:34
Unity .gitignore
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild[s]/
/Assets/Plugins/
/Assets/Characters/
/Assets/Environments/
# Autogenerated VS/MD solution and project files
[Ee]xported[Oo]bj/
" enable Pathogen plugin
call pathogen#infect()
call pathogen#helptags()
" enable syntax highlighting
syntax on
" enable line numbers
set number
@CiaraBurkett
CiaraBurkett / termina.c
Created September 22, 2014 14:57
Termina
/*
* =====================================================================================
*
* Filename: termina.c
*
* Description: termina mobile investigation unit
*
* Version: 1.0
* Created: 04/19/2014 19:57:17
* Revision: none
@CiaraBurkett
CiaraBurkett / ichiban.meteor.com.css
Last active August 29, 2015 14:06
Ichiban Code
/* Made by ciara.io for Meteor Academy */
body {
color: #333;
font-family: sans-serif;
font-size: 115%;
line-height: 24px;
}
footer {
@CiaraBurkett
CiaraBurkett / utilities.js
Created May 1, 2014 13:33
Utilities.js from Larry Ullman's Modern JavaScript
// Utilities.js from Larry Ullman's Modern JavaScript
var U = {
$: function(id) {
'use strict';
if (typeof id == 'string') {
return document.getElementById(id);
}
}, // end $()
@CiaraBurkett
CiaraBurkett / fizzbuzz.coffee
Created May 27, 2013 13:28
Fizzbuzz version 2 with CoffeeScript
# FizzBuzz with CoffeeScript
for n in [1..100]
if n % 3 is 0 and n % 5 is 0 then console.log "FizzBuzz"
else if n % 3 is 0 then console.log "Fizz"
else if n % 5 is 0 then console.log "Buzz"
else console.log n
@CiaraBurkett
CiaraBurkett / slim-rails.sublime-snippet
Last active December 14, 2015 08:49
A Sublime Text code snippet for Slim with Rails. I'll be adding Internet Explorer fallbacks.
<snippet>
<content><![CDATA[
doctype html
html lang="en"
head
meta charset="UTF-8"
title $1
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
# An attempt to scrape students.flatironschool.com and retrieve student names, links, taglines, and excerpts
# and create a Hash out of the information
require "open-uri"
require "nokogiri"
url = "http://students.flatironschool.com"
doc = Nokogiri::HTML(open("#{url}"))
names = "h2"
hrefs = ".one_third a"
# Time is on my side
def seconds_in_minutes(int)
int * 60
end
def minutes_in_hours(int)
int * 60
end