emacs --daemon to run in the background.
emacsclient.emacs24 <filename/dirname> to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
- Undo -
C-/ - Redo -
C-? - Change case: 1. Camel Case :
M-c2. Upper Case :M-u
- Lower Case :
M-l
| ################################################################# | |
| # = This script transfers bash history to zsh history | |
| # = Change bash and zsh history files, if you don't use defaults | |
| # | |
| # = Usage: ruby bash_to_zsh_history.rb | |
| # | |
| # = Author: Ankit Goyal | |
| ################################################################# | |
| # change if you don't use default values |
| startup_message off | |
| vbell off | |
| defscrollback 5000 | |
| #backtick 1 60 60 $HOME/.screenrc.acpi # .screenrc.acpi contains 1 line: acpi | awk -F ', ' '{print $2}' | |
| hardstatus alwayslastline |
| var frm=document.pageForm; | |
| var firstURL = "http://first.wifi.olleh.com/starbucks/index_en_new.html"; | |
| var secondURL = "https://first.wifi.olleh.com/starbucks/starbucks_en.php"; | |
| switch(window.location.href) { | |
| case firstURL: | |
| document.getElementById('stCheck').checked = false; | |
| NextPage('0'); | |
| break; | |
| case secondURL: | |
| frm.cust_email_addr.value = Math.random().toString(36).replace(/[0-9\.]/g, "").substring(0,Math.floor(Math.random()*10)+2)+"@"+["yahoo.com","hotmail.com"][Math.floor(Math.random()*2)]; |
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-lCopyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x