https://wiki.archlinux.org/index.php/beginners'_guide
What I wanted:
- LVM
- UEFI/GPT
###Connect to Wifi
wifi-menu -o
package main | |
import ( | |
"io" | |
"os" | |
"fmt" | |
"time" | |
) | |
type SlowWriter struct { |
package main | |
import ( | |
"errors" | |
"fmt" | |
"net/http" | |
) | |
type getSetter interface { | |
set(key, value string) error |
#!/bin/bash | |
# Succeed on all merge messages, as evidenced by MERGE_MSG existing | |
[ -f $GIT_DIR/MERGE_MSG ] && exit 0 | |
BRANCH=$(git branch | grep '*' | sed 's/* //') | |
read -r -d '' HELP_TEXT << EOM | |
# 1. Separate subject from body with a blank line | |
# 2. Limit the subject line to 50 characters |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(int argc, char *argv[]) | |
{ | |
int i, sum = 0; | |
if (argc != 2) { | |
printf("Improper input\nUsage: ./simple_keygen <KEY>\n"); | |
return -1; |
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char *argv[]) | |
{ | |
if (argc != 2) { | |
printf("Improper input\nUsage: ./simple_keygen <KEY>\n"); | |
return -1; | |
} | |
if (!strcmp("WhatASimpleKey", argv[1])) { |
https://wiki.archlinux.org/index.php/beginners'_guide
What I wanted:
###Connect to Wifi
wifi-menu -o
nasm -f elf64 hello.asm -o hello.o | |
ld -o hello hello.o -m elf_x86_64 |
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
if [ -f /etc/bash_completion ]; then | |
. /etc/bash_completion | |
fi | |
xhost +local:root > /dev/null 2>&1 | |