Let's say you want to host domains first.com and second.com.
Create folders for their files:
| [Desktop Entry] | |
| Categories=Development; | |
| Comment=Supercharge your API workflow | |
| Exec="/home/hauthorn/Programs/Postman/Postman" | |
| Icon=/home/hauthorn/Programs/Postman/app/resources/app/assets/icon.png | |
| Name=Postman | |
| Terminal=false | |
| Type=Application | |
| Version=1.0 |
| [Desktop Entry] | |
| Version=1.0 | |
| Name=Telegram Desktop | |
| Comment=Official desktop version of Telegram messaging app | |
| TryExec=/opt/Telegram/Telegram | |
| Exec=/opt/Telegram/Telegram -- %u | |
| Icon=telegram | |
| Terminal=false | |
| StartupWMClass=TelegramDesktop | |
| Type=Application |
| thuvh ALL=(ALL) NOPASSWD: ALL |
echo "generating sample data for hive table"
echo {-1..-181451}hours | xargs -n1 date +"%Y-%m-%d %H:%M:%S" -d >> /tmp/dates.data
echo {-1..-18145}minutes | xargs -n1 date +"%Y-%m-%d %H:%M:%S" -d >> /tmp/dates.data
echo {-1..-1825}days | xargs -n1 date +"%Y-%m-%d %H:%M:%S" -d >> /tmp/dates.data
cat /tmp/dates.data | while read LINE ; do echo $LINE,"user"$((1 + RANDOM % 10000)),$((1 + RANDOM % 1000)) >> /tmp/hive_user_table.data; done
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| from sys import stdin, stdout | |
| from math import floor | |
| def main(): | |
| global n,m,a | |
| n,m=[int(x) for x in stdin.readline().split()] | |
| a=[] | |
| for i in range(m): | |
| a.append([int(x) for x in stdin.readline().split()]) | |
| g=[] | |
| G=[] |
| #include <iostream> | |
| using namespace std; | |
| int main(){ | |
| int a = 3; | |
| int *p, *q; | |
| p = &a; | |
| q = p; |
| /* | |
| * For your reference: | |
| * | |
| * SinglyLinkedListNode { | |
| * int data; | |
| * SinglyLinkedListNode* next; | |
| * }; | |
| * | |
| */ | |
| SinglyLinkedListNode* insertNodeAtTail(SinglyLinkedListNode* head, int data) { |