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
For python3: (I have both python 2 and 3 on my machine, where python2 is the default) | |
# install | |
pip3 install pipreqs | |
# Run in current directory | |
python3 -m pipreqs.pipreqs . | |
python2: | |
pip install pipreqs |
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
https://adfs2.indosatooredoo.com | |
http://adfs2.indosatooredoo.com | |
http://admin.incloud.indosatooredoo.com | |
https://admin.incloud.indosatooredoo.com | |
http://ads.indosatooredoo.com | |
https://ads.indosatooredoo.com | |
https://amqp.incloud.indosatooredoo.com | |
http://amqp.incloud.indosatooredoo.com | |
https://api-careers.indosatooredoo.com | |
http://api-careers.indosatooredoo.com |
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 requests,ssl,re | |
import warnings | |
from multiprocessing.dummy import Pool #multi thread | |
warnings.filterwarnings("ignore", category=DeprecationWarning) | |
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
#!/bin/bash | |
sudo apt update && sudo apt upgrade | |
sudo apt install mysql-server | |
sudo service mysql start | |
#Reset root password | |
sudo mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'jancok123';flush privileges;" | |
sudo apt install apache2 | |
sudo apt install phpmyadmin |
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
## update and install all depencies | |
sudo apt-get update && sudo apt-get -y install curl git build-essential && sudo dpkg --configure -a | |
## if something error happen, try upgrade (sudo apt upgrade) | |
## Install Python2.7 | |
sudo apt install python2.7 -y | |
## add c9 users and skip password | |
adduser --disabled-password --gecos "" c9user |
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 | |
r""" | |
This script can be used to fix the "exec format error" seen with tools like gzip in | |
WSL with Ubuntu 22.04 in Q1/Q2 2022 | |
A hacky fix for broken executables in WSL/Ubuntu 22.0 | |
see https://github.com/microsoft/WSL/issues/8219 | |
NewerOlder