Skip to content

Instantly share code, notes, and snippets.

View Arxcis's full-sized avatar
✌️

Jonas Johan Solsvik Arxcis

✌️
  • Oslo, Norway
View GitHub Profile
@Arxcis
Arxcis / demo.html
Created January 25, 2019 08:08
How to navigate without hard-refresh of browser
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
#open {height: 200px;}
#close {height: 200px;}
#gallery { height: 200px; display: none; }
</style>
</head>
@Arxcis
Arxcis / demo.html
Created January 25, 2019 08:08
How to navigate without hard-refresh of browser
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
#open {height: 200px;}
#close {height: 200px;}
#gallery { height: 200px; display: none; }
</style>
</head>
<template>
<label :class="[$options.name, color, mark, shape, size, { disabled }]">
<input
type="checkbox"
:class="['box', { selected: value }]"
@click="onClick"
>
<slot v-if="$slots.default" />
</label>
</template>
{
"typ":"JWM",
"enc":"XC20P",
"alg":"ECDH-ES+A256KW",
"iv":[142,224,127,99,142,169,216,98,250,212,27,107,120,74,151,4,233,68,107,75,77,138,121,147],
"id":10584863993335768629,
"type":"didcomm/unknown",
"to":["did:key:z6MkpKtD5e2G7R4S2UYkb8BxcaFZaeCSPAHZuAG3wQ1RigkH"],
"from":"did:key:z6MkpKtD5e2G7R4S2UYkb8BxcaFZaeCSPAHZuAG3wQ1RigkH",
"created_time":1616404868,
{
"app-id": "com.transmissionbt.Transmission",
"runtime": "org.gnome.Platform",
"runtime-version": "42",
"sdk": "org.gnome.Sdk",
"command": "transmission-gtk",
"rename-desktop-file": "transmission-gtk.desktop",
"rename-appdata-file": "transmission-gtk.appdata.xml",
"rename-icon": "transmission",
"copy-icon": true,
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
}
#a,#b,#c,#d {
height: 100vh;
}
@Arxcis
Arxcis / TSE2220-øving-uke2.py
Created January 9, 2024 14:59
TSE2220-øving-uke2
import matplotlib.pyplot as plt
from numpy import arange, pi, e
from matplotlib.widgets import Slider
# Initial values
V_0 = 40 # volt
f = 50 # hz
R = 10 # Ohm
L = 10 # henry