CLICK ME
yes, even hidden code blocks!
print("hello world!")
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |
Copyright (c) 2015 Matthias Esterl | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
module Expression | |
def ops | |
{ :+ => :add, | |
:- => :sub, | |
:* => :mult, | |
:/ => :div, | |
:** => :exp } | |
end | |
module_function :ops |
package main | |
import ( | |
"flag" | |
"golang.org/x/net/websocket" | |
"io" | |
"log" | |
"net" | |
"net/http" | |
"os" |
#usage "en: <b>Calculate the price of a dual-layer PCB if you order them at OSH Park.</b>" | |
"<p>Usage: run oshprice</p>" | |
"<p>Author: <author>Arno Moonen <info@arnom.nl></author><br />" | |
"Version: <em>201405042026</em></p>" | |
// THIS PROGRAM IS PROVIDED AS IS AND WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED | |
void main() { | |
if(!board) { | |
// No board |
javascript: "i.reddit.com"===document.location.hostname||"old.reddit.com"===document.location.hostname||"amp.reddit.com"===document.location.hostname||"reddit.com"===document.location.hostname||"www.reddit.com"===document.location.hostname?document.location="https://teddit.net"+document.location.pathname:alert("Invalid domain! This bookmarklet only works with Reddit.com"); |