Skip to content

Instantly share code, notes, and snippets.

View krissemicolon's full-sized avatar

Kris Huber krissemicolon

View GitHub Profile
@krissemicolon
krissemicolon / legacy-kernel-conf
Last active June 25, 2022 17:22
My old gentoo kernel config for thinkpad T590
#
# Linux Kernel optimised for intel Laptops
#
#
# Compiler: gcc (Gentoo 9.3.0-r1 p3) 9.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
CONFIG_CLANG_VERSION=0
| ._ o _ _ _ ._ _ o _ _ | _ ._
|< | | _> _> (/_ | | | | (_ (_) | (_) | |
We couldn’t find that file to show.
.POSIX:
NAME=
EXT=
C=
$(NAME): src/*$(EXT)
$(C) src/*(EXT) -o $(NAME)
clean:
rm $(NAME) src/*.hi src/*.o
/*
* This file is part of the NAME distribution (https://github.com/krissemicolon/NAME).
* Copyright (c) 2021 Kris Huber.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
#include <stdio.h>
#include <stdlib.h>
typedef struct _node {
int data;
struct _node *next;
} node;
typedef struct {
node *head;
pub fn xor(text: &str, key: u8) -> String {
text.chars().map(|c| ((c as u8) ^ key) as char).collect()
}
<script>
alert("XSS");
</script>
4AkqW3mvKPFSGFSBhdgKkd71E3E9QY1siCZHQgxryMSFWjGdAz2eW2s4YfLaUqKHeiZxVjLcGDaBGEFGkAF1GmKWTSkQJBz

Keybase proof

I hereby claim:

  • I am krissemicolon on github.
  • I am krissemicolon (https://keybase.io/krissemicolon) on keybase.
  • I have a public key whose fingerprint is F77C 71F8 EA91 77AF 27CC BA45 1B82 D510 089E 3432

To claim this, I am signing this object: