Skip to content

Instantly share code, notes, and snippets.

Kuleshov Alexander onlyshk

Block or report user

Report or block onlyshk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test.sql
DELETE FROM <таблица> WHERE <поле>{=,>,<,...}<значение>;
View test.sql
DELETE FROM <таблица> WHERE <поле>{=,>,<,...}<значение>;
View test.sql
DELETE FROM <таблица> WHERE <поле>{=,>,<,...}<значение>;
View gist:2819065
PokerStars Game #27738502010: Tournament #160417133, $0.25+$0.00 Hold'em No Limit - Level XV (250/500) - 2009/05/02 13:32:38 ET
Table '160417133 3' 9-max Seat #8 is the button
Seat 1: LLC 4Eva (9182 in chips)
Seat 2: 618shooter (25711 in chips) is sitting out
Seat 3: suposd2bRich (21475 in chips)
Seat 4: ElT007 (60940 in chips)
Seat 5: Orlando I (18044 in chips)
Seat 6: ih82bcool2 (8338 in chips)
Seat 7: kovilen007 (8353 in chips)
Seat 8: GerKingTiger (4404 in chips)
@onlyshk
onlyshk / NumInStr.hs
Created May 25, 2012
Is string number
View NumInStr.hs
isInteger :: String -> Bool
isInteger s = case reads s :: [(Integer, String)] of
[(_, "")] -> True
_ -> False
--
-- >> isInteger "3"
-- True
--
-- >> isInteger "30s"
View gist:2692802

neo4j http api

Node api:

Create empty node:

httpc:request(post, {"http://127.0.0.1:7474/db/data/node", ["application/json"], "application/json", []}, [], []). 
View gist:2688705
package proj_euler
object Problem10 {
def solve() : Long = {
var sum : Long = 0
var n = 2
while (n < 2000000){
if (is_prime(n) == true)
{
sum += n
You can’t perform that action at this time.