N | Name | Description | Comment |
---|---|---|---|
1 | Haxl - Haskell library that simplifies access to remote data, such as databases or web-based services | ||
2 | Barclays Capital | In-House Trading software | |
3 | Standard Chartered Bank | In-House Trading software | |
4 | Tsuru Capital | Trading software | |
5 | Better | Online education platform | |
6 | Galois, Inc | various R&D projects |
This file contains hidden or 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 Text.ParserCombinators.Parsec | |
import Text.ParserCombinators.Parsec.Expr | |
import qualified Text.ParserCombinators.Parsec.Token as P | |
import Text.ParserCombinators.Parsec.Language | |
import Control.Monad (liftM) | |
lexer = P.makeTokenParser emptyDef | |
parens = P.parens lexer | |
natural = P.natural lexer |
This file contains hidden or 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
-- source: http://www.garrisonjensen.com/2015/05/13/haskell-programs-are-lies.html | |
import qualified Data.Set as PQ | |
primes :: [Integer] | |
primes = 2:sieve [3,5..] | |
where | |
sieve (x:xs) = x : sieve' xs (insertprime x xs PQ.empty) | |
sieve' (x:xs) table |
This file contains hidden or 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 socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.bind(('127.0.0.1', 1234)) | |
s.listen(10) | |
while True: | |
conn, addr = s.accept() | |
while True: | |
data = conn.recv(1024) | |
if not data: break | |
conn.send(data) |
This file contains hidden or 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
когда пришёл, угомонился | |
себе тихонечко лежишь | |
тогда и счастье привалится | |
и станет радостнее жить | |
This file contains hidden or 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 Data.Maybe (maybe) | |
import Data.Char (toUpper) | |
import System.IO (hGetContents, stdin) | |
import Control.Monad (liftM, forM_) | |
ruKeysL = "ёйцукенгшщзхъфывапролджэячсмитьбю" | |
ruKeysU = map toUpper ruKeysL | |
ruKeysP = ".," | |
enKeysL = "`qwertyuiop[]asdfghjkl;\'zxcvbnm,." |
This file contains hidden or 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
https://youtu.be/8yis7GzlXNM | |
Newton: | |
Of all the scientific minds in history | |
they put Beaker in a bow tie | |
up against me? | |
I'm a master | |
I discovered gravity | |
I drop rhymes like | |
they are falling from an apple tree | |
you're no match for me |
This file contains hidden or 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
main = interactionOf(initial, step, event, draw) | |
astSize = 0.6 | |
data World = World { | |
stars :: [(Point, Number)], | |
asts :: [(Point, Vector)], | |
ship :: (Point, Vector), | |
direction :: Number, | |
left :: Number, |
This file contains hidden or 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
1. Гл. 14 | |
стыдно до слез | |
смотреть на людей, которые оплевывают то, что вчера превозносили. Когда | |
Сталин был жив, я не помню такого случая, чтобы кто-то сказал, что Сталин | |
ему чем-то не нравится. Все в один голос говорили: гений. Великий | |
полководец. Отец и учитель. Корифей всех наук. Неужели они все не верили в | |
то, что говорили? Неужели все врали? Не могу понять, когда же эти люди были | |
искренни, сейчас или тогда? | |
время фанатиков истекло. Их не любят не только какие-нибудь антисоветчики |
This file contains hidden or 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
-- origin https://gist.github.com/h3h/ce339825f2ba8fe1e4d3bf2d1a3e60da | |
import Html exposing (..) | |
import Html.Attributes | |
import Html.Events exposing (..) | |
import Process exposing (..) | |
import Time exposing (..) | |
import Task exposing (..) | |
import List | |
import Random |