Skip to content

Instantly share code, notes, and snippets.

@SGINJ
SGINJ / 1000-generic-questions.txt
Last active April 9, 2024 07:47
1000 generic questions
A ____ atom in an atomic clock beats 9,192,631,770 times a second", "cesium
A ____ generates temperatures five times hotter than those found on the sun's surface", "lightning bolt
A ____ is a pact between a secular authority & the church", "concordat
A ____ is the blue field behind the stars", "canton
A ____ occurs when all the planets of the our Solar System line up", "sysygy
A ____ razor removed from King Tut's Tomb was still sharp enough to be used", "golden
A ____ takes 33 hours to crawl one mile", "snail
A ____ women can get a divorce if her husband doesn't give her coffee", "saudi arabian
A ____ written to celebrate a wedding is called a epithalamium", "poem
A 'dybbuk' is an evil spirit in which folklore", "jewish
#!/bin/ash
echo "begin allocating memory..."
for index in $(seq 1000); do
value=$(seq -w -s '' $index $(($index + 100000000)))
eval array$index=$value
done
echo "...end allocating memory"
@SGINJ
SGINJ / install-kibana-dabian.sh
Created June 24, 2022 09:25
install ES Kibana 8.2.2
#!/usr/bin/env bash
# Installation from:
# https://www.elastic.co/guide/en/kibana/current/deb.html
sudo apt install wget
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
wget https://artifacts.elastic.co/downloads/kibana/kibana-8.2.2-amd64.deb
shasum -a 512 kibana-8.2.2-amd64.deb
sudo dpkg -i kibana-8.2.2-amd64.deb
@SGINJ
SGINJ / install-es-debian.sh
Created June 9, 2022 14:20
install ES 8.2.2
#!/usr/bin/env bash
sudo apt install wget
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.2.2-amd64.deb
sudo dpkg -i elasticsearch-8.2.2-amd64.deb
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service