Skip to content

Instantly share code, notes, and snippets.

@theduke
theduke / crawler.go
Created August 2, 2015 20:49
Meduni Wien Campus Crawler
package crawler
import (
"io/ioutil"
"log"
//"net"
"net/http"
//"net/url"
"crypto/tls"
"encoding/json"
@theduke
theduke / gist:6bfa46738f679f036712
Last active November 11, 2015 16:44
Nim bindSym test
import macros
proc myEcho() =
echo("myEcho")
macro m1(body: stmt): stmt =
result = newNimNode(nnkStmtList)
result.add(newCall(bindSym("myEcho", rule=brOpen)))
m1():
  • web/apps/user/model.ex

  • web/apps/user/controller.ex

  • web/apps/user/view.ex

  • web/apps/somemodel/model.ex

  • ...

  • ...

  • ...

defmodule Ihub.Mixfile do
use Mix.Project
def project do
[app: :ihub,
version: "0.0.1",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
build_embedded: Mix.env == :prod,

Keybase proof

I hereby claim:

  • I am theduke on github.
  • I am the_duke (https://keybase.io/the_duke) on keybase.
  • I have a public key ASBYK_k0ympCFwmOqH83xIZ0nQBbRIrhNAN9fjfBjRnEugo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am theduke on github.
* I am the_duke (https://keybase.io/the_duke) on keybase.
* I have a public key whose fingerprint is 5E17 1594 414B 2E13 0B99 16C8 DAFF 71D4 8B49 3238
To claim this, I am signing this object:
We couldn’t find that file to show.
gistup
gistup
This file has been truncated, but you can view the full file.
warning: /home/theduke/dev/github.com/graphql-rust/juniper/integration_tests/juniper_tests/Cargo.toml: file found to be present in multiple build targets: /home/theduke/dev/github.com/graphql-rust/juniper/integration_tests/juniper_tests/src/lib.rs
Compiling juniper v0.11.1 (/home/theduke/dev/github.com/graphql-rust/juniper/juniper)
Finished dev [unoptimized + debuginfo] target(s) in 5.13s
Running /home/theduke/dev/github.com/graphql-rust/juniper/target/debug/deps/juniper-fa6953f755a46403
running 34 tests
test executor_tests::introspection::enums::named_introspection ... ok
test executor_tests::introspection::enums::enum_deprecation_no_values_introspection ... ok
test executor_tests::introspection::enums::enum_value_description_introspection ... ok
test executor_tests::introspection::enums::enum_description_introspection ... ok