Skip to content

Instantly share code, notes, and snippets.

View setkeh's full-sized avatar

James (setkeh) Griffis setkeh

View GitHub Profile
@setkeh
setkeh / nixos.md
Created August 25, 2021 11:09 — forked from martijnvermaat/nixos.md
Installation of NixOS with encrypted root
@setkeh
setkeh / INSTRUCTIONS.md
Last active May 11, 2020 03:09
Gentoo LVM Luks Systemd setup Guide

Full Setup Steps

First Setup Disks Change this step howevery you need

parted -a optimal /dev/sdX

unit mib                     # Run in the Parted Shell
mklabel gpt                  # Run in the Parted Shell
@setkeh
setkeh / .vimrc
Last active April 26, 2018 09:57
" Setkeh VIMRC.
"
" Maintainer: setkeh <[email protected]>
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc
@setkeh
setkeh / .vimrc
Last active April 26, 2018 09:27
" Setkeh VIMRC.
"
" Maintainer: setkeh <[email protected]>
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc

Keybase proof

I hereby claim:

  • I am setkeh on github.
  • I am setkeh (https://keybase.io/setkeh) on keybase.
  • I have a public key whose fingerprint is F227 0EC8 1970 D600 B600 8E4D D701 FE68 31D9 2380

To claim this, I am signing this object:

using system;
using #linuxdistrocommunity
namespace UserGreeting {
class GreetUser {
public string Greeting {
foreach (object user in #linuxdistrocommunity) {
client.send = String.Format("Hello {0}", user.name);
}
}
@setkeh
setkeh / gitter.js
Last active March 24, 2016 15:54
gitter.js test
var Gitter = require("node-gitter");
var gitter = new Gitter(apitokenhere);
gitter.currentUser()
.then(function(user) {
console.log("Your are logged in as:", user.username);
});
var roomId = roomidhere;
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
block content
- name: Install system packages
yum: name={{ item }} state=installed
with_items:
- ruby
- gcc
- rubygems
- gcc-c++
- ruby-devel
- libxslt-devel
- libxml2-devel
ansible-playbook ansible/el7.yml    master  11-08-2015  4h 22m 11s 
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [52.64.1.114]
PLAY RECAP ********************************************************************
52.64.1.114 : ok=1 changed=0 unreachable=0 failed=0