I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
ColorForeground=#f2f2e5e5bcbc | |
ColorBackground=#323230302f2f | |
ColorCursor=#d65bc4cd8ca1 | |
ColorPalette=#323230302f2f;#cccc24241d1d;#989897971a1a;#d7d799992121;#454585858888;#b1b162628686;#68689d9d6a6a;#929283837474;#1d1d20202121;#fbfb49493434;#b8b8bbbb2626;#fafabdbd2f2f;#8383a5a59898;#d3d386869b9b;#8e8ec0c07c7c;#b9b9a6a69393 |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
#!/usr/bin/env bash | |
# Also requires perl | |
# This is especially useful to launch automatically when you run CS:GO | |
# by adding it to CS:GO's "Launch Options" in Steam. | |
# (Right-click the game in the library list, click "Properties", | |
# click "Set Launch Options...". eg: | |
# $HOME/bin/csgo_tweaks.sh start; %command%; $HOME/bin/csgo_tweaks.sh stop | |
# (make sure to chmod +x csgo_tweaks.sh before you try that) |
! ------------------------------------------------------------------------------ | |
! ROFI Color theme | |
! ------------------------------------------------------------------------------ | |
rofi.color-enabled: true | |
rofi.color-window: #2f1e2e, #a39e9b, #815ba4 | |
rofi.color-normal: #2f1e2e, #a39e9b, #41323f, #e96ba8, #ffffff | |
rofi.color-active: #2f1e2e, #a39e9b, #41323f, #e96ba8, #66c6ff | |
rofi.color-urgent: #2f1e2e, #a39e9b, #41323f, #e96ba8, #890661 |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache
as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08:
/* | |
* dropbox_ext4.c | |
* | |
* Compile like this: | |
* gcc -shared -fPIC -ldl -o libdropbox_ext4.so dropbox_ext4.c | |
* | |
* Run Dropbox like this: | |
* LD_PRELOAD=./libdropbox_ext4.so ~/.dropbox-dist/dropboxd | |
*/ | |
I use separate Firefox profiles for work and personal stuff. To distinguish those I place them on different workspaces.
- Workspace 0:
firefox --no-remote -P MyJob
- Workspace 1:
firefox --no-remote -P default
I have also company Slack on Workspace 0. Which usually contains links to some work stuff.
# Runs on windows by command -> vlc --vlm-conf path_to_file.vlm | |
# Background options | |
new bg broadcast enabled | |
# bg just plain black background jpg image | |
setup bg input "C:\Users\full_path_to\back.jpg" | |
setup bg option image-duration=-1 | |
setup bg output #transcode{sfilter=mosaic{width=1920,height=960,cols=3,rows=2,position=1,order="1,2,3,4,5,6",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=5},vcodec=mp4v,vb=2000,fps=15}:duplicate{dst=display} | |
# Input options |
- name: Set keybindings variable | |
tags: | |
- gnome | |
set_fact: | |
keybindings: | |
- name: binding | |
value: "'<Super>p'" | |
- name: command | |
value: "'passmenu'" | |
- name: name |