Skip to content

Instantly share code, notes, and snippets.

@Ratsuky
Ratsuky / spotify_tampermonkey_script.js
Last active March 26, 2021 11:33
Simple script to add key-bindings on spotify
// ==UserScript==
// @name Spotify Keybinding
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://open.spotify.com/*
// @grant none
// @require http://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==
@Ratsuky
Ratsuky / spotify_stylus_style.css
Last active March 26, 2021 11:36
Interface changes
/*
* Intended for use with Stylus https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en
* Can be used with other similar tools
* Rule used for setup in stylus is :
* Applies to [ URLs on domain ] : [open.spotify.com]
* Design changes :
* Height increased for playlist items
* Scaled album images to improve visibility
* Scaled now playing image indicator for better visibility
* Text colors changed to a light green
@Ratsuky
Ratsuky / start.ps1
Last active August 13, 2020 14:01
Script for starting up a local nginx, php-cgi, redis instance
$ServerPath = "D:\local_servers";
$appsToStart= @{
($ServerPath + '\redis\redis-2.4.5-win32-win64\64bit\redis-server.exe') =
"nil"
($ServerPath + '\php_ver\php-7.4.7-nts-Win32-vc15-x64\php-cgi.exe') =
"-b 127.0.0.1:9747 -c D:\local_servers\php_ver\php-7.4.7-nts-Win32-vc15-x64\php.ini"
('cd '+ $($ServerPath)+'\nginx\nginx-1.19.0\;start nginx.exe') =
@Ratsuky
Ratsuky / code_review_checklists.md
Created April 11, 2019 15:02 — forked from dideler/code_review_checklists.md
Code review checklists. Leave your suggestions in a comment below!

Based on the article: Using checklists for code review

In general, people are pretty good at the code review process, but it's sometimes surprising what can slip through. A natural consequence of the way our brains look at the world is that it's easy to pay a lot of attention to small details and code style flubs, and completely miss the big picture.

Obviously, not everything is applicable for every change. If the review request isn't making any changes to UI, then skip the first two checklists entirely. If a change is a bug fix, typically don't review it for architecture and design principles.

Put the big stuff first (e.g. architecture). You don't want to work through a ton of small issues before realizing that everything has to be rewritten.

Do a pass through the code for each and every item in the checklist. By only looking for a very specific type of defect, each pass goes relatively quickly, even for large changes. Focu

@Ratsuky
Ratsuky / 3_cheesecake_recipe.md
Last active July 3, 2020 14:17
Here are some things you can do with Gists in GistBox.