Skip to content

Instantly share code, notes, and snippets.

@quanticle
quanticle / message.txt
Created February 27, 2014 01:21
Encrypted message to hfaafb
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP JS 0.0.1
Comment: https://keybase.io/crypto
wcBMA9e5H48MznklAQf/S1l4wU/4keyFjvTFmAqZqdiaoGWcKnzK7EQalGnBnVmx
oP1AqFgcYD+RUb2YaT7MK1FRBws9IvGDwLC9ikAhL8kQ9tDcYilGpWMPI/fxCMIV
sdAIQIHMlYTAf7oSBUnXLkiYdMzCAR1zTYEAsTsAiCOLj5YaN4YgCy8bAd9dI9XJ
U14Edu4IwyJh5OCfpuPQ5BXUQR5vBj0XpLovLPmpAbXH+rG5FKQnBB4xRlvrVYHA
NMjJpR4yqy4K7iDeQStTvPEI9koinXZs6BsaVqRSaNTKO+Vn9LBMIiWtPZOsxl4q
ePPKXtMtt/IEuuMqlGa3VOrU6QhyijiySN+UVZOdJdLBTgF8HUXrmeNagwrCJJOh
Set options:
novc nodebug nod2
search recurse
timeout = 0 retry = 3 port = 53
querytype = A class = IN
srchlist =
;; Got SERVFAIL reply from 216.218.223.67, trying next server
Server: 216.218.223.67
Address: 216.218.223.67#53
@quanticle
quanticle / NewAccountForm.html
Created July 29, 2014 05:00
Attempting load and render a Backbone template in FirefoxOS
<form action="">
<div>
<label for="username">Username:</label>
<input type="text" id="username" />
</div>
<div>
<label for="password">Password:</label>
<input type="password" id="password" />
</div>
<div>
@quanticle
quanticle / NewAccountForm.js
Created July 29, 2014 06:07
NewAccountForm.js
define(['backbone', 'underscore', 'text!templates/NewAccountForm.html'], function(Backbone, _, formTemplate){
var newAccountView = Backbone.View.extend({
tagName: "div",
className: "app-container",
render: function(){
this.$el.html(_.tempate(formTemplate));
return this;
}
});
@quanticle
quanticle / RookTests.cs
Created January 3, 2015 18:46
Inconsistent syntax highlighting in emacs csharp mode
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FogchessCore;
namespace FogchessCoreTests
{
[TestClass]
public class RookTests
{
[TestMethod]
@quanticle
quanticle / .emacs
Created January 3, 2015 19:50
My .emacs
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-startup-folded (quote showeverything))
'(org-startup-truncated nil)
'(sentence-end-double-space nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
# [Created by task 1.9.4 12/4/2011 10:41:43]
# Taskwarrior program configuration file.
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-faq',
# 'man task-tutorial', 'man task-color', 'man task-sync' or 'man taskrc'
# Here is an example of entries that use the default, override and blank values
# variable=foo -- By specifying a value, this overrides the default
# variable= -- By specifying no value, this means no default
# #variable=foo -- By commenting out the line, or deleting it, this uses the default
  • Interfacing D with C++
    • Most languages offer interop with C
    • C is the lingua franca of the programming community
    • C interop with is simple
    • Motivation for C++ compat: "I want to use D, but I'm trapped in a cage of legacy C++"
    • C++ Interop
      • Which languages have C++ interop?
        • Almost nobody
      • C++ interop is a hard problem
  • Why?
@quanticle
quanticle / superbowl_ads.md
Created February 2, 2015 03:17
quanticle's superbowl ad breakdown
  • Superbowl ads:
    • Camry - I fail to see what the Camry has to do with legless people skiing and stuff, but okay
    • TurboTax - if the colonists had TurboTax, they wouldn't have revolted??
    • Game of War - stupid
    • Tomorrowland - Movie - okay
    • BMW i3 - dumb
    • Minions - movie - okay
    • Snickers - Brady Bunch - mildly amusing
    • Carnival Cruise lines - okay
  • Skittles - arm wrestling - mildly amusing
@quanticle
quanticle / gist:c941f239cfe9745b1411
Created March 18, 2015 07:51
rekts left side even side many rekt
☐ Not rekt
☑ Rekt
☑ Really Rekt
☑ Tyrannosaurus Rekt
☑ Cash4Rekt.com
☑ Grapes of Rekt
☑ Ship Rekt
☑ Rekt markes the spot
☑ Caught rekt handed
☑ The Rekt Side Story