Skip to content

Instantly share code, notes, and snippets.

@StandardNerd
StandardNerd / gist:cf031919c6724c25ca82bad335e1ed92
Created December 16, 2022 08:05 — forked from jatcwang/gist:ae3b7019f219b8cdc6798329108c9aee
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro
@StandardNerd
StandardNerd / gist:489b6f7928f27096c126cdd44a3c5434
Created December 16, 2022 08:05 — forked from jatcwang/gist:ae3b7019f219b8cdc6798329108c9aee
List of all setxkbmap configuration options (including models/layout/etc)
! model
pc101 Generic 101-key PC
pc102 Generic 102-key (Intl) PC
pc104 Generic 104-key PC
pc105 Generic 105-key (Intl) PC
dell101 Dell 101-key PC
latitude Dell Latitude series laptop
dellm65 Dell Precision M65
everex Everex STEPnote
flexpro Keytronic FlexPro
@StandardNerd
StandardNerd / vim_8_build
Last active September 3, 2022 07:44 — forked from Pompeu/vim_8_build
Building Vim 8 from source.
1.
sudo apt-get install libncurses5-dev libgtk2.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev
2.
sudo apt-get remove vim vim-runtime gvim vim-tiny vim-common vim-gui-common vim-nox
3.
cd ~
git clone https://github.com/vim/vim.git
cd vim
@StandardNerd
StandardNerd / gist:70226c8857c829d4bca5fc1514c0f15b
Created November 17, 2021 09:13 — forked from coffeemug/gist:6168031
The fun of implementing date support
After spending the better part of the month implementing date support
in RethinkDB, Mike Lucy sent the team the following e-mail. It would
have been funny, if it didn't cause thousands of programmers so much
pain. Read it, laugh, and weep!
-----
So, it turns out that we're only going to support dates between the
year 1400 and the year 10000 (inclusive), because that's what boost
supports.
@StandardNerd
StandardNerd / oktoberfest.php
Last active November 17, 2020 22:11
PHP Exercise
<?php
require_once 'participant.php';
$bob = new Participant('Bob');
$bill = new Participant('Bill');
$bob->surviveOktoberfest();
$bill->surviveOktoberfest();
@StandardNerd
StandardNerd / Gemfile
Created June 21, 2019 08:42
Gemfile for Spree 4.0 Alpha & Rails 6.0.0.rc1
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.6.2'
gem 'spree', git: 'https://github.com/spark-solutions/spree.git', branch: 'feature/rails-6'
gem 'spree_auth_devise' , github: 'spree/spree_auth_devise', branch: 'master'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: 'master'
gem 'acts-as-taggable-on', '~> 6.0', github: 'spark-solutions/acts-as-taggable-on', branch: 'fix/rails-6-and-failing-specs'
gem 'awesome_nested_set', '~> 3.1.4', github: 'collectiveidea/awesome_nested_set', branch: 'master'
@StandardNerd
StandardNerd / gvim.md
Created December 13, 2018 13:09
gvim installation instructions

Vim Install/Compile

Debian/Ubuntu Machines

Tested on

  • Ubuntu v12.04 LTS
  • Ubuntu v12.10
  • Ubuntu v13.xx
  • Ubuntu v14.04 LTS
sudo apt-get install tmux build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
# generating ssh key
ssh-keygen -t rsa -b 4096 -C "joon.ch@gmail.com"
# add generated ssh key id_rsa.pub to repository/account
# install chruby https://github.com/postmodern/chruby
wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
tar -xzvf chruby-0.3.9.tar.gz
@StandardNerd
StandardNerd / capybara cheat sheet
Last active October 20, 2016 13:09 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
Stand:
- Mehrsprachiges Menü bei der slowakischen Büchergesamtliste
behoben.
- Die Darstellung der Kaschauer Zeitung (vgl meine letzten mails zum Thema Navigation)
heute abend.
- Die doppelte Anzeige einzelner Zeitungsseiten innerhalb des Kaschauer Eperieser Kundschaftblatt (1858 / 1870 / 1871)
behoben.