Skip to content

Instantly share code, notes, and snippets.

View uriee's full-sized avatar
💭
Full Speed

uriee

💭
Full Speed
View GitHub Profile
@uriee
uriee / blockly.xml
Last active September 1, 2021 14:14
marlow-drain
When
[Case
(Deposit
(Role "donor")
(Role "donor")
(Token "" "")
(Constant 12000)
)
(When
[Case
@uriee
uriee / Interactions
Last active November 27, 2019 16:38
Interactions
in interaction energy transferred from an initiator to an observer throw self-contained space and time.
an interaction is an autonomous unit meaning that not a single part of interaction exists by itself
there is no time, space, energy, initiator or observer outside the scope of interaction.
all 'things' are the sum of interactions.
all interactions summed up to agents, agents are in the same order when they can interact with each other being an initiator/observer
agents are immutable every interaction renders a slightly different new agent.
all agents have parent son relationships with agents of different orders that are part of them of sum them up.
this hierarchy is the base for the evolution of complexity.
const axios = require("axios");
const express = require('express')
var options = {
host: 'xxx.xxx.xxx.xxx',
port: 9099,
};
const app = express()
var config = {
user: '',
password: '',
server: '',
database: '',
pool: {
max: 15,
min: 0,
idleTimeoutMillis: 30000
}
@uriee
uriee / faucet
Created September 5, 2017 14:33
0x67052032Bc2655Bb79A7989134D462d05c77B247
var sql = require('mssql');
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var cors = require('cors');
var config = {
user: '',
password: '',
server: '',
const Member = new GraphQLObjectType({
name: 'Member',
description: 'This represent a Member',
fields: () => ({
id: {type: new GraphQLNonNull(GraphQLString)},
name: {type: GraphQLString},
pic: {type: GraphQLString}
})
})
/*-------DB Functions------*/
var r = require('rethinkdbdash')({
port: 28015,
host: 'localhost',
db: 'Kibbutznik'
});
var randomKbzId = () => {
var d = new Date().getTime();
@uriee
uriee / chart prod1
Created March 8, 2016 06:59
chart prod1
<?php
error_reporting(E_ALL);
ini_set( 'display_errors','1');
try{ $dsn = 'dblib:dbname=silrd;host=192.168.7.199\PRI';
$user = 'tabula';
$password = 'Manager1';
$dbh = new PDO($dsn, $user, $password);
} catch (PDOException $e) {
echo "Failed to get DB handle: " . $e->getMessage() . "\n";
exit;
/*-Initial Tests-*/
DECLARE E1 CURSOR FOR
SELECT SERIAL.SERIAL,SERIALNAME
FROM SERIAL,SERIALA
WHERE SERIALA.SERIAL = SERIAL.SERIAL
AND SERIALSTATUS IN (2,8,4)
AND EXISTS(
SELECT 'X' FROM TRANSORDER
WHERE TRANSORDER.TYPE = 'B'
AND SERIAL = SERIAL.SERIAL);