From Bas van Dijk:
To understand these things I would recommend using nix-repl:
$ nix-repl
Welcome to Nix version 1.11.2. Type :? for help.
| #!/data/data/com.termux/files/usr/bin/sh | |
| # sudo for Termux | |
| # For security reasons some environent variables are reset by su | |
| # So need to set LD_LIBRARY_PATH again | |
| # root's HOME is set to termux's home/.suroot. You can add bashrc there | |
| ROOT_HOME=$HOME/.suroot |
| Basic | |
| ====== | |
| [Shift]+[Mod]+[Enter] - launch terminal. | |
| [Mod]+[b] - show/hide bar. | |
| [Mod]+[p] - dmenu for running programs like the x-www-browser. | |
| [Mod]+[Enter] - toggles windows between master and stack. | |
| [Shift]+[Mod]+[2] - to move window to the 2 tag. |
emacs --daemon to run in the background.
emacsclient.emacs24 <filename/dirname> to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/C-?M-c
2. Upper Case : M-uM-lEmacs packages, features, files, layers, extensions, auto-loading, require,
provide, use-package… All these terms getting you confused? Let’s clear up
a few things.
Emacs files contains code that can be evaluated. When evaluated, the functions, macros and modes defined in that file become available to the current Emacs session. Henceforth, this will be termed as loading a file.
One major problem is to ensure that all the correct files are loaded, and in the
| # This grub.cfg file was created by Jamie Kurtz | |
| # Detailed instructions for use will soon be found here: http://www.jamiekurtz.com | |
| # Simplified instructions below | |
| # Sample grub entries... https://wiki.archlinux.org/index.php/Multiboot_USB_drive | |
| # Inspiration from here: http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/ | |
| # Simplified instructions... | |
| # Make sure grub, grub-efi, and xorriso packages are installed and up-to-date | |
| # In your terminal go to directory where want to create the USB image contents | |
| # Run the following to create the necessary folder structure: |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| # From http://stackoverflow.com/questions/16296753/can-you-run-gui-apps-in-a-docker | |
| # | |
| # Firefox over VNC | |
| # | |
| # VERSION 0.1 | |
| # DOCKER-VERSION 0.2 | |
| from ubuntu:12.04 | |
| # make sure the package repository is up to date | |
| run echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list |
If you are familiar with Java's generics, and are coming to Rust, you might be lead to assume that its generics are working the same way.
However, due to the different type systems, and different implementation details, there are quite a few differences between generic code in both languages.
This document tries to give a short summary about those differences:
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!