Skip to content

Instantly share code, notes, and snippets.

View abatkin's full-sized avatar

Adam Batkin abatkin

View GitHub Profile
@abatkin
abatkin / IntelliJ.MD
Last active July 2, 2018 18:27
IntelliJ IDEA Customizations

IntelliJ IDEA Customizations

This file describes the customizations that I have made to my IntelliJ installation:

  • Editor -> File and Code Templates -> Includes -> File Header: Empty
  • Editor -> General -> Uncheck "Honor "CamelHumps" words settings when selecting on double click
  • Editor -> General -> Smart Keys -> Check "Use "CamelHumps" words"

Templates

@abatkin
abatkin / README.md
Last active May 22, 2017 13:54
OpenVPN Setup on CentOS or RHEL 7

This document is based on an older DigitalOcean document: https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7

  • Install openvpn: yum install openvpn
  • Install easy-rsa (for your own CA): yum install easy-rsa
  • Configure openvpn:
    • Find location of the sample server.conf file from the openvpn distribution and copy to /etc/openvpn/server: cp /usr/share/doc/openvpn-2.4.2/sample/sample-config-files/server.conf /etc/openvpn/server
    • Edit the configuration file and uncomment the following lines:
      • `toplogy subnet
      • comp-lzo
  • user nobody
@abatkin
abatkin / CITRIX.md
Created May 26, 2017 03:53
Make Citrix Receiver and Storefront usable on Linux

In order to make Citrix Receiver on Linux function nicely, I have modified the following settings in ~/.ICAClient/All_Regions.ini:

  • In [Virtual Channels\Seamless Windows]:
    • Set TWIMode=FALSE
    • This forces the window into true Fullscreen mode (as opposed to Seamless mode where the window happens to be fullscreen - there is a big difference!)
  • In [Virtual Channels\Mouse]:
    • Set MouseSendsControlV=False
    • This makes the middle mouse button function as a middle mouse button (as opposed to sending Ctrl+V, which I can't imagine anyone on Earth would actually want)
  • In [Virtual Channels\Keyboard]:
  • Set TransparentKeyPassthrough=FullScreenOnly
@abatkin
abatkin / README.md
Last active September 2, 2019 02:50
Raspberry Pi Setup

Basic Setup

  • Download Raspbian (I used the "Lite" variant)
  • Copy to SD Card
% dmesg # to figure out which device is being used
...
% dd bs=4M if=2019-07-10-raspbian-buster-lite.img of=/dev/sdc conv=fsync status=progress
  • Mount boot partition and create file ssh
@abatkin
abatkin / WINDOWS.md
Last active January 29, 2021 04:01
Setting up Windows

Basic Software

  • Firefox
  • Firefox Addons
    • BitWarden
    • Cookie Manager
    • Facebook Container
    • Firefox Multi-Account Containers
  • FoxyProxy Standard
@abatkin
abatkin / .vimrc
Created January 28, 2021 06:35
Vim testing on Windows
"call pathogen#infect()
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'mileszs/ack.vim'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'vim-scripts/synic.vim'
@abatkin
abatkin / local-libs.txt
Last active June 16, 2024 22:00
HueForge debugging
ldd ./HueForge|grep lib64 (this is usr/bin/HueForge)
libOpenGL.so.0 => /lib64/libOpenGL.so.0 (0x00007f16ca9a2000)
libm.so.6 => /lib64/libm.so.6 (0x00007f16c911d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f16c8413000)
/lib64/ld-linux-x86-64.so.2 (0x00007f16ca9f5000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f16c8846000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f16c7d87000)
Below is the plugins directory:
./iconengines/libqsvgicon.so