Skip to content

Instantly share code, notes, and snippets.

@Dykam
Dykam / DarkMonokai.qss
Created September 16, 2020 20:37 — forked from Zren/DarkMonokai.qss
Dark Monokai - Quassel Theme (qss)
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
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 / 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);
}
// 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 / 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?
// ==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==
@Dykam
Dykam / update.coffee
Last active August 29, 2015 14:21
Sponge updaters
#!/usr/bin/env node
// Run before first use:
// $ node install request
request = require "request"
fs = require "fs"
repo = "https://repo.spongepowered.org/maven"
console.log "Downloading verison list"
@Dykam
Dykam / Program.cs
Last active August 29, 2015 14:19
Small stand-alone URL-echoing server
using Microsoft.Owin;
using Microsoft.Owin.Hosting;
using Owin;
using System;
using System.Net.Http;
namespace SelfHost
{
public class Program
{