Skip to content

Instantly share code, notes, and snippets.

View loveJesus's full-sized avatar
💭
Jesus Christ is Lord

Love JESUS loveJesus

💭
Jesus Christ is Lord
View GitHub Profile
@loveJesus
loveJesus / Resize LUKS Aleluya
Created August 29, 2021 16:00
Praise Jesus - Extend a LUKS partition (in my case worked on the live root partition, backup beforehand has been recommended)
# Thank You Jesus for https://semanticlab.net/sysadmin/encryption/How-to-resize-a-LUKS-encrypted-root-partition/
resize with fdisk
# resize the LUKS parititon (dm_crypt-3)
cryptsetup resize dm_crypt-3
# resize the physical device on top of it
pvresize /dev/mapper/dm_crypt-3
@loveJesus
loveJesus / aleluya.asm
Created April 15, 2020 19:14
Aleluya, a simple 44byte dos asm intro.
;Aleluya, a simple 44byte dos asm intro. Compile with "nasm aleluya.asm -o aleluya.com" .
BITS 16 ; 16bit asm code
org 100h ; 'boilerplate' assembly directive for offest of dos com programs
section .text ; starting the code section, memory variables and data are different
push 0xA000 ; This is the base location of video memory in mode 13h
pop es ; ES register cannot be set directly by an immediate (a direct number)
mov ax, 13h ; these two lines set a simple flat video mode called 13h
int 10h ; with 320x200 pixels and 256 color palette
mov dx,0 ; we will use DX as a frame counter
frame_loop_aleluya: ; our label for the start of drawing a frame, aleluya!
#Hallelujah
#Jesus Juve
import bpy
import bmesh
from mathutils import Vector
import sys
argv_aleluya = sys.argv
argv_aleluya = argv_aleluya[argv_aleluya.index("--") + 1:] if("--" in argv_aleluya) else [];
bpy.context.object
@loveJesus
loveJesus / -
Last active February 7, 2017 02:11
echo -n "Login Hallelujah: "; read login_aleluya
echo -n "Password Hallelujah: "; read password_aleluya
pacman -Sy
pacman -S archlinux-keyring tmux --noconfirm
pacman -Syu --noconfirm
pacman-db-upgrade
pacman -S jre8-openjdk blender --noconfirm
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
export LANG=en_US.UTF-8
@loveJesus
loveJesus / Dockerfile
Last active December 10, 2016 00:15
God be praised, alpine elixir phoenix docker
#Hallelujah
FROM alpine
ADD . /hallelujah
WORKDIR /hallelujah
MAINTAINER hallelujah@loveJesus.xyz
RUN apk --update add build-base \
ca-certificates \

Keybase proof

I hereby claim:

  • I am loveJesus on github.
  • I am lovejesus (https://keybase.io/lovejesus) on keybase.
  • I have a public key whose fingerprint is 06E6 5D55 44FE 877D 43A3 F4B7 C426 1C56 A33C F749

To claim this, I am signing this object:

#!/hallelujah/bin/bash
#echo "Do unto others as you would have them do unto you"
xLoveJesus=`cat /dev/urandom | xxd -l 2 -ps`
nLoveJesus=`ruby -e "puts 0x$xLoveJesus"`
nLoveJesus=`ruby -e "puts rand(32000)"`
#fix for diatheke bug on ubuntu
diatheke -b WEB -k $nLoveJesus | sed s/^:.*$// | sed '/^$/d' | awk '!a[$0]++' | paste -sd ' '
@loveJesus
loveJesus / .vimrc
Last active January 25, 2017 04:22
"Hallelujah
set nocompatible " be iMproved, required
nmap <C-N><C-N> :set invnumber<CR>
set pastetoggle=<F3>
nmap <C-O> :NERDTreeTabsToggle<CR>
syntax on
filetype off " required
set tabstop=2 softtabstop=0 expandtab shiftwidth=2 smarttab
syntax on
filetype plugin indent on
setw -g mode-keys vi
bind r source-file ~/.tmux.conf
#unbind C-b
#set -g prefix M-e
#bind M-e send-prefix
#set -g session-name 'Hallelujah-#S'
set -sg escape-time 0
bind -n M-h select-pane -L
bind -n M-j select-pane -D
God is good, simply wonderful