Skip to content

Instantly share code, notes, and snippets.


Maciej Mazur mamciek

  • Poznań, Poland
View GitHub Profile
mamciek /
Last active Sep 14, 2018 — forked from sebastien/
Python script that converts Nix's profile bash script to Fish
#!/usr/bin/env python3
import re, sys, os
Converts the Nix profile SH script to a Fish-compatible profile using a
simple line-by-line replace algorithm.
# Regular expressions for things we need to rewrite
RE_TEST = re.compile("\[([^\]]+)\]")
mamciek / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View cgrules.service
Description=Control Group rules service
# The service should be able to start as soon as possible,
# before any 'normal' services:
You can’t perform that action at this time.