- Initial
- List all
- Search by number/name
- Show infos on click
- Search
<?php | |
// Create bot | |
// https://core.telegram.org/bots#6-botfather | |
// | |
// | |
// Get Channel ID - https://api.telegram.org/bot$api_token/getUpdates | |
// chat": { "id": -123456, | |
// Telegram |
<?php | |
// tem que ser separado por , e não por ; | |
$csvArray = array_map('str_getcsv', file('Arquivo.csv')); | |
// poderia rolar assim, mas não :( | |
//$csvArray = array_map(['str_getcsv', ';'], file('Arquivo.csv')); | |
// anonymous | |
$csvArray = array_map( function ($val) { |
# Fix numeric keypad | |
# 0 . Enter | |
bindkey -s "^[Op" "0" | |
bindkey -s "^[On" "." | |
bindkey -s "^[OM" "^M" | |
# 1 2 3 | |
bindkey -s "^[Oq" "1" | |
bindkey -s "^[Or" "2" | |
bindkey -s "^[Os" "3" |
proc ivan { } { | |
global TwistTable | |
set TwistTable(Variables,Ivan) "lerolero" | |
return 1 | |
} |
wget -q https://registry.hub.docker.com/v1/repositories/php/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}' |
diff -r dir1 dir2 | grep dir1 | awk '{print $4}' > difference1.txt |
timedatectl list-timezones timedatectl set-timezone XXXXX timedatectl
dpkg-reconfigure tzdata apt-get install ntp
#!/bin/bash | |
echo "Host:" | |
read db_host | |
echo "User:" | |
read db_user | |
echo "Password:" | |
read db_pwd |
docker-compose rm --all && docker-compose pull && docker-compose build --no-cache && docker-compose up -d --force-recreate |