Skip to content

Instantly share code, notes, and snippets.

@MariusCC
MariusCC / Arch_Linux_Install_Guide.md
Created November 16, 2024 21:18 — forked from mihirchanduka/Arch_Linux_Install_Guide.md
Arch Install Guide with BTRFS, Full Disk Encryption and Encrypted Swap Partition

Arch Linux Installation Guide


Guide to install Arch Linux on an EFI System. Includes these features:

  • Full Disk Encryption with LUKS
  • BTRFS with @ and @home subvolumes
  • Timeshift Backups
  • Encrypted Swap Partition
  • rEFInd bootloader
  • SDDM display manager
  • KDE Plasma desktop environment
@MariusCC
MariusCC / tezos-baking-howto.md
Last active September 19, 2019 15:27 — forked from dakk/tezos-baking-howto.md
tezos-baking-howto.md

Tezos baking howto

This howto is valid for Betanet on Ubuntu or Debian

Setup

Prereq

You have to install some dependencies. In debian / ubuntu run:

@MariusCC
MariusCC / vpn_psk_bingo.md
Created November 27, 2018 19:48 — forked from kennwhite/vpn_psk_bingo.md
Most VPN Services are Terrible

Most VPN Services are Terrible

Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.

This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016

@MariusCC
MariusCC / nginx.conf
Created May 24, 2017 12:12 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
### Keybase proof
I hereby claim:
* I am mariuscc on github.
* I am mariuscc (https://keybase.io/mariuscc) on keybase.
* I have a public key ASDaBFDx1WOUBT443_5Izmk9YxwJYFDutoc_XUO8htOayAo
To claim this, I am signing this object:
@MariusCC
MariusCC / saltsample_09252012_01
Created October 14, 2015 15:36 — forked from UtahDave/saltsample_09252012_01
Saltstack sample of using states and pillars for users
Here is a sample of how I am currently dealing with users.
Big thanks to uggedal! I used his user states as an example: https://github.com/uggedal/states
###
# How to create password hashes
###
python -c "import crypt; print crypt.crypt('password', '\$6\$SALTsalt\$')"
###

Ultimate OpenStack IceHouse Guide

NOTE: This Guide was merged into: https://github.com/tmartinx/openstack-guides/blob/master/IceHouse/

This is a Quick Guide to deploy OpenStack IceHouse on top of Ubuntu 14.04, it is IPv6-Ready!

It is compliant with OpenStack's official documentation (docs.openstack.org).

The tenant's subnets are based on Neutron, with ML2 plugin and Single Flat Network topology, dual-stacked.

#!/usr/bin/env python
import unittest
class Node:
def __init__(self, key, data):
self.key = key
self.data = data
self.left = None
self.right = None
#!/usr/bin/env python
import unittest
class Node:
def __init__(self, key, data):
self.key = key
self.data = data
self.left = None
self.right = None