Skip to content

Instantly share code, notes, and snippets.

View LeonGr's full-sized avatar
🚀
The future is now!

Leon G LeonGr

🚀
The future is now!
View GitHub Profile
local border_vertical = "║"
local border_horizontal = "═"
local border_topleft = "╔"
local border_topright = "╗"
local border_botleft = "╚"
local border_botright = "╝"
local border_juncleft = "╠"
local border_juncright = "╣"
local if_nil = vim.F.if_nil
@LeonGr
LeonGr / arch.txt
Created February 27, 2018 10:06
arch motd
-`
.o+`
`ooo/
`+oooo:
`+oooooo:
-+oooooo+:
`/:-:++oooo+:
`/++++/+++++++:
`/++++++++++++++:
`/+++ooooooooooooo/`
@LeonGr
LeonGr / journalctl.txt
Created September 30, 2017 10:07
Journalctl of boot 4.13
-- Logs begin at Tue 2017-05-02 20:26:06 CEST, end at Sat 2017-09-30 12:03:51 CEST. --
Sep 30 12:02:53 leon kernel: microcode: microcode updated early to revision 0x22, date = 2017-01-27
Sep 30 12:02:53 leon kernel: random: get_random_bytes called from start_kernel+0x42/0x4b7 with crng_init=0
Sep 30 12:02:53 leon kernel: Linux version 4.13.3-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017
Sep 30 12:02:53 leon kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c362d400-05fa-4aa3-97eb-d36a4ee84458 rw quiet
Sep 30 12:02:53 leon kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Sep 30 12:02:53 leon kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Sep 30 12:02:53 leon kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Sep 30 12:02:53 leon kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Sep 30 12:02:53 leon kernel: x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, us
--
Federal Bureau of Investigation (FBI)
Anti-Terrorist And Monitory Crime Division.
Federal Bureau Of Investigation.
J.Edgar.Hoover Building Washington Dc
Customers Service Hours / Monday To Saturday
Office Hours Monday to Saturday:
Dear Beneficiary,
Series of meetings have been held over the past 7 months with the secretary general of the United Nations Organization. This ended 3 days ago. It is obvious that you have not received your fund which is to the tune of $4,700,000.00 due to past corrupt Governmental Officials who almost held the fund to themselves for their selfish reason and some individuals who have taken advantage of your fund all in an attempt to swindle your fund which has led to so many losses from your end and unnecessary delay in the receipt of your fund.
// By Leon
// Set up canvas
var canvas = document.getElementById('bubble');
var ctx = canvas.getContext('2d');
canvas.height = window.innerHeight;
canvas.width = window.innerWidth;
@LeonGr
LeonGr / gist:2bbc6a88d927a97a44b8
Created September 18, 2014 15:27
Revised Tic Tac Toe
window.onload = function() {
var
turn = 0,
blocks = document.getElementsByClassName('block'),
WINNING_MOVES = [
[0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 4, 8], [2, 4, 6]
],
gameRunning = true,
playerOneColor = 'rgb(119, 128, 241)',
playerTwoColor = 'rgb(69, 74, 138)',
var turn = 1, withAi, firstMove, hard;
// Set all blocks taken to false
blockTaken0 = false,
blockTaken1 = false,
blockTaken2 = false,
blockTaken3 = false,
blockTaken4 = false,
blockTaken5 = false,