Skip to content

Instantly share code, notes, and snippets.

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install -y keepassxc quassel nextcloud-client discord vscode spotify googlechrome
@Dykam
Dykam / DarkMonokai.qss
Created September 16, 2020 20:37 — forked from Zren/DarkMonokai.qss
Dark Monokai - Quassel Theme (qss)
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
@Dykam
Dykam / README.md
Last active May 15, 2018 14:52 — forked from erkal/README.md
Random Graph Generator

Random Graph Generator

Click anywhere to generate a new random graph.

  • The nodes are colored by the number of their neighbors.
  • Nodes with higher number of neighbours are bigger.
https://nextcloud.dykam.nl/index.php/s/gseS3r4MoG4e2rH
@Dykam
Dykam / _converter.js
Last active November 14, 2017 13:43 — forked from Dinnerbone/_notes.md
var r = {};
var visit = function(d, path) {
if(d.type !== "literal" || d.executable) {
r[path] = d;
}
if(d.children) {
for(var i in d.children) {
var key = d.children[i].type === "argument" ? "[" + i + "]" : i;
visit(d.children[i], path === undefined ? key : path + "/" + key);
}
// ==UserScript==
// @name Youtube to Youtube gaming
// @namespace http://dykam.nl/
// @version 0.1
// @description Redirects the YT watch page to the better YT gaming watch page
// @author Dykam
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
// https://store.steampowered.com/account/history/
if($J('#load_more_button').is(":visible")) {
$J('#load_more_button').click();
console.log("Loading more history...");
} else {
var summary = Array.prototype.map.call(jQuery(".wallet_table_row:has(.wht_type div:contains(In-Game Purchase))"), (i, row) => ({
game: jQuery(".wht_items > div:first-child", row).text(),
val: Number.parseFloat(jQuery(".wht_total", row).text().trim().replace(",", "."))
})).reduce((acc, obj) => (acc[obj.game] = (acc[obj.game] || 0) + obj.val, acc), {})
for(var game in summary) {
@Dykam
Dykam / pom.xml
Created December 9, 2013 23:58
Template for debug maven module. Put it in a subfolder of the main maven module, supply the params, and execute mvn install on it.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId><!--groupId--></groupId>
<artifactId><!--artifactId-->Debug</artifactId>
<version><!--version--></version>
<packaging>pom</packaging>
@Dykam
Dykam / 0. Musings with C#
Last active December 29, 2015 15:19
Comp# - Experimentations with dialecting C#
Why is it so hard to set a title, GitHub?
<div class="InfoWindow">
<div><span>description</span></div>
<fieldset class="Directions">
<legend>Route</legend>
<div class="Container">
<label>Van</label><input type="text" class="Dest" />
<label>naar</label><span class="Wrapped">address</span><input type="submit" value="Route zoeken" class="Search" />
</div>
</fieldset>
</div>