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
| """ | |
| The most atomic way to train and inference a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| #!/bin/bash | |
| # Exit on error, undefined variables, and propagate pipeline failures | |
| set -e | |
| ################################################################################ | |
| # Configuration | |
| ################################################################################ | |
| # Default values |
| use std::collections::HashMap; | |
| use std::time::{SystemTime, UNIX_EPOCH}; | |
| #[derive(Debug, Clone)] | |
| struct Transaction { | |
| vector_clock: HashMap<String, u64>, | |
| timestamp: f64, | |
| content: String, | |
| } |
| pragma solidity ^0.5.0; | |
| library Roles { | |
| struct Role { | |
| mapping (address => bool) bearer; | |
| } | |
| /** | |
| * @dev Give an account access to this role. | |
| */ |
| // this line is added to create a gist. Empty file is not allowed. |
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-l