I hereby claim:
- I am janxious on github.
- I am joelmeador (https://keybase.io/joelmeador) on keybase.
- I have a public key ASA5KuxUM4vfOEXxHkHqp1qqLrWZhNGmshY2hJ-Bp3ot1wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* ==UserStyle== | |
@name Make twitter less bad | |
@namespace github.com/janxious | |
@version 1.2.0 | |
@description remove the sidebar, outline images without alt tags, change the font to something useful | |
@author Joel Meador | |
==/UserStyle== */ | |
@-moz-document domain("twitter.com") { | |
/* outline images without alt tags */ | |
div[aria-label="Image"] { |
-- export family trees | |
-- by Putnam https://gist.github.com/Putnam3145/34f7046481256cc4709d | |
--[====[ | |
family | |
====== | |
TODO | |
family -exportToCSV -this -heritage | |
family -exportToFamilyScript -this -heritage | |
]====] |
Because every language does this a little differently, here's a collection of ways to compute the unix timestamp. The technical details of what that means can be read on Wikipedia.
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("basecamp.com") { | |
body { font-family: "Helvetica Neue",helvetica,arial,sans-serif !important; } | |
.card--app { border-radius: 0.75em !important; } | |
.chat-line__bubble { | |
border-radius: 0.25em !important; | |
background-color: #fff !important; | |
} | |
} |
<html> | |
<head> | |
<style type="text/css"> | |
@page { size: A6; } /* Basic style for easier demonstration */ | |
body { font-family: Verdana; } /* Basic style for easier demonstration */ | |
.footnote { | |
float: footnote; | |
} | |
</style> |
defmodule RomanNumeral do | |
@numerals [ | |
{50, "L"}, | |
{40, "XL"}, | |
{10, "X"}, | |
{9, "IX"}, | |
{5, "V"}, | |
{4, "IV"}, | |
{1, "I"} | |
] |
fizzer = fn | |
(0,0,_) -> "FizzBuzz" | |
(0,_,_) -> "Fizz" | |
(_,0,_) -> "Buzz" | |
(_,_,n) -> n | |
end | |
fizzbuzz = fn(n) -> | |
fizzer.(rem(n,3), rem(n,5), n) | |
end |
import java.io.*; | |
import java.net.*; | |
public class JavaExample { | |
public static void main(String[] args) throws Exception{ | |
String document = "<html><body>This is a DocRaptor Example</body></html>"; | |
String apikey = "YOUR_API_KEY_HERE"; | |
String encoded_document = URLEncoder.encode(document, "UTF8"); | |
String data = "doc[document_content]=" +encoded_document; | |
data += "&doc[name]=java_sample.pdf"; |