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 / 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)
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
entrypoint = writeScript "entrypoint.sh" ''
#!${stdenv.shell}
set -e
# allow the container to be started with `--user`
if [ "$1" = "redis-server" -a "$(${coreutils}/bin/id -u)" = "0" ]; then
chown -R redis .
channel_trend_items
{
"ns" : "veescore_parser.channel_trend_items",
"size" : 0,
"count" : 0,
"storageSize" : 4096,
"capped" : false,
"wiredTiger" : {
"metadata" : {
"formatVersion" : 1
;; Disable menu-bar, tool-bar and scroll-bar to increase the usable space.
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
;; Also shrink fringes to 1 pixel.
(fringe-mode 1)
;; Turn on `display-time-mode' if you don't use an external bar.
(setq display-time-default-load-average nil)
(display-time-mode t)
#!/bin/bash
set -e
which vagrant >/dev/null
which git >/dev/null
echo ">>> Cloning/pulling nixpkgs Git repository ..."
git clone https://github.com/nixos/nixpkgs nixpkgs || (cd nixpkgs; git pull -f; cd ..)
echo ">>> Creating and configuring VM according to Vagrantfile ..."
Basic rules for Elite War and Trade
-----------------------------------
1. An organised initial attack is a good thing to aim for as Bek suggested. I think the best way to achieve this as Winky suggested, is for me to be the only one who starts war. I'll suggest a time to start and you'll need to count forward and work out if you'll be available at the start of war (after packing time of 12 hours).... we'll work out which time will have the most of us here.... which leads me to my next point.
2. In order to do this we need time to work ourselves out, I'm thinking 2 wars a week? (1 war a week has been suggested) but I'd like to try 2 for now, see how we go. One that starts friday I'd say and perhaps a Tuesday for the other...
3. Moving on to general ruleplay. Jackpots seem to be the main issue and frustration. I myself think it's a good rule if you have a jackpot to share it with someone, however this is not possible all the time obviously. I would like to make the rule that in our organised initial att
Basic rules for Elite War and Trade
-----------------------------------
1. An organised initial attack is a good thing to aim for as Bek suggested. I think the best way to achieve this as Winky suggested, is for me to be the only one who starts war. I'll suggest a time to start and you'll need to count forward and work out if you'll be available at the start of war (after packing time of 12 hours).... we'll work out which time will have the most of us here.... which leads me to my next point.
2. In order to do this we need time to work ourselves out, I'm thinking 2 wars a week? (1 war a week has been suggested) but I'd like to try 2 for now, see how we go. One that starts friday I'd say and perhaps a Tuesday for the other...
3. Moving on to general ruleplay. Jackpots seem to be the main issue and frustration. I myself think it's a good rule if you have a jackpot to share it with someone, however this is not possible all the time obviously. I would like to make the rule that in our organised initial att
building '/nix/store/rx27qlrqq0885103vwy1fgg3f7lnq6wz-python2.7-PyJWT-1.6.4.drv'...
unpacking sources
unpacking source archive /nix/store/cbv50i6jmrlg0k24np5lr6k47nkz8bxn-PyJWT-1.6.4.tar.gz
source root is PyJWT-1.6.4
setting SOURCE_DATE_EPOCH to timestamp 1527130002 of file PyJWT-1.6.4/setup.cfg
patching sources
configuring
building
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
Hi folks. I want to use deploy keys to access private repos (hosted GitLab).
This one works fine:
git clone https://my-gitlab-deploy-token-user:my-gitlab-deploy-token-pass@gitlab.com/username/projectname.git
Accessing archive.tgz fails with authentication error:
curl https://my-gitlab-deploy-token-user:my-gitlab-deploy-token-pass@gitlab.com/username/projectname/repository/archive.tar.gz
@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>