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
| { pkgs ? import <nixpkgs> {} }: | |
| with pkgs; | |
| let | |
| toolchain = stdenv.mkDerivation { | |
| name = "toolchain"; | |
| src = fetchurl { | |
| url = "https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--stable-2018.11-1.tar.bz2"; |
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
| $ nix-shell -p nodejs-8_x | |
| $ npm config set prefix=`pwd`/node_modules | |
| $ npm install -g reason-cli@3.1.0-linux | |
| /home/andrey/develop/tmp/node_modules/bin/rtop -> /home/andrey/develop/tmp/node_modules/lib/node_modules/reason-cli/.bin/rtop | |
| /home/andrey/develop/tmp/node_modules/bin/ocamlmerlin-reason -> /home/andrey/develop/tmp/node_modules/lib/node_modules/reason-cli/.bin/ocamlmerlin-reason | |
| /home/andrey/develop/tmp/node_modules/bin/ocamlmerlin -> /home/andrey/develop/tmp/node_modules/lib/node_modules/reason-cli/.bin/ocamlmerlin | |
| /home/andrey/develop/tmp/node_modules/bin/utop -> /home/andrey/develop/tmp/node_modules/lib/node_modules/reason-cli/.bin/utop | |
| /home/andrey/develop/tmp/node_modules/bin/reopt -> /home/andrey/develop/tmp/node_modules/lib/node_modules/reason-cli/.bin/reopt | |
| /home/andrey/develop/tmp/node_modules/bin/refmttype -> /home/andrey/develop/tmp/node_modules/lib/node_modules/reason-cli/.bin/refmttype | |
| /home/andrey/develop/tmp/node_modules/bin/rebuild -> /home/andrey/develop/tmp/node_modules/lib/node_modul |
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
| #EXTM3U | |
| #EXTINF:0,Luxury | |
| http://192.168.0.1:4022/udp/239.239.3.27:5239 | |
| #EXTINF:0,Russian MusicBox HD | |
| http://192.168.0.1:4022/udp/239.239.3.38:5239 | |
| #EXTINF:0,TVMChannel | |
| http://192.168.0.1:4022/udp/239.239.3.32:5239 | |
| #EXTINF:0,Матч! ТВ HD | |
| http://192.168.0.1:4022/udp/239.239.3.34:5239 | |
| #EXTINF: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
| let | |
| pkgs = import <nixpkgs> {}; | |
| in | |
| { }: | |
| with pkgs; | |
| let | |
| urllib3_good = pkgs.pythonPackages.buildPythonPackage rec { | |
| name = "urllib3-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
| {pkgs ? import <nixpkgs> {}, pypy? pkgs.pypy}: | |
| pkgs.stdenv.mkDerivation { | |
| name = "test"; | |
| buildInputs = [ pypy ]; | |
| } |
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
| $ tail -f nix-env.out | |
| installing ‘python-2.7.9’ | |
| these derivations will be built: | |
| /nix/store/3v5hknmci8mipwyrsnzp01imj034hzxj-binutils-2.23.1.drv | |
| /nix/store/38hkdqpn6llzcbi88bhz3524m7258ahd-bootstrap-gcc-wrapper.drv | |
| /nix/store/la97c4k0gykkvb1jsi4ffsb28k8g2wsy-stdenv-linux-boot.drv | |
| /nix/store/clzcvf528yzkw0cd0k9vixb1wnmqvl9f-patchelf-0.8.drv | |
| /nix/store/71i3cyw1y2h28chs7axs5f7n1ja7w29l-perl-5.20.1.drv | |
| /nix/store/bbp6fd1glbn13j9l80rxmf4pchnyciqb-linux-headers-3.12.32.drv | |
| /nix/store/fdv584xg1lsqgbfxwqhgn6rlf9b5f3xy-glibc-2.20.drv |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| modprobe slram map=VRAM,0xd0400000,+0xfc00000 | |
| modprobe phram phram=VRAM,0xd0400000,0xfc00000 | |
| modprobe slram slram=mtd0,0xd0400000,+0xfc00000 | |
| modprobe mtdchar | |
| mknod /dev/mtd0 c 90 0 | |
| modprobe mtdblock | |
| mknod /dev/mtdblock0 b 31 0 | |
| mkswap /dev/mtdblock0 | |
| swapon /dev/mtdblock0 -p 10 |
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.List | |
| import Control.Applicative | |
| main = do | |
| putStrLn $ intercalate " " $ (++) <$> [ "Happy Birthday" | |
| , "С Днем Рождения" | |
| , "Pen-blwydd Hapus" ] | |
| <*> [ "!", "=)", ":)" ] |
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
| # Based off of http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Unity_2D | |
| # | |
| # /usr/share/xsessions/xmonad.desktop | |
| [Desktop Entry] | |
| Encoding=UTF-8 | |
| Name=XMonad | |
| Comment=Lightweight tiling window manager | |
| Exec=xmonad | |
| Icon=xmonad.png |