This is just a summary of this very useful blog post.
Pons of round wind, your seat wind, ๐, ๐ , and ๐.
/* | |
Go to your screenshot page, set view as Image Wall, | |
press F12, then go to console to paste this code. | |
The browser tab should be visible on the monitor. | |
I highly recommend moving them to a corner where you can't see | |
the screenshots as the page scrolls, as you won't see them ever again. | |
When the page eventually refreshes and says an error occured, | |
keep the page open until you see no more number changes on your profile. | |
*/ |
/** | |
* Get a query map based on a query string. | |
* | |
* The function will populate a map variable with key value pairs of the parameters. | |
* | |
* If there is more than one of the same key, the function will populate an array in the map with the multiple values within it. | |
* | |
* Forked from {@link https://gist.github.com/MatthewDaniels/388fa1e0c02613f103f00a504ed58c55 MatthewDaniels/parse-query-parameters-into-a-map.js}. | |
* | |
* @param {?string} [query=window.location.search] The query string - the question mark is optional |
const replaceStorage = doubleStringifiedStorage => { | |
// copy storage with `copy(JSON.stringify(JSON.stringify(window.localStorage)))` | |
window.localStorage.clear() | |
const imported = JSON.parse(doubleStringifiedStorage) | |
for (const n in imported) { | |
localStorage.setItem(n, imported[n]) | |
} | |
} |
/* | |
Size: Width 320, Height 400 | |
Crop: Top 64, Bottom 278 | |
*/ | |
body { background-color: rgba(0, 0, 0, 0); margin: 0px; auto; overflow: hidden; } | |
/* transparent background */ | |
.white-bg, .gray-bg, .breadcrumb { background-color: rgba(0, 0, 0, 0); } | |
div.row:nth-child(4) div, .table-striped > tbody > tr:nth-of-type(2n+1) { | |
background-color: rgba(0, 0, 0, 1); |
/** | |
* Convert HSV (0-360, 0-100, 0-100) to RGB (0-255 each) | |
* @param {number[]} hsv array containing hue, saturation, and value | |
* @returns {number[]} array containing value of each color | |
* | |
* @link https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_RGB | |
* @link https://www.desmos.com/calculator/jhx7p5idov | |
*/ | |
function HSVToRGB (hsv) { | |
// convert value range of saturation and value |
#set( $MyName = "Dinir Nertan" ) | |
#set( $MyTwitterHandle = "@DinirNertan" ) | |
#set( $ThemeColor = "#65849f" ) | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>#[[$1Title$]]#</title> |
class ErrorLogCollector { | |
constructor() { | |
/* | |
By putting it in an array, the log variable can be copied by reference. | |
And when attempted to display the whole array on a textarea | |
it will only show the text. | |
*/ | |
this.errorLog = [''] | |
this.write = this.write.bind(this) |
GIMP Palette | |
Name: DNR-12x8 | |
Columns: 8 | |
# by Dinir Nertan using ColorBox | |
# https://github.com/Dinir | |
# https://www.colorbox.io/ | |
# | |
0 0 0 #000000 | |
255 255 0 #ffff00 | |
255 0 255 #ff00ff |
This is just a summary of this very useful blog post.
Pons of round wind, your seat wind, ๐, ๐ , and ๐.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<sizer> | |
<options showIconInTray="1" startInSafeMode="0" adjustOppositeEdge="0" tooltipOption="3" hotKey="90" hotKeyModifiers="10" hotKeyExtended="0" useDwmExtendedFrames="1"/> | |
<menu> | |
<resize description="1280ร720 Firefox" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0" width="1282" height="826" relocate="0" monitor="-2" top="" left="" noresize="0" relocateCoords="1"/> | |
<separator/> | |
<group description="Move Window up to the Margin" hotKey="0" hotKeyModifiers="0" hotKeyExtended="0"> | |
<macro description="โฉ" hotKey="103" hotKeyModifiers="11" hotKeyExtended="0">$margin = 16 | |
resize | |
t = t:workarea + $margin |