I hereby claim:
- I am mysy00 on github.
- I am divosky (https://keybase.io/divosky) on keybase.
- I have a public key ASCQJc3ldEHSS-lC0kFbGDBCN9s60Xv76dQ_oLo8_Gcykgo
To claim this, I am signing this object:
// ==UserScript== | |
// @name Shoutbox New Message Sound | |
// @version 0.1 | |
// @description Play a sound when someone sends a message in the shoutbox | |
// @match http://mg-s.us/mybb/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
show-tree = log --oneline --graph --color --all --decorate | |
function getOffset( el ) { | |
var _y = 0; | |
while( el && !isNaN( el.offsetTop ) ) { | |
_y += el.offsetTop - el.scrollTop; | |
el = el.offsetParent; | |
} | |
return { top: _y }; | |
} | |
if ( getOffset( document.querySelector('.section-5') ).top <= window.scrollY && (getOffset( document.querySelector('.section-5') ).top + document.querySelector('.section-5').clientHeight) >= window.scrollY) { |
/* | |
Add hide tag to SCEditor (hide plugin required) | |
*/ | |
sceditor.command.set('hide', { | |
tooltip: 'Umiesc tag [hide]', | |
exec(caller) { | |
if ($.trim(this.getRangeHelper().selectedRange())) { | |
this.insert('[hide]', '[/hide]'); | |
return; |
I hereby claim:
To claim this, I am signing this object:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
Menu, Tray, Icon, C:\Users\Mikolaj\OneDrive\Documents\AHK\icons\typing.png,, 0 | |
; Global | |
<^q::Send !{f4} | |
#If WinActive("ahk_exe discord.exe") |
#include <iostream> | |
#include <chrono> | |
// spaghetti code but who cares, eh? ᶘᵒᴥᵒᶅ | |
using namespace std; | |
using namespace std::chrono; | |
unsigned int fibIt(unsigned int n) | |
{ |
--------------------------------------------------------------------------- | |
script_name("Players and vehicles in stream") | |
script_version("1.0") | |
script_author("Divir") | |
--------------------------------------------------------------------------- | |
local mad = require 'MoonAdditions' | |
--------------------------------------------------------------------------- | |
font_name = "Lucida Console" | |
font_size = 18 | |
font_flags = 12 |
script_name('Toggle Textdraws') | |
function main() | |
if not isSampLoaded() or not isSampfuncsLoaded() then return end | |
while not isSampAvailable() do wait(100) end | |
sampRegisterChatCommand("tds", toggleTd) | |
wait(-1) | |
end | |
function toggleTd() |
script_name('Toggle Radio') | |
local sampev = require 'samp.events' | |
function main() | |
if not isSampLoaded() or not isSampfuncsLoaded() then return end | |
while not isSampAvailable() do wait(100) end | |
sampRegisterChatCommand("toggleradio", toggleRadio) | |
wait(-1) | |
end |