Skip to content

Instantly share code, notes, and snippets.

View jonathanforhan's full-sized avatar
💭
grinding

jonathanforhan

💭
grinding
  • 11:25 (UTC -04:00)
View GitHub Profile
@william8th
william8th / .tmux.conf
Last active May 23, 2024 18:31
Tmux open new pane in same directory
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B)
set -g prefix C-space
unbind-key C-b
bind-key C-space send-prefix
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
@tuldok89
tuldok89 / MainWindow.cpp
Created April 7, 2014 14:20
Win32 C/C++ Sample Code
#include <windows.h>
#include "MainWindow.h"
const TCHAR* MainWindow::m_szClassName = _T("DrawLite");
HINSTANCE MainWindow::m_hInstance = nullptr;
MainWindow::MainWindow(HINSTANCE hInstance)
{
m_hInstance = hInstance;