command | description |
---|---|
ctrl + a | Goto BEGINNING of command line |
wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb | |
sudo dpkg -i puppetlabs-release-precise.deb | |
sudo apt-get update | |
sudo apt-get update | |
sudo apt-get install gcc g++ make libpcre3-dev libssl-dev tmux emacs libncurses5-dev libreadline-dev libffi-dev libyaml-dev valgrind git libxml2-dev libxslt-dev clang ntp libexpat4-dev gettext | |
sudo apt-get install gcc g++ make libpcre3-dev libssl-dev tmux emacs libncurses5-dev libreadline-dev libffi-dev libyaml-dev valgrind git-core libxml2-dev libxslt-dev ntp sqlite3 libsqlite3-dev | |
sudo apt-get install openjdk-7-jdk |
If you're writing bare-bones javascript for the browser, creating Chrome Apps and Extensions, or using remote coding apps like cloud9, Koding, or Nitrous, you may not need to install Ubuntu. Some tutorials can be done entirely within the browser. The tradeoff is that you won't have a full-featured command line, and you may hit a point where you can't install something that you need.
To start coding within Chrome OS, install Text or Caret as a text editor. (Text stores files in Google Docs and Caret stores the files locally on your machine, which may help you choose.) After that, you're good to go, since Chromebooks come with a browser installed.
" When started as "evim", evim.vim will already have done these settings. | |
if v:progname =~? "evim" | |
finish | |
endif | |
" Use Vim settings, rather than Vi settings (much better!). | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
" allow backspacing over everything in insert mode |
- Install Arduino IDE to
/opt/arduino
- Install PubSubClient and MsgFlo
- Edit
/opt/arduino/libraries/PubSubClient/src/PubSubClient.h
and set a bigger buffer size (for example 512) - Add ESP8266 board URL:
/opt/arduino/arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
- Install board package
sudo apt install chromium-browser |
Nice ansible playbook and supplemental Makefile for bulk change of default username on raspberry pi running on raspbian distribution. It can be easily modified for mass changing passwords on any templated virtual machines or devices.
For use just run:
make rename_pi_user i=10.0.0.1,10.0.0.2,10.0.3
- Install Termux from F-Droid. This part is important, not from Google Play Store. GPlay restricts some functionality of Termux.
- Upgrade dependencies:
pkg update && pkg upgrade
- To access device storage, run this command. It's needed to access created LaTeX and PDF files:
termux-setup-storage
- cd into local storage:
cd ~/storage/shared
- Create LaTeX project folder. We'll save our files here and access them from this folder from our device:
mkdir LaTeX
- Install TeX Live installer:
pkg install texlive-installer
- Install TeX Live. Important note, do not change any option here:
termux-install-tl
- Create bash config file with these configurations:
nvim ~/.bashrc
A simple setup guide to get a working environment for compiling and editing LaTeX documents on Android using Tectonic (Compiler), Neovim (Editor) with plugins for code completion and compilation in Termux. This can work on any other Linux distro with their respective package manager.
All further steps to be followed in Termux.
pkg up