| Name | Description | Location |
|---|---|---|
| addalias | Add command alias | Source↗ |
| addcmd | Add custom command | Source↗ |
| addperiodic | Add periodic command | Source↗ |
| addquote | Add quote to quote database | Source↗ |
| addtimer | Add Periodic Timer | Source↗ |
| addvar | Add variable | Source↗ |
| amitrusted | Check if you are a trusted user | [[https://github.com/tsoding/HyperNerd/blob/8c6db8e9494a6a1cc4ba7026eee482bd |
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
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <time.h> | |
| #define N (1000 * 1000) | |
| void array_print(int *xs, int n) | |
| { |
- [X] GitHub - mypaint/libmypaint: libmypaint, a.k.a. “brushlib”, is a library for …
- [X] Do we have this in NixOS repos?
- [X] We do. Let’s make default.nix
- [X] Do we have this in NixOS repos?
- [X] GitHub - mypaint/mypaint-brushes
- [X] Do we have this in NixOS repos?
- [X] We do. Let’s add it to default.nix
- [X] Do we have this in NixOS repos?
- [X] python37Packages.setuptools
- [X] python37Packages.pygobject
- [X] python37Packages.python (>= 2.7.4)
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
| -- Build Instructions | |
| -- $ ghc --make Main | |
| -- $ ./Main | |
| main = putStrLn "Hello, World" |
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
| local pivot = { | |
| x = 200, | |
| y = 200, | |
| w = 100, | |
| h = 150, | |
| } | |
| local rect = { | |
| x = 0, | |
| y = 0, |
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
| {-# LANGUAGE DeriveFunctor #-} | |
| import Control.Applicative | |
| import Control.Monad | |
| import System.IO.Unsafe | |
| class Monad m => Unwrappable m where | |
| unwrap :: m a -> a | |
| newtype Compose u m a = Compose { runCompose :: m (u a) } deriving Functor |
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 java.util.*; | |
| public class Homie<K, V> { | |
| public Homie() { | |
| this.backend = new HashMap<>(); | |
| } | |
| public void insertValue(K key, V value) { | |
| this.backend.put(key, value); | |
| } |
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
| #!/usr/bin/env tclsh | |
| package require Tk | |
| proc snowflake {can x1 y1 n len level} { | |
| if {$level <= 0} { | |
| return | |
| } | |
| set pi 3.1415926535897931 |
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
| data FingerTree a = Empty | |
| | Single a | |
| | Deep (Digit a) (FingerTree (Node a)) (Digit a) | |
| deriving Show | |
| data Digit a = One a | Two a a | Three a a a | Four a a a a deriving Show | |
| data Node a = Node2 a a | Node3 a a a deriving Show | |
| digitToList :: Digit a -> [a] | |
| digitToList (One y1) = [y1] |