View core.clj
1 2 3 4 5 6 7 8 9 10
(ns soundscape.core
(:require [leipzig.live :refer :all]
[leipzig.melody :refer :all]
[leipzig.scale :refer :all]
[leipzig.canon :refer :all]
[overtone.live :as overtone]
[overtone.synth.stringed :as strings]
[overtone.at-at :as atat]))
 
(def wind-pool (atat/mk-pool))
View curl.out
1 2
> curl 'http://github.com/bittorrent/bencode.git/info/refs?service=git-upload-pack'
curl: (7) couldn't connect to host
View Jarfile
1
jar 'com.netflix.hystrix:hystrix-core', '~>1.2.16'
View helperclasses.groovy
1 2 3 4 5 6 7 8 9
includeTargets << grailsScript("_GrailsBootstrap")
 
 
target(main: "Desc") {
depends(compile)
 
def myClass = classLoader.loadClass("com.me.MyClass")
myClass.newInstance()
}
View gist:5470949
1 2 3 4 5
def myresolver = new URLResolver()
myresolver.m2compatible = true
myresolver.addArtifactPattern("http://artifacts.myrepo.com/myrepo-releases/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]")
myresolver.addIvyPattern("http://artifacts.myrepo.com/myrepo-releases/[organisation]/[module]/[revision]/[module]-[revision]-ivy.[ext]")
resolver myresolver
View gist:5426910
1
org.springframework.web.client.ResourceAccessException: I/O error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
View gist:5366510
1 2 3 4 5 6 7 8 9
> java -cp ./bin/validate.jar x.alert.Validate input_file 1 ↵
Exception in thread "main" java.lang.NoClassDefFoundError: x/alert/Validate
Caused by: java.lang.ClassNotFoundException: x.alert.Validate
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
View gist:5366490
1 2 3 4 5 6 7 8 9
╰─> java -cp ./bin/validate.jar x.alert.Validate input_file 1 ↵
Exception in thread "main" java.lang.NoClassDefFoundError: x/alert/Validate
Caused by: java.lang.ClassNotFoundException: x.alert.Validate
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
View remove.js
1 2 3
$(".subscription-row:contains('someOrg')").each(function() {
$($(this).find('.minibutton')[0]).click();
});
View namespace_example.rb
1 2 3 4 5 6 7 8 9 10
# pipe/base.rb
module Pipe
class Base
def flow
end
end
end
 
# pipe/email_pipe.rb
require 'pipe/base'
Something went wrong with that request. Please try again.