Skip to content

Instantly share code, notes, and snippets.

SELECT three_1 AS res
FROM (SELECT three AS three_1, four AS four_1
FROM tbl2), (SELECT one AS one_0, two AS two_0
FROM tbl1)
WHERE ('foobar' = one_0) AND (four_1 = one_0)
SELECT three_1 AS res
FROM (SELECT three AS three_1, four AS four_1
FROM tbl2), (SELECT one AS one_0, two AS two_0
FROM tbl1
;; "000009060038005004020060070000000390000926000097000000040070030500400210070800000"
(def puzzle1 ;; easy
[0 0 0 0 0 9 0 6 0
0 3 8 0 0 5 0 0 4
0 2 0 0 6 0 0 7 0
0 0 0 0 0 0 3 9 0
0 0 0 9 2 6 0 0 0
0 9 7 0 0 0 0 0 0
0 4 0 0 7 0 0 3 0
5 0 0 4 0 0 2 1 0
(ns playground.sudoku
(:refer-clojure :exclude [==])
(:require [clojure.core.logic :refer :all]
[clojure.core.logic.fd :as fd])
(:gen-class))
(defn init-field-vars [vars puzzle]
(matche [vars puzzle]
([[] []]
succeed)
(ns node-kickstart.file-system
(:require-macros [cljs.core.async.macros :refer [go]])
(:require [cljs.nodejs :as node]
[cljs.core.async :refer [put! <! chan]]))
;; Import fs node-module.
(def fs (node/require "fs"))
(defn read-file
"Read a file (async). Writes it's result on a channel and returns the channel."
WEBVTT
1
00:00:00.000 --> 00:07:21.000
Entscheider
module Main where
main :: IO ()
main = putStrLn "Ich glaub das zeigt auch gists"
<!DOCTYPE HTML>
<head>
<script type="text/javascript" src="./jQuery/jquery.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script>
$(document).ready(function() {
$(".header").click(function() {
// $(".foldable").hide("fold", {}, 15);
$(this).next($(".foldable")).toggle(1000);
#include <stdio.h>
#include <string.h>
EXEC SQL INCLUDE SQLCA;
EXEC SQL BEGIN DECLARE SECTION;
VARCHAR dname[15];
VARCHAR empName[21];
int amount;
EXEC SQL END DECLARE SECTION;
int main(int argc, char const *argv[])
{-
Module to compute the Cover of Functional Dependencies.
author: Marco Schneider
date: 13.01.2013
-}
module Cover
(
Cover
, computeCover
, printCover
{-
Module for creating, managing and printing FDs.
author: Marco Schneider
date: 13.01.2013
-}
module FunctionalDependencies
(
Attribute
, FunctionalDependency (lhs, rhs)
, createFunctionalDependencies