Skip to content

Instantly share code, notes, and snippets.

View hvnsweeting's full-sized avatar

Viet Hung Nguyen hvnsweeting

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / mirror.py
Created August 24, 2015 07:42
mirror a PPA
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
'''
PPA=$1
if [ -z $PPA ] then;
echo "PPA is required. E.g:
fi
DIRECTORY=${2:-ubuntu}
@hvnsweeting
hvnsweeting / bb.md
Last active December 19, 2023 10:23
Babashka over bash
iproute commands
Prerequisites
iproute2 package
kernel configure options:
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
menuconfig path:
@hvnsweeting
hvnsweeting / PYMI2305_02.ipynb
Created May 17, 2023 01:35
Học lập trình Python Hà Nội Sài Gòn online lớp https://pymi.vn khóa 44 bài 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / PYMI2305_01.ipynb
Last active May 12, 2023 12:53
Học PYthon tại Hà Nội TP HCM pymi.vn khóa 44 bài 1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / PYMI2210_02.ipynb
Created October 25, 2022 15:58
Học Python Hà Nội Sài Gòn TP HCM 2022 lớp pymi.vn 2210
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / PYMI2210_01.ipynb
Created October 19, 2022 02:48
Học lập trình Python 2022 tại Hà Nội, Sài gòn livestream lớp PYMI2210
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.