Source: https://wiki.archlinux.org/index.php/PostgreSQL
-
Install postgresql package
sudo pacman -S postgresql
-
Switch to the postgres user account and initialize the database cluster:
sudo -iu postgres
==> Install app | |
adb install Myapp.apk | |
adb -d install Myapp.apk //-d (directs command to the connected USB device.) | |
adb -e install Myapp.apk //-e (directs command to the running emulator.) | |
adb -s install Myapp.apk //-s<serial number> | |
adb -p install Myapp.apk //-p <product name or path> | |
---------------------------------------------------------------------------------------------------------- | |
==> Uninstall app |
[ | |
{ | |
"value": 1, | |
"first": "bar", | |
"second": "bar", | |
"third": "bar" | |
}, | |
{ | |
"value": 2, | |
"first": "grape", |
Source: https://wiki.archlinux.org/index.php/PostgreSQL
Install postgresql package
sudo pacman -S postgresql
Switch to the postgres user account and initialize the database cluster:
sudo -iu postgres
import asyncio | |
from telegram.ext import Updater, MessageHandler, Filters | |
from telethon.utils import resolve_bot_file_id, get_input_location | |
from telethon import TelegramClient | |
import logging | |
logging.basicConfig() | |
import os | |
def createFolder(directory): | |
try: | |
if not os.path.exists(directory): | |
os.makedirs(directory) | |
except OSError: | |
print ('Error: Creating directory. ' + directory) | |
body { | |
white-space: pre; | |
font-family: consolas; | |
color: white; | |
background: black; | |
} | |
.property { | |
color: orange; | |
font-weight: bold; |