Skip to content

Instantly share code, notes, and snippets.

View knivey's full-sized avatar

Fred Akers knivey

View GitHub Profile
@knivey
knivey / quassel.qss
Created July 21, 2023 05:43
quassel theme
// This file is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
<?php
$heads = [
["╭──╮",
"│o_o",
"│ ╭╯"],
["╭──╮",
"o_o│",
"╰╮ │",],
["+--+",
#include <iostream>
#include <thread>
#include <chrono>
#include <pthread.h>
#include <mutex>
std::mutex printly;
void foo () {
for(int i = 0; i < 10; ++i) {
#include "inspircd.h"
class ModuleBirdNick : public Module
{
public:
ModuleBirdNick()
{
}
Index: src/coremods/core_user/cmd_nick.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/coremods/core_user/cmd_nick.cpp b/src/coremods/core_user/cmd_nick.cpp
--- a/src/coremods/core_user/cmd_nick.cpp (revision 744f8b4604524c50196751397438e2e8bdd0d7bc)
+++ b/src/coremods/core_user/cmd_nick.cpp (date 1643871401984)
@@ -45,6 +45,15 @@
{
#!/usr/bin/env php
<?php
# downloads done with:
# youtube-dl --proxy socks5://127.0.0.1:8080 --write-info-json -i -o "%(title)s (%(id)s).%(ext)s" -f bestaudio --add-metadata --extract-audio --download-archive dl.txt
//$files = [];
$files = glob("*.m4a");
$files = array_merge($files, glob("*.opus"));
foreach ($files as $f) {
$ext = pathinfo($f, PATHINFO_EXTENSION);
#!/bin/bash
color=$'\003'
disk="$(df -h / --output=avail | tail -n 1 | xargs) Avail"
disk_pcent=$(df -h / --output=pcent |tail -n 1 | xargs |sed "s/%//")
disk_color="${color}11,01"
case 1 in
$(($disk_pcent>=95))) disk_color="${color}04,01";;
$(($disk_pcent>=90))) disk_color="${color}08,01";;

Keybase proof

I hereby claim:

  • I am knivey on github.
  • I am knivey (https://keybase.io/knivey) on keybase.
  • I have a public key ASAMN-dW4Q7T0JmGDK9KMwSIrQvO66CCQKrEdWx-SeB3Ewo

To claim this, I am signing this object:

#include <stdio.h>
#include <time.h>
char* dance[] = {
":D\\-<",
":D|-<",
":D/-<",
":D|-<"
};
body {
color: black;
font-family: Hack;
font-size: 12px;
counter-reset:posts;
}
div.inlined {
background-color: rgba(228, 212, 202, 1);
}