Skip to content

Instantly share code, notes, and snippets.

View wizzdom's full-sized avatar

wizzdom wizzdom

View GitHub Profile
@wizzdom
wizzdom / discord-custom.css
Created February 3, 2024 16:28
Discord Custom CSS
@import url("https://raw.githubusercontent.com/KillYoy/DiscordNight/master/DiscordNight.theme.css"); /* Base Theme */
@import url("https://killyoy.github.io/DiscordNight/Addons/Vanilla_ServerList_Message_Notice.theme.css"); /* Server list message notice */
@import url("https://killyoy.github.io/DiscordNight/Addons/Vanilla_Attachment_Button.theme.css"); /* Chat file attachment button */
:root {
--Channel-Invite-Edit-Buttons: none; /* flex = ON, none = OFF */
--Channel-Category-Invite-Button: flex; /* flex = ON, none = OFF */
--Channel-List-Active-Threads: flex; /* flex = ON, none = OFF */
#!/usr/bin/env bash
# convert list of args (separated by spaces) into list separated by commas
TAGS=` echo $* | tr ' ' ',' `
# now use TAGS to construct the URL
url="https://api.flickr.com/services/feeds/photos_public.gne?format=json&tags=$TAGS"
@wizzdom
wizzdom / settings.json
Created October 10, 2020 14:23
Windows Terminal Settings
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"profiles": {
"defaults": {
# Install script for Kristoffer
# Created 06.08.2015
ECHO Installing apps
ECHO Configure chocolatey
choco feature enable -n allowGlobalConfirmation
#choco install visualstudiocode
choco install notepadplusplus
@wizzdom
wizzdom / population_queries.sql
Created April 23, 2020 13:44
World-Populations-SQL-II-Challenge-Project-Solution (From the Codecademy Learn SQL Course)
-- How many entries in the database are from Africa?
SELECT *
FROM countries
WHERE continent = 'Africa';
-- What was the total population of Oceania in 2005?
SELECT SUM(population)
FROM population_years
JOIN countries
@wizzdom
wizzdom / population_queries.sql
Last active April 22, 2020 14:21
World-Populations-SQL-Practice-Solution (From the Codecademy Learn SQL Course)
-- This is the first query:
SELECT DISTINCT year from population_years;
-- Add your additional queries below:
SELECT MAX(population), year, country
FROM population_years
WHERE country = 'Gabon';