Skip to content

Instantly share code, notes, and snippets.

View sidd's full-sized avatar
🐝
🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧

sidd sidd

🐝
🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧🔧
View GitHub Profile

Setting up Dell S2417DG monitor

  1. Install nVidia drivers and make sure you have NVIDIA Control Panel. Choose correct resolution (2560x1440) and desired refresh rate

  2. Factory reset the settings on your monitor (open OSD, then Others > Factory Reset) S2417DG ICC from here http://www.tftcentral.co.uk/articles/icc_profiles.htm

  3. You will have to every time you boot until you script it (I haven't yet), but this makes the most difference: https://www.reddit.com/r/Monitors/comments/6cwnrb/fixing_color_banding_on_the_dell_s2417dg_s2716dg/

    • The top reply also has some good research but I didn't find the numbers very useful. He/she's right about >0.67 gamma.
set -g default-terminal "xterm-256color"
set -g prefix C-a
set -s escape-time 0
set -g base-index 1
set-window-option -g automatic-rename on
set-option -g set-titles on
bind-key -n M-t split-window -h "/bin/bash -c 'cd ~/dokkio/app; npm test -- --watch'"
bind-key M-l split-window -h /bin/bash -c "sudo tail -f /var/log/syslog -n 100"
call plug#begin()
" JavaScript
Plug 'pangloss/vim-javascript'
Plug 'mxw/vim-jsx'
Plug 'ternjs/tern_for_vim'
Plug 'Galooshi/vim-import-js'
" Lint
@sidd
sidd / jsctags.js
Created December 10, 2017 20:26
Wrap jsctags in a dependency-free ctags-like executable (be sure to chmod +x jsctags.js)
#!/usr/bin/env node
const cp = require('child_process');
function getarg(arg) {
const filter = new RegExp(`^-{1,2}${arg}=*(.*)`);
const matches = process
.argv
.map(str => str.match(filter))
@sidd
sidd / Preferences.sublime-settings
Created November 24, 2014 03:20
Sublime Text 3 config (minimal)
{
"atomic_save": false, // buggy feature, disabled for now
"caret_style": "solid", // personal preference
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", // personal preference
"font_options": ["bold"], // I bold fonts on non-Mac systems
"font_size": 12, // personal preference; adjust this depending on screen size / etc.
"highlight_modified_tabs": true, // critical; highlights unsaved tabs, as opposed to replacing the X with a bullet
"ignored_packages": // enabling Vim bindings
[
],