Skip to content

Instantly share code, notes, and snippets.

View Flicksie's full-sized avatar
⚜️
Iterating

Flicky Flicksie

⚜️
Iterating
  • Wroclaw, PL
  • 15:21 (UTC +01:00)
View GitHub Profile
@Flicksie
Flicksie / highlow.py
Created March 16, 2024 14:10
Get highest / lowest not FL Piano Roll
import flpianoroll as flp
import math
PPQ = flp.score.PPQ
BEAT = PPQ * 4
STEP = PPQ
SCAN_UNITS_STR = ['Tick', 'Half Beat', 'Odd Beat', 'Half Bar', 'Odd Bar']
SCAN_UNITS = [1, STEP * 2, PPQ, PPQ * 2, BEAT]
@Flicksie
Flicksie / userChrome.css
Created August 18, 2022 07:28
Chrome Theme config
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
.tabbrowser-tab {
--tab-min-height: 32px;
overflow: visible !important;
}
/*#TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon:-moz-lwtheme, #tabbrowser-tabs:not([movingtab]) > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[multiselected="true"]:-moz-lwtheme, #tabbrowser-tabs:not([movingtab]) > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[selected="true"]:-moz-lwtheme{
*/
@Flicksie
Flicksie / sega_colors.js
Last active June 3, 2022 08:07
List of pure colors supported by the Sega Mega Drive
const colors = [];
const steps = [ 0, 0x34, 0x57, 0x74, 0x90, 0xAC, 0xCE, 0xFF ];
for (color = 0; color <= 0777; color++){
colors.push( '#' +
color
.toString(8)
.padStart(3,'0')
.split('')
.map( c => steps[c].toString(16).padStart(2,'0') )
.join('')
Private Sub CommandButton2_Click()
Me.Hide
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Contratos-Região")
Dim aCell As Range, Rng As Range