Skip to content

Instantly share code, notes, and snippets.

View SoftCreatR's full-sized avatar
👻
Boo!

Sascha Greuel SoftCreatR

👻
Boo!
  • Gladbeck, Germany
  • 04:52 (UTC +02:00)
View GitHub Profile
@SoftCreatR
SoftCreatR / autopoke.user.js
Last active August 29, 2015 14:05
Facebook Autopoke
// ==UserScript==
// @name Facebook Autopoke
// @icon http://i.imgur.com/5ShnMqG.png
// @namespace http://www.softcreatr.de
// @author Sascha Greuel
// @description Automatically pokes back people.
// @version 1.9.0
// @run-at document-end
// @grant none
//
// parseUri 1.2.2
// (c) Steven Levithan <stevenlevithan.com>
// MIT License
function parseUri (str) {
var o = parseUri.options,
m = o.parser[o.strictMode ? "strict" : "loose"].exec(str),
uri = {},
i = 14;
<?php
namespace wcf\util;
/**
* Extended math-related functions.
*
* @author Sascha Greuel <sascha@softcreatr.de>
* @copyright Sascha Greuel
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
@SoftCreatR
SoftCreatR / gom.user.js
Last active August 29, 2015 14:15
Hide posts of ignored users at woltlab.com
// ==UserScript==
// @name Get off me!
// @namespace https://www.softcreatr.de
// @include /^https?://(community|www)\.woltlab\.com/.*$/
// @version 1.0.0
// @grant none
// ==/UserScript==
var $ignoredUsersSelectors = [];
@SoftCreatR
SoftCreatR / gaypride.css
Last active August 29, 2015 14:24
Unobtrusive Gaypride solidarity
.gayPride {
width: 160px;
height: 160px;
position: relative;
}
.gayPride > img {
width: 100%;
height: 100%;
}
// ==UserScript==
// @name Shopstopper
// @namespace https://www.softcreatr.de
// @version 0.2
// @description Reminds you, that you already bought this product (if you did...)
// @author Sascha "SoftCreatR" Greuel
// @match https://pluginstore.woltlab.com/file/*
// @grant none
// ==/UserScript==
<?php
namespace wcf\system\pushover\API;
use wcf\util\ArrayUtil;
use wcf\util\HTTPRequest;
use wcf\util\JSON;
use wcf\util\StringUtil;
/**
* Pushover API
*
$rootScope.$evalAsync(function() {
$timeout(function() {
if ($location.hash()) {
if ($window.document.getElementsByClassName('navbar')[0] !== undefined) {
$anchorScroll.yOffset = parseInt($window.document.getElementsByClassName('navbar')[0].offsetHeight);
}
$anchorScroll();
}
});
@SoftCreatR
SoftCreatR / asb.sh
Last active October 12, 2016 06:06
Advanved Shell Backup - Copyright (c) 2015 by Sascha "SoftCreatR" Greuel - https://www.softcreatr.de - Licensed under CC-BY-SA
#!/bin/bash
#############################################################
# #
# Advanved Shell Backup #
# Copyright (c) 2015 by Sascha "SoftCreatR" Greuel #
# License: http://creativecommons.org/licenses/by-sa/4.0/ #
# Website: https://www.softcreatr.de #
# #
# Authors: Sascha Greuel, Florian Gail, Some others #
#region namespaces
using System;
using System.Reflection;
using System.Management;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Net.NetworkInformation;
using System.IO;
using System.Xml;