Skip to content

Instantly share code, notes, and snippets.

View Ianvdl's full-sized avatar
🐘
The local elephant tamer

Ian van der Linde Ianvdl

🐘
The local elephant tamer
View GitHub Profile
@sdondley
sdondley / tmux split-window subcommand.md
Last active July 22, 2024 09:11
Super Guide to the split-window tmux Subcommand (and Beyond)

Super Guide to the split-window tmux Subcommand (and Beyond)

Guide overview

tmux, like other great software, is deceptive. On the one hand, it's fairly easy to get set up and start using right away. On the other hand, it's difficult to take advantage of tmux's adanced features without spending some quality alone time with the manual. But the problem with manuals is that they aren't geared toward beginners. They are geared toward helping seasoned developers and computer enthusiasts quickly obtain the

@Ianvdl
Ianvdl / software_versions.ps1
Last active September 17, 2020 07:54
A puppet fact to get software versions on Windows
$list1 = $(gci -recurse HKLM:Software\Microsoft\Windows\CurrentVersion\Uninstall | gp | select-object displayname,displayversion)
$list2 = $(gci -recurse HKLM:SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall | gp | select-object displayname,displayversion)
$software = $list1 + $list2
#exact names
$names = 'Dropbox', 'RStudio', 'paint.net', 'Puppet Agent', 'Google Chrome', 'Adobe Acrobat DC'
ForEach($name in $names)
{
$item = $($software | where-object {$_.DisplayName -eq $name})
if ($item)
@powerman
powerman / AsciidocCheatsheet.adoc
Last active July 4, 2024 12:42
Asciidoc cheatsheet for GitHub

Asciidoc cheatsheet for GitHub

@gojun077
gojun077 / LFCS_study
Created March 19, 2015 05:32
LFCS Study Outline 2015.02.28
* LFCS Domains 2015.02
Note - the domains will change somewhat in March 2015. SW RAID
with mdadm will be removed
** The Command Line
*** Editing text files on the CLI
Covers the use of the basic text editors nano and gedit as well
as the advanced editors _vi_ and _emacs_
- nano
simple CLI-based text editor
@silent1mezzo
silent1mezzo / 0fixup.md
Created January 24, 2012 15:12 — forked from SethRobertson/index.md
On undoing, fixing, or removing commits in git

A git choose-your-own-adventure!

This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care or your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.