Skip to content

Instantly share code, notes, and snippets.

@nitincodery
nitincodery / android-emacs-build-steps.org
Created January 30, 2023 06:17
Android Emacs Build Simple Steps

Android Emacs Build Steps

  1. install java (if not) get path of it via `ls -l /etc/alternatives/java` for JAVA_HOME
  2. mkdir android, cd android
  3. git clone git://git.sv.gnu.org/emacs.git git checkout feature/android
/*
Create Tables and select the one you need to input data.
Create Validations Table for each Table as TableName-Val.
Create Three Fields as Text in Validations Table as Column, Regex, Remark
Enter Column Names to Validate into Column Field in Validation Table.
Give Regex to validate and Remark to show when invalid data entered.
*/
/* Ask to input data in table whose validation table exists. */
let allTables = base.tables.filter(table => table.name.endsWith("-Val")).map(table => table.name.slice(0,-4))
@nitincodery
nitincodery / thirds.sh
Created May 3, 2021 09:14
Resize 3 Windows Side-by-Side Linux
#!/bin/bash
# assign keyboard shortcut to bash thirds.sh
# run shortcut on the window to resize
# it auto cycles to the position (0)left, (1)middle, (2)right
# create a counter file to store positions
counter="thirds-counter.txt"
if [[ -f $counter ]]; then
count=$(<$counter)
else