Skip to content

Instantly share code, notes, and snippets.

@gkhays
gkhays / Top 25 Science Fiction Books.md
Last active Aug 22, 2020
Picks for the top 25 science fiction books
View Top 25 Science Fiction Books.md

The Best 25 Science Fiction Ever Written

(Updated January 2016)

  • Dune, by Frank Herbert
  • The Book of the New Sun, by Gene Wolfe
  • The Moon is a Harsh Mistress, by Robert A. Heinlein
  • The Dispossessed, by Ursula K Le Guin
  • Hyperion, by Dan Simmons
  • Neuromancer, by William Gibson
  • The Stars My Destination, by Alfred Bester
@gkhays
gkhays / DevOps Primer.md
Last active Jun 1, 2020
Getting started with DevOps
View DevOps Primer.md

Dev Ops Primer

Develop Operations or DevOps is a discipline that bridges software development and IT operations.

Tools of the trade

@gkhays
gkhays / Detect GTA V Malware.md
Last active May 17, 2020
Steps to locate issues with GTA V
View Detect GTA V Malware.md

Detecting GTA V Issues

Every 5 seconds, GTA V "stutters." The problem does not occur when disconnected from the network.

Also, of interest, The Sims 4 experiences a similar issue.

Detect A Keylogger

The WikiHow article is pretty good. Check for the following processes.

@gkhays
gkhays / README-Template.md
Created Apr 21, 2020 — forked from PurpleBooth/README-Template.md
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@gkhays
gkhays / Git in Other Tools.md
Last active Apr 11, 2020
Using Git in Other Environments
View Git in Other Tools.md

Git in Other Environments

Eclipse

Eclipse comes with EGit.

image

Bash

@gkhays
gkhays / Git Merge and Diff.md
Last active Apr 11, 2020
Git external merge and diff tools
View Git Merge and Diff.md

External Merge and Diff Tools

Run four config commands

$ git config --global merge.tool extMerge
$ git config --global mergetool.extMerge.cmd \
  'extMerge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"'
$ git config --global mergetool.extMerge.trustExitCode false
$ git config --global diff.external extDiff
View Details and Summary.md

Details and Summary Tags in Markdown

Open Me A nice little list.
  • One
  • Two
  • Three
```bash
View My Little Pony Um Shell.md

Simple Shell

Call execv in a C program.

Child Process

int status = execv("/bin/ls", (char *[]) { "ls", "-l", NULL } );

/* If execv returns, something happened. */