Skip to content

Instantly share code, notes, and snippets.

@bbtdev
bbtdev / wifi-cli-connection.txt
Created February 5, 2020 22:12 — forked from debxp/wifi-cli-connection.txt
Wifi connection from command line after a Debian minimal install
Create the file 'wpa_supplicant.conf'...
$ sudo nano /etc/wpa_supplicant.conf
Put the following in ti:
network={
ssid="your_wifi_name"
psk="your_wifi_password"
}
https://www.airbnb.com/s/siem-reap/homes?refinement_paths[]=%2Fhomes&current_tab_id=home_tab&selected_tab_id=home_tab&search_type=filter_change&place_id=ChIJeaiRjJoWEDER-rvlPvmqQKk&screen_size=large&checkin=2020-05-01&checkout=2020-05-31&room_types[]=Private%20room&amenities[]=5&amenities[]=4&amenities[]=47&amenities[]=78&amenities[]=7&price_max=2321
press Comman / or Fn Shift F1
it shows system keyboard shortcuts
if you are in an app(examle samsung internet) first it shows the app keyboard shortcuts
@bbtdev
bbtdev / lenovo-thinkpad-bluetooth-keyboard-with-trackpoint-linux-pairing
Last active August 3, 2019 09:11
lenovo-thinkpad-bluetooth-keyboard-with-trackpoint-linux-pairing
Another workaround for this is:
1. run sudo hcidump -at
2. launch bluetooth-wizard, select the device (keyboard) and click "Continue"
3. watch the output from hcidump in terminal, you'll see Passcode: somerandompasscode
4. type this passcode on bt keyboard and press ENTER
5. done, your keyboard is successfully paired
Problem is IMHO with bluetooth-wizard UI not displaying the popup with passcode prompt.
Change Mod1 key to the Windows key in config.h
dwm's documentation refers to Mod1 as the modifier key that you must press to issue commands to it. On most keyboards, Mod1 is mapped to the left Alt key. Most new keyboards now come equipped with the Windows key. Since no known UNIX/X applications are known to use the Windows key, it is an excellent alternative mapping to issue commands to dwm.
In config.h, under the comment /* key definitions */, you can find the line
#define MODKEY Mod1Mask
In order to change dwm's modifier key to the Windows key, you can simply change its value definition to Mod4Mask.
#define MODKEY Mod4Mask
The following patch also produces the same result:
/usr/include/X11/keysymdef.h
xfconf-query --channel xfce4-session --property /sessions/Failsafe/Client0_Command --set openbox --force-array
adobe source code pro semibold
(made with hidpi install?)
install script
#!/bin/bash
set -euo pipefail
I1FS=$'\n\t'
mkdir -p /tmp/adodefont
cd /tmp/adodefont
defp temp_read_file(file) do
[f] = MapSet.to_list(Temp.tracked())
IO.puts("!!!!!!")
IO.puts(File.read!(f))
IO.puts("!!!!!!")
p
end
@bbtdev
bbtdev / wm
Last active March 14, 2019 16:16
https://wiki.archlinux.org/index.php/Comparison_of_tiling_window_managers
DYNAMIC
-------
# spectrwm
* inspired by xmonad and dwm, but you don't need to learn a new language to configure it
- responsive uses the asynchronous XCB library
- written in C
- text file config