Skip to content

Instantly share code, notes, and snippets.

View y2bd's full-sized avatar
💭
Fine, thanks

Jason Lo y2bd

💭
Fine, thanks
View GitHub Profile
@y2bd
y2bd / onlyAudioslavePlease.cs
Last active December 14, 2015 16:28
That feeling when something you have no idea would work works.
MediaLibrary m = new MediaLibrary();
IEnumerable<Song> songs = m.Songs.Where((song) => { return song.Artist.Name == "Audioslave"; });
foreach (Song s in songs) {
Debug.WriteLine(s.Name);
}
/* live-tomorrow.css */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("livechan.herokuapp.com") {
body,html {
background: none repeat scroll 0% 0% #1D1F21 !important;
color: #C5C8C6;
}
@y2bd
y2bd / gist:10088835
Created April 8, 2014 03:52
best ffmpeg for webm
ffmpeg -i FILE.EXT -ss 00:01:00 -t 00:00:10 -c:v libvpx -b:v 2457k -quality best -threads 7 -slices 8 -auto-alt-ref 1 -lag-in-frames 16 -an -pass 1 -f webm /dev/null
ffmpeg -i FILE.EXT -ss 00:01:00 -t 00:00:10 -c:v libvpx -b:v 2457k -quality best -threads 7 -slices 8 -auto-alt-ref 1 -lag-in-frames 16 -an -pass 2 out.webm
@y2bd
y2bd / twitterer.lua
Last active May 19, 2016 11:53
Twitter URL generator for Lua
local tweet, map, appendparam, encode
local Twitterer = setmetatable({tweet=tweet}, {__call = function(t, params) return tweet(params) end})
tweet = function(params)
text = params[1] or params.text or nil
url = params[2] or params.url or nil
via = params[3] or params.via or nil
hashtags = params[4] or params.hashtags or nil
related = params[5] or params.related or nil
@y2bd
y2bd / hobonichi.md
Last active August 29, 2015 14:21
Hoooooooobonichi Review!!!!!!!!

Note: I did not write this post. I only transcribed it. All credit goes to the awesome /u/glah. Note that many of the links hide more images if you want more pretty pictures. {: .callout .info}

Avast /r/notebooks!

Anchors away for a trip on the USS Review! Today's port o' call: Hobonichi Techo 2015.

## Table of Contents
1. [What kind of game?](#what-kind-of-game)
1. [What are the goals?](#what-are-the-goals)
1. [How is it unique?](#how-is-it-unique)
1. [Features](#features)
## What kind of game?
The game we have in mind is a multiplayer puzzle-platformer with a mix of both cooperative and competitive elements. Set on a Space Prison set to crash, four robot inmates have to work together and escape before time runs out. However, there's a reason the robots are in prison, and they might have ulterior motives that prevent them all from making it out.
layout title categories permalink description
post
Project Specification
design
planning
project-spec
The specification of our CSE 125 project
@y2bd
y2bd / README.md
Created May 5, 2019 20:23
SCRIPT-8
@y2bd
y2bd / README.md
Created May 5, 2019 20:24
SCRIPT-8
@y2bd
y2bd / README.md
Last active May 5, 2019 22:30
SCRIPT-8