This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fastbike could be a racing bike or a speed pedelec. | |
# But also at night or in rainy whether you might want | |
# to fallback to this one. | |
# | |
# Structure is similar to trekking.brf, see this for documenation. | |
# | |
---context:global # following code refers to global config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
with lib; | |
{ | |
imports = | |
[ | |
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix> | |
./machine-config.nix | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cc.vileda.devmatch | |
import com.github.davidmoten.rx2.flowable.Transformers | |
import io.vertx.core.DeploymentOptions | |
import io.vertx.core.json.JsonObject | |
import io.vertx.reactivex.core.AbstractVerticle | |
import io.vertx.reactivex.core.Vertx | |
import java.util.concurrent.atomic.AtomicInteger | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": {"schemas": {"ExampleSchema": { | |
"properties": {"foo": {"type": "string"}}, | |
"type": "object" | |
}}}, | |
"info": { | |
"title": "jjjj", | |
"version": "1.0" | |
}, | |
"openapi": "3.0.0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env boot | |
(set-env! :dependencies '[[org.clojure/clojure "1.8.0"] | |
[http-kit "2.2.0"] | |
[org.clojure/data.json "0.2.6"]]) | |
(require '[org.httpkit.client :as http]) | |
(require '[clojure.data.json :as json]) | |
(require '[boot.cli :refer [defclifn]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "derveloper.id" is my Blockstack ID. https://onename.com/derveloper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KNN Classifiaction of fnordeingang opening times | |
================================================= | |
WEDNESDAY 2016-11-23T16:51 | |
THURSDAY 2016-11-24T17:11 | |
SATURDAY 2016-11-26T01:57:30 | |
SUNDAY 2016-11-27T16:47:30 | |
MONDAY 2016-11-28T18:40 | |
TUESDAY 2016-11-29T17:56 | |
WEDNESDAY 2016-11-30T16:51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.sun.crypto.provider.DHKeyPairGenerator; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.SecureRandom; | |
public class DHKeyTest | |
{ | |
public static void main(String[] args) throws NoSuchAlgorithmException | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs = require 'fs' | |
execSync = require('child_process').execSync | |
tmp = require('tmp') | |
execSync('wget -c https://github.com/facebookresearch/fastText/archive/master.tar.gz') | |
execSync('tar xvfz master.tar.gz && cd fastText-master && make && cp fasttext ../') | |
module.exports = (robot) -> | |
robot.respond /train \"(.+)\" (.+)/i, (res) -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fooDispatch function dispatch(action) { | |
return _dispatch(action); | |
} | |
store.js?5dc3:13fooNext function (action) { | |
console.log("barDispatch", dispatch.toString()); | |
console.log("barNext", next.toString()); | |
next(action); | |
} | |
store.js?5dc3:17barDispatch function dispatch(action) { | |
return _dispatch(action); |
NewerOlder