This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
) | |
const ( | |
regKey = `Software\Microsoft\Windows\CurrentVersion\Themes\Personalize` | |
regName = `AppsUseLightTheme` | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
import pathlib | |
from glob import glob | |
import random | |
import sys | |
from time import sleep | |
last_wallpaper = '' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias vim="/usr/local/bin/nvim_ostheme; nvim" | |
alias nvim="/usr/local/bin/nvim_ostheme; nvim" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from operator import mod | |
import sys | |
# engineered at 2:57am - October 8th, Saturday | |
def represent_as(origin, *, base=0, new_base=0): | |
# let's first represent the actual number in its base | |
number = origin | |
digits = [] | |
while number > 0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.18.4-alpine3.16 AS builder | |
ARG pkey | |
ENV SSH_PRIVATE_KEY $pkey | |
WORKDIR /service | |
ADD . . | |
RUN apk add --no-cache git openssh \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
int main() { | |
// N = amount of rooms | |
// P = amount of hallways | |
// Q = amount of floors | |
// K = randomly chosen room by user | |
int N, P, Q, K; |