wget --no-check-certificate https://www.openssl.org/source/openssl-1.1.1m.tar.gz
tar xvzf openssl-1.1.1m.tar.gz
cd openssl-1.1.1m/
mkdir /opt/openssl
./config --prefix=/opt/openssl --openssldir=/opt/openssl shared zlib
make
make install
tar xvzf Python-3.10.5.tgz
cd Python-3.10.5/
nano Modules/Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.10 | |
"""Хелпер для создания React компонентов. | |
Спрашивает, создаём компонент в components или pages, | |
затем спрашивает, какой элемент создаём. | |
Если для pages элемент указываем MyComponent, создаст: | |
pages/MyComponent/MyComponent.tsx | |
pages/MyComponent/MyComponent.module.css | |
pages/MyComponent/index.ts (опционально) | |
Если указать MyComponent/Element, создаст: | |
pages/MyComponent/Element.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
### depends on https://github.com/xolox/python-rotate-backups -- check this url for understanding rotating parameters | |
import argparse | |
import os | |
import subprocess | |
import shutil | |
import zipfile | |
import datetime | |
import tempfile |
I hereby claim:
- I am paramon on github.
- I am paramon (https://keybase.io/paramon) on keybase.
- I have a public key ASB7ap7Q3GzXCXfKI9u-pXlI37UPmXDZ8UrS6npITP8sHAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mongo: | |
image: mongo | |
ports: | |
- 27017:27017 | |
volumes: | |
- ./data-db:/data/db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --recursive https://github.com/vysheng/tg.git && cd tg | |
brew install libconfig readline lua python libevent jansson openssl | |
brew link --force readline | |
export CFLAGS="-I/usr/local/include -I/usr/local/Cellar/readline/6.3.8/include -I/usr/local/opt/openssl/include" | |
export LDFLAGS="-L/usr/local/lib -L/usr/local/Cellar/readline/6.3.8/lib -L/usr/local/opt/openssl/lib" | |
./configure --disable-liblua && make |