Skip to content

Instantly share code, notes, and snippets.

@adrusi
adrusi / styles.less
Created July 8, 2014 20:50
Gnome 3 (adwaita) scroll bars for the Atom text editor.
@scrollbar-background-color: #d6d6d6;
@scrollbar-color: #9b9d9e;
.scrollbars-visible-always {
::-webkit-scrollbar {
width: 13px;
height: 13px;
}
::-webkit-scrollbar-track,
@adrusi
adrusi / keybase.md
Created January 5, 2015 18:28
keybase.md

Keybase proof

I hereby claim:

  • I am adrusi on github.
  • I am adrusi (https://keybase.io/adrusi) on keybase.
  • I have a public key whose fingerprint is F4C0 564A 2C88 DA3F 7F5D B0C6 B611 CA38 220B 5E16

To claim this, I am signing this object:

@adrusi
adrusi / template.php
Created November 26, 2010 16:21
cl_GTD Theme Template
<?php
$themes[] = "Theme Name";
$theme_name["task divider"]["foreground"] = "color";
$theme_name["task divider"]["background"] = null;
$theme_name["id"]["foreground"] = null;
$theme_name["id"]["background"] = null;
$theme_name["title"]["foreground"] = null;
@adrusi
adrusi / minima.html
Created December 20, 2010 02:05
tumblr theme
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 7]>
<script>
@adrusi
adrusi / orthographic.html
Created December 22, 2010 02:30
css3 & js orthographic drawing library
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<style>
body {
font-family: "Helvetica Neue", Helvetica, sans-serif;
}
input[type=range] {
[data-tooltip], .tooltip {
text-decoration: none!important;
border-bottom: 3px double black;
margin-bottom: -3px;
position: relative;
white-space: nowrap;
}
@-moz-document url-prefix() {
[data-tooltip], .tooltip, [data-tooltip] a, .tooltip a {
display: inline-block;
$button-top-left-border: #cccccc
$button-bottom-right-border: #bbbbbb
$button-top-background: #f9f9f9
$button-bottom-background: #e3e3e3
$button-text-color: #000000
$button-active-top-left-border: #555555
$button-active-bottom-right-border: #444444
$button-active-top-background: #666666
$button-active-bottom-background: #7c7c7c
$button-active-text-color: #ffffff
@adrusi
adrusi / Alumina UI.html
Created January 31, 2011 21:40
A massive collection of UI elements in CSS3. Webkit only.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>UI Kit</title>
<style>
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
@adrusi
adrusi / open_in_hashify.rb
Created May 15, 2011 19:46
TextMate command to open a markdown document in hashify.me
#!/usr/bin/env ruby
require "base64"
data = STDIN.read
%x[open http://hashify.me/#{Base64.encode64(data)}]
=begin
+-[ COMMAND SETTINGS ]------------+
| Save: nothing |
| Input: entire document |
@adrusi
adrusi / pure.js
Created June 5, 2011 21:54
Spec for an extension to javascript that makes it purely functional (with the exception of global variables)
define a = b, // global.a = b;
c = d; // global.c = d;
define f(x) { // global.f = function(x) {
// return;
} // }; global.f.name = "f";
/* only globals can be reassigned, and only with the `define` keyword */
let (a = b, c = d) { // (function() { var a = b, c = d; (function(a, c) {
console.log(a, c); // return console.log(a, c);