Skip to content

Instantly share code, notes, and snippets.

@eagle8625
eagle8625 / openjdk9-configure.txt
Created March 14, 2018 12:56 — forked from neomatrix369/openjdk9-configure.txt
OpenJDK9 - configure - usage text
Running generated-configure.sh
`configure' configures OpenJDK jdk9 to adapt to many kinds of systems.
Usage: /home/xxxxx/sources/jdk9/configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
@eagle8625
eagle8625 / codesign_gdb.md
Created February 26, 2018 13:02 — forked from gravitylow/codesign_gdb.md
Codesign gdb on macOS

If you are getting this in gdb on macOS while trying to run a program:

Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5).
 (please check gdb is codesigned - see taskgated(8))
  1. Open Keychain Access
  2. In menu, open Keychain Access > Certificate Assistant > Create a certificate
  3. Give it a name (e.g. gdbc)
@eagle8625
eagle8625 / curl.md
Created November 13, 2017 02:15 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@eagle8625
eagle8625 / tmux.md
Created September 10, 2017 03:38 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a