Skip to content

Instantly share code, notes, and snippets.


Matthew Goff Kline-

View GitHub Profile
Kline- / visio_toggle.vba
Last active Apr 7, 2020
Visio multi-layer visibility toggle
View visio_toggle.vba
' Visio objects attached to more than one layer will stay visible as long as any layer they are a member of is visible.
' This was undesireable behavior for the drawing I was creating and this is the solution I came up with. Suggestions and
' improvements are welcome as I rarely touch VBA code and prior to last week had only ever used Visio for about 5 minutes :)
' The ToggleLayer sub will toggle the visibility of a named layer in Visio. After updating the layer visibility it
' then calls the UpdateShapes sub to iterate through all objects and show/hide them by setting
' Geometry1.NoShow and Misc.HideText values based on the layer visibility.
Option Explicit
Kline- / chat.xc
Created Apr 22, 2018 — forked from Tey/chat.xc
[WoT] Colorize in battle chat with XVM colors
View chat.xc
// Add the following line to @xvm.rc to register that file:
// , "chat": ${"chat.xc":"chat"}
// Color values for substitutions.
// Значения цветов для подстановок.
"def": {
// Dynamic color by various statistical parameters.
// Динамический цвет по различным статистическим показателям.
"colorRating": {
View my.domain.conf
<VirtualHost *:80>
ServerName my.domain
ServerAlias domain
RequestHeader set X-Forwarded-Proto "http"
RewriteEngine on
# RewriteCond %{SERVER_PORT} ^80$
# RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
RewriteCond %{HTTP:X-Forwarded-Proto} !https
Kline- / 5star.user.js
Created Aug 19, 2015
Play Music / Restore 5 Star Ratings
View 5star.user.js
// ==UserScript==
// @name Google Play Music star ratings
// @namespace
// @version 0.2
// @description Restore the 5-star rating system.
// @match*
// @copyright whatever man
// @require
// ==/UserScript==
View gist:65db0d73384d0d54255b
; -- Init run & ascend --------------------------------------------------------------------
initDownClicks := [7,7,7,7,7,3]
yLvlInit := 240
ascDownClicks := 25
; -- Speed run ----------------------------------------------------------------------------
irisLevel := 528
gildedRanger := 4
You can’t perform that action at this time.