Skip to content

Instantly share code, notes, and snippets.

@dijikul
dijikul / gist:f237cab83d17d1296531
Last active August 29, 2015 14:06
KlipFolio CSS Tweaks
// ==UserScript==
// @name KlipFolio CSS Tweaks
// @namespace KlipFolio
// @description This script provides additional dashboard real-estate by hiding unnecessary titlebars on self-descriptive Klips.
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @version 1.3
// @match https://*.klipfolio.com/dashboard*
// ==/UserScript==
//Main Function
@dijikul
dijikul / TexasRanger.rb
Last active August 29, 2015 14:19
The Chuck Norris Problem in Ruby
$MESSAGE = gets.chomp
def make_zeros(count)
zeros = ""
count.times do
zeros += "0"
end
return zeros
end
@dijikul
dijikul / facebookSuggestedPostBlocker.js
Last active March 13, 2023 10:12
Tampermonkey Script: Facebook Suggested Post Blocker
// ==UserScript==
// @name Facebook Suggested Post Blocker
// @namespace http://*.facebook.com
// @version 0.1
// @description try to remove the "Suggested Post" blocks in the facebook feed
// @author jenksy
// @match https://www.facebook.com/
// @grant none
// @require http://code.jquery.com/jquery-3.1.1.min.js
// ==/UserScript==
@dijikul
dijikul / SPACEPLAN.ahk
Created May 20, 2017 17:28
SPACEPLAN_clicker
#MaxHotkeysPerInterval, 999
$*space::
IfWinActive, SPACEPLAN
{
Loop
{
if not GetKeyState("space", "P")
break
Send {space}
}
-- use it as service of automator
on run {input, parameters}
do shell script "date +%Y-%m-%d\\ %H.%M.%S"
set the clipboard to input & " - " & result as text
tell application "System Events"
the path to the frontmost application
the name of the result
<dashboard>
<label>Lab 3 - Web Store Server Error v2</label>
<search id="baseSearch">
<query>| tstats summariesonly=t count from datamodel="bcg_ws_student9" by _time, host, sourcetype, bcg_ws_root_event.status, bcg_ws_root_event.action1, bcg_ws_root_event.product_name1, bcg_ws_root_event.price1 span=1s | rename bcg_ws_root_event.status as status, bcg_ws_root_event.action1 as action, bcg_ws_root_event.product_name1 as product_name, bcg_ws_root_event.price1 as price</query>
<earliest>-30d@d</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<row>
<panel>
Quick Fix:
xinput set-prop 'TPK USA LLC Touch Fusion 4.' 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
Full Fix via (https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=230554&p=1413454#p1413454):
install evdev and add the following to the ""evdev touchscreen catchall":
Option "SwapAxes" "true"
Option "InvertX" "true"
Option "InvertY" "false"
@dijikul
dijikul / KSP2 DSP-72
Created March 17, 2023 01:10
Kerbal Space Program 2 DSP-72
{
"Version": "0.1",
"Guid": {
"Guid": "00000000-0000-0000-0000-000000000000",
"DebugName": null
},
"OwnerPlayerGuidString": "",
"OwnerPlayerId": 0,
"AuthorityPlayerId": 0,
"AssemblyOABConfig": {
@dijikul
dijikul / Rail.svg
Created April 25, 2023 02:57
VCV Rack Rail.svg for Color Key in OBS
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.