Skip to content

Instantly share code, notes, and snippets.

View robertgzr's full-sized avatar
🐧

Robert Günzler robertgzr

🐧
View GitHub Profile
@ellenhp
ellenhp / Use Yubikey (GPG key) for SSH.md
Created June 21, 2020 05:43 — forked from jacquesbh/Use Yubikey (GPG key) for SSH.md
Use my Yubikey with GPG keys to SSH with a guest computer (OSX or Windows)
@mbinna
mbinna / effective_modern_cmake.md
Last active July 16, 2024 05:57
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@alexellis
alexellis / k8s-pi.md
Last active April 11, 2024 14:17
K8s on Raspbian
@biscuitvile
biscuitvile / up_an_running.md
Last active July 8, 2020 07:15
Up and Running with iTerm, Tmux, Vim, and vim-rails

Up and Running with iTerm, Tmux, Vim, and vim-rails

Make it a point to be able to use the keyboard as much as you can. In OS X the spotlight is great for this. By default the spotlight hotkey is Cmd+Space. Make it a point to try and always use iTerm in fullscreen. Remember that your tmux prefix is set to Ctrl+z

  • Open iTerm with spotlight with Cmd+Space search iTerm and open with Enter
  • Fullscreen iTerm with Cmd+Enter
  • Pop out of iTerm with the hotkey you added Ctrl+Enter
  • Pop back into iTerm with Ctrl+Enter again
  • Nagivate to your intended project directory
  • Check for running tmux sessions with tmux ls (Failed to connect to server just means no tmux sessions yet)
@rosswd
rosswd / multi-git-win.md
Last active June 24, 2024 02:04
Setting up a Github and Bitbucket account on the same computer on Mac OS. Now with a guide for Windows 10.

Setting up github and bitbucket on the same computer (Windows)

Guide for Windows

mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.

Github will be the main account and bitbucket the secondary.

Git for Windows

  • Download and install Git for Windows
    • In the installer, select everything but decide if you want a desktop icon (2nd step)
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 17, 2024 15:03
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@1stvamp
1stvamp / mac-curl-ca-bundle.sh
Created March 22, 2012 12:50
Script to install cURL CA certificates on OS X without macports
#!/bin/bash
mkdir /tmp/curl-ca-bundle
cd /tmp/curl-ca-bundle
wget http://curl.haxx.se/download/curl-7.22.0.tar.bz2
tar xzf curl-7.22.0.tar.bz2
cd curl-7.22.0/lib/
./mk-ca-bundle.pl
if [ ! -d /usr/share/curl/ ]; then
sudo mkdir -p /usr/share/curl/
else