Skip to content

Instantly share code, notes, and snippets.

@webdestroya
webdestroya / RichardIsAFuckingIdiot.cs
Created January 4, 2012 01:27
RichardIsAFuckingIdiot
//Code sanitized to protect the foolish.
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Web.UI;
namespace Mobile.Web.Control
{
/// <summary>
@webdestroya
webdestroya / gist:1557969
Created January 4, 2012 01:30
RRComment
/**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/
@webdestroya
webdestroya / screenrc
Created August 15, 2012 15:47
screenrc
vbell on
escape ``
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m/%d %{W}%c %{g}]'
defutf8 on
@webdestroya
webdestroya / yolo
Created April 26, 2013 17:02 — forked from tagrudev/yolo
# Do not refactor, it is a bad practice. YOLO
# Not understanding why or how something works is always good. YOLO
# Do not ever test your code yourself, just ask. YOLO
# No one is going to read your code, at any point don't comment. YOLO
# Why do it the easy way when you can reinvent the wheel? Future-proofing is for pussies. YOLO
# ...
gem 'unicorn'
# ...
qhull precision error: Only 4 facets remain. Can not merge another
pair. The convexity constraints may be too strong. Reduce the
magnitude of 'Cn' or increase the magnitude of 'An'. For example,
try 'C-0.001' instead of 'C-0.1' or 'A-0.999' instead of 'A-0.9'.
#include <sourcemod>
public Plugin:myinfo =
{
name = "killjoy",
author = "WebDestroya",
description = "Does something for killjoy",
version = "1.0",
url = "http://www.mitchdb.com/"
};
class Sync.StatementListRow extends Sync.View
beforeInsert: ($el) ->
$el.hide()
@insert($el)
afterInsert: ->
@$el.fadeIn('slow')
task :close, [:number] do |t, args|
number = args[:number]
status = IssueStatus.find_by_name("Closed")
Issue.find(number).update_attribute(:status, status.id)
end
steam@tf2:/steam/steamcmd$ free -m
total used free shared buffers cached
Mem: 496 490 5 0 5 72
-/+ buffers/cache: 412 83
Swap: 0 0 0