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
cd ~/Downloads # or wherever you downloaded a font pack. | |
wget https://noto-website-2.storage.googleapis.com/pkgs/Noto-unhinted.zip | |
unzip Noto-unhinted.zip | |
# for a single user | |
mkdir -p ~/.fonts | |
cp *otf *otc ~/.fonts | |
fc-cache -f -v # optional | |
# for all users | |
sudo mkdir -p /usr/share/fonts/opentype/noto | |
sudo cp *otf *otc /usr/share/fonts/opentype/noto |
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
# install BCM4352 wifi | |
sudo apt-get install bcmwl-kernel-source | |
sudo modprobe wl | |
# install BCM4352 bluetooth | |
# https://unix.stackexchange.com/questions/359979/broadcom-bcm4352-bluetooth-does-not-connect | |
cd /lib/firmware/brcm | |
sudo wget https://github.com/winterheart/broadcom-bt-firmware/raw/master/brcm/BCM20702A1-0489-e07a.hcd | |
sudo modprobe -r btusb | |
sudo modprobe btusb |
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
➜ ~ xinput list | |
⎡ Virtual core pointer id=2 [master pointer (3)] | |
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] | |
⎜ ↳ SteelSeries SteelSeries Rival 95 Gaming Mouse id=12 [slave pointer (2)] | |
⎜ ↳ ELAN1200:00 04F3:3090 Touchpad id=14 [slave pointer (2)] | |
⎣ Virtual core keyboard id=3 [master keyboard (2)] | |
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] | |
↳ Power Button id=6 [slave keyboard (3)] | |
↳ Asus Wireless Radio Control id=7 [slave keyboard (3)] | |
↳ Video Bus id=8 [slave keyboard (3)] |
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 | |
# Inspired from | |
# https://gist.github.com/jgamblin/9701ed50398d138c65ead316b5d11b26 | |
# https://gist.github.com/laurentfite | |
# https://www.ostechnix.com/control-media-players-commandline-linux/ | |
# Download playerctl from here https://github.com/altdesktop/playerctl/releases | |
# Get it from here : https://api.slack.com/custom-integrations/legacy-tokens |
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
# Nama interface USB WLAN yang dipakai | |
interface=wlan0 | |
# Menggunkan driver nl80211 | |
driver=nl80211 | |
# Nama Access Point | |
ssid=ACCESS-POINT-PRAKASH | |
# Menggunakan Band 2.4GHz |
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
# Menggunakan wlan0 sebagai interface | |
interface=wlan0 | |
# Assign IP Address mulai dari 10.9.8.3 hingga 10.9.8.140 dengan lease time 12 jam | |
dhcp-range=10.9.8.3,10.9.8.140,255.255.255.0,12h |
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
source-directory /etc/network/interfaces.d | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet manual | |
allow-hotplug wlan0 | |
iface wlan0 inet static | |
address 10.9.8.1 |
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
eth0 Link encap:Ethernet HWaddr b8:27:eb:bf:29:a3 | |
inet6 addr: fe80::2ca2:37c8:4331:ac8a/64 Scope:Link | |
UP BROADCAST MULTICAST MTU:1500 Metric:1 | |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 |
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
# Untuk SSID yang open (tidak ada password) | |
network={ | |
ssid="HotSpot - UI" | |
key_mgmt=NONE | |
} | |
# Untuk SSID yang ada password | |
network={ | |
ssid="ubuntu" | |
psk="insertpasswordhere" |
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
wlan0 Scan completed : | |
Cell 01 - Address: CA:07:2E:D5:CE:87 | |
Channel:1 | |
Frequency:2.412 GHz (Channel 1) | |
Quality=49/70 Signal level=-61 dBm | |
Encryption key:on | |
ESSID:"ubuntu" | |
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s | |
24 Mb/s; 36 Mb/s; 54 Mb/s | |
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s |