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
-- source https://gist.github.com/ali-abrar/080f8696c446c477b007 | |
import Reflex.Dom | |
import Data.Monoid | |
main :: IO () | |
main = mainWidgetWithHead headWidget bodyWidget | |
headWidget = do | |
elAttr "link" ("href" =: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" <> "rel" =: "stylesheet" <> "type" =: "text/css") $ return () |
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 https://gist.github.com/ali-abrar/bca8f372b3ca39317f86/ | |
{-# LANGUAGE JavaScriptFFI #-} | |
import Reflex.Dom | |
import qualified Data.Text as T | |
import Data.Monoid | |
import GHCJS.Types | |
import GHCJS.Foreign | |
import Control.Monad.IO.Class | |
import Control.Monad |
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 https://gist.github.com/ali-abrar/47333e623b978d0472c2 | |
{-# LANGUAGE ScopedTypeVariables #-} | |
import Reflex.Dom | |
import GHCJS.DOM.CanvasRenderingContext2D (putImageData, setFillStyle, fillRect) | |
import GHCJS.DOM.HTMLCanvasElement (getContext) | |
import GHCJS.DOM.ImageData (newImageData') | |
import Control.Monad.IO.Class (liftIO) | |
import GHCJS.DOM.Types (CanvasStyle(..), CanvasRenderingContext2D(..), toJSString, castToHTMLCanvasElement) | |
import GHCJS.Marshal (toJSVal) | |
import Data.Time (getCurrentTime) |
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 https://gist.github.com/ali-abrar/2a52593f3a391d82c40f439d4894f017 | |
{-# LANGUAGE ScopedTypeVariables, RankNTypes #-} | |
import Reflex.Dom | |
import Data.Monoid ((<>)) | |
import Data.List (isPrefixOf) | |
main :: IO () | |
main = mainWidgetWithHead headTag bodyTag | |
headTag :: MonadWidget t m => m () |
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 https://gist.github.com/ali-abrar/6cdf28d6fb9c3dbe25fb | |
import Control.Monad.IO.Class | |
import GHCJS.DOM (webViewGetDomDocument) | |
import GHCJS.DOM.Document (getBody) | |
import GHCJS.DOM.Element (keyDown) | |
import GHCJS.DOM.EventM (on, preventDefault) | |
import Reflex.Dom | |
main :: IO () |
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 is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig
will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)