Skip to content

Instantly share code, notes, and snippets.

View tranduydat's full-sized avatar
🦆
Run

Dat Tran tranduydat

🦆
Run
View GitHub Profile
@Tamkien
Tamkien / FakePhoneNo.java
Last active August 18, 2019 08:24
Một vài người trên phòng GD&ĐT huyện do không có việc làm nên đã bắt u mình nhập số điện thoại của phụ huynh học sinh trong 5 năm trở lại đây. Code này để cho họ thấy nhà mình có một kỹ sư.
import java.util.ArrayList;
import java.util.Random;
public class FakePhoneNo {
public static void main(String[] args) {
ArrayList<String> dauso = new ArrayList<>();
dauso.add("032");
dauso.add("033");
dauso.add("034");
dauso.add("035");
@mihow
mihow / load_dotenv.sh
Last active June 14, 2024 02:15
Load environment variables from dotenv / .env file in Bash
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi
@heyalexej
heyalexej / pytz-time-zones.py
Created November 16, 2016 09:14
list of pytz time zones
>>> import pytz
>>>
>>> for tz in pytz.all_timezones:
... print tz
...
...
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers