I hereby claim:
- I am turall on github.
- I am turalmuradov (https://keybase.io/turalmuradov) on keybase.
- I have a public key ASCLcUUeAXIIAW8VZJ8XcsfaDgq2hvpDRFExvVwRStJ9QQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" | |
| ) | |
| func main() { |
| kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod |
| GET /_cat/indices?v | |
| GET /_cat/indices?h=index | |
| GET logstash-*/_settings |
| { | |
| "python.pythonPath": "/usr/bin/python3", | |
| "workbench.iconTheme": "vscode-icons", | |
| "files.exclude": { | |
| "out": true, | |
| "**/*.pyc": true, | |
| ".nyc_output": true, | |
| "obj": true, | |
| "bin": true, | |
| "**/__pycache__": true, |
| import asyncio | |
| import functools | |
| import requests as r | |
| import requests_async as ra # Might be deprecated soon, http3 and aiohttp to consider | |
| import uvloop | |
| from concurrent.futures import ThreadPoolExecutor | |
| from datetime import datetime | |
| from time import time, sleep |
| """Gunicorn config file. | |
| by HacKan (https://hackan.net) | |
| Find it at: https://gist.github.com/HacKanCuBa/275bfca09d614ee9370727f5f40dab9e | |
| Based on: https://gist.github.com/KodeKracker/6bc6a3a35dcfbc36e2b7 | |
| Changelog | |
| ========= | |
| See revisions to access other versions of this file. |
| version: 0.1.8 | |
| Configs: | |
| - SourceConfig: | |
| dbURI: "mysql://root:[email protected]/old" | |
| - DestinationConfig: | |
| dbURI: "postgresql://root:[email protected]/new" |
| CREATE TABLE public."User" ( | |
| created_at timestamp NOT NULL, | |
| updated_at timestamp NULL, | |
| id serial NOT NULL, | |
| "name" varchar NOT NULL, | |
| surname varchar NOT NULL, | |
| nickname varchar NOT NULL, | |
| email varchar NOT NULL, | |
| "password" varchar NOT NULL, | |
| CONSTRAINT "User_email_key" UNIQUE (email), |
| CREATE TABLE `user` ( | |
| `id` int NOT NULL AUTO_INCREMENT, | |
| `fname` varchar(10) NOT NULL, | |
| `lname` varchar(10) NOT NULL, | |
| `nick` varchar(10) NOT NULL, | |
| `email` varchar(15) NOT NULL, | |
| `pass` varchar(15) NOT NULL, | |
| `updated` TIMESTAMP NULL, | |
| `created` TIMESTAMP NOT NULL, | |
| `companyID` INT, |