Skip to content

Instantly share code, notes, and snippets.

View asconix's full-sized avatar

Christoph Pilka asconix

  • Asconix Systems AS
  • Oslo, Norway
View GitHub Profile
@asconix
asconix / Moving_gpg_keys.txt
Created November 25, 2021 12:16 — forked from chrisswanda/Moving_gpg_keys.txt
Moving GPG keys to new machine
Mac and Linux work the same, storing the keys in ~/.gnupg. The safest way to transfer the files is using scp (part of ssh):
To copy from your local machine to another:
scp -rp ~/.gnupg othermachine:
To copy from a remote machine to your local:
scp -r othermachine:~/.gnupg ~
If you're on the machine that already has the key:
@asconix
asconix / nix-on-macos-catalina.md
Created August 19, 2021 13:01 — forked from chriselsner/nix-on-macos-catalina.md
Nix on macOS Catalina

Nix on macOS Catalina

I'm writing this gist for my own records but it might help someone else too.

Installing Nix

Support for Catalina has improved a lot since the update was first rolled out.

Note: See the NixOS manual for discussion of the --darwin-use-unencrypted-nix-store-volume option.

@asconix
asconix / gist-reveal.it-slides.html
Last active January 16, 2019 14:36 — forked from ryanj/gist-reveal.it-slides.html
Gist-powered Revealjs slideshow presentations http://gist-reveal.it
<section data-background-transition='zoom' data-transition='concave' data-background='https://upload.wikimedia.org/wikipedia/commons/1/11/Wikidata_Logo_TMg_Hexagon_3.svg' data-state='blackout'>
<h2>Hello Dima</h2>
<h1>This</h1>
<h2>... is the first attempt</h2>
<br/>
<h1 class='fragment grow'><a style='color:deepskyblue;' href='http://gist-reveal.it'>With gist-reveal.it</a></h1>
</section>
<section data-background-transition='zoom' data-transition='linear' id='try-it'>
<h2>It's so easy!</h2>
<p>Create your own deck by forking a copy of <a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>this github gist</a>: <br /><a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>https://gist.github.com/ryanj/af84d40e58c5c2a908dd</a></p>
@asconix
asconix / win7-bootable-usb-on-osx.md
Created January 27, 2018 14:42
Create a Bootable Win7 USB Stick on OSX

Create a Bootable Win7 USB Stick on OSX

Prerequesites:

  • 4GB+ USB Stick
  • Windows 7 ISO from Microsoft downloaded to your OSX-Machine

Preparing the drive

  1. Open Disk utility
  2. Find the drive, format it with the following options:
  • Choose Master Boot Record (MBR)