poetry new <project-name>
poetry add <library>
Installation Tips for SML/NJ on Ubuntu 18.04 | |
Ted Zhu | |
First, follow the steps outlined in the SML/NJ installation instructions for Unix: | |
http://smlnj.org/install/ | |
The final step, | |
$ config/install.sh |
Update (2022): https://gist.github.com/atyachin/2f7c6054c4cd6945397165a23623987d | |
Steps for installing the Android Emulator from EC2 console: | |
----------------------------------------------------------- | |
sudo apt install default-jdk | |
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip | |
unzip sdk-tools-linux-4333796.zip -d android-sdk | |
sudo mv android-sdk /opt/ | |
export ANDROID_SDK_ROOT=/opt/android-sdk |
#include <iostream> | |
using namespace std; | |
struct Node{ | |
int data; | |
Node *next; | |
}; | |
class stack{ |
//This is a simple command line todo list app | |
//Features | |
//-create todo item | |
//-list todo item | |
//-check todo item off list | |
//-delete todo item | |
var fs = require('fs'); | |
/* Array implementation of the stack */ | |
#include<stdio.h> | |
#include<stdlib.h> | |
#define MAX_STACK_SIZE 5 | |
typedef int boolean; | |
#define TRUE 1 | |
#define FALSE 0 | |
struct arrayStack { |
# migrating from https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh | |
# Aliases | |
alias g='git' | |
#compdef g=git | |
alias gst='git status' | |
#compdef _git gst=git-status | |
alias gd='git diff' | |
#compdef _git gd=git-diff | |
alias gdc='git diff --cached' |
# Zathura configuration file | |
# See man `man zathurarc' | |
# Open document in fit-width mode by default | |
set adjust-open "best-fit" | |
# One page per row by default | |
set pages-per-row 1 | |
#stop at page boundries |
--- Actions --- | |
$Copy <M-C> | |
$Cut <M-X> <S-Del> | |
$Delete <Del> <BS> <M-BS> | |
$LRU | |
$Paste <M-V> | |
$Redo <M-S-Z> <A-S-BS> | |
$SearchWeb <A-S-G> | |
$SelectAll <M-A> | |
$Undo <M-Z> |