Skip to content

Instantly share code, notes, and snippets.

View jorp's full-sized avatar

Jordan Pisaniello jorp

View GitHub Profile
@jamesmcdonald
jamesmcdonald / gnome.yml
Created June 15, 2020 15:30
Ansible keybindings
- name: Set keybindings variable
tags:
- gnome
set_fact:
keybindings:
- name: binding
value: "'<Super>p'"
- name: command
value: "'passmenu'"
- name: name
@Vankalif
Vankalif / mosaic.vlm
Last active May 5, 2024 02:06
VLC 6 ip cameras mosaic config via RTSP
# 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
@danbst
danbst / README.md
Last active October 22, 2023 12:06
[Linux] [Firefox] Open link in browser, which is in current workspace

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.

The problem

@dimaryaz
dimaryaz / dropbox_ext4.c
Created August 15, 2018 07:28
Dropbox ext4 hack
/*
* 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
*/
@cryzed
cryzed / fix-infinality.md
Last active June 24, 2024 02:24
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

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!

Screenshots

Results after following the guide as of 11.01.2017 13:08:

@rberaldo
rberaldo / .Xresources
Last active January 19, 2019 11:41
My config files for Vaporwave Paraiso theme.
! ------------------------------------------------------------------------------
! 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
@rage311
rage311 / csgo_tweaks.sh
Last active July 6, 2021 12:38
Some tweaks to run when starting and stopping CSGO in Linux
#!/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)
@superjamie
superjamie / raspberry-pi-vpn-router.md
Last active July 2, 2024 07:48
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

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:

@EvergreenTheTree
EvergreenTheTree / gruvbox.theme
Created May 12, 2015 17:59
Gruvbox dark theme for xfce4-terminal (put this in ~/.xfce4/config/terminal/terminalrc)
ColorForeground=#f2f2e5e5bcbc
ColorBackground=#323230302f2f
ColorCursor=#d65bc4cd8ca1
ColorPalette=#323230302f2f;#cccc24241d1d;#989897971a1a;#d7d799992121;#454585858888;#b1b162628686;#68689d9d6a6a;#929283837474;#1d1d20202121;#fbfb49493434;#b8b8bbbb2626;#fafabdbd2f2f;#8383a5a59898;#d3d386869b9b;#8e8ec0c07c7c;#b9b9a6a69393
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active June 28, 2024 10:38
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

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!






\