Skip to content

Instantly share code, notes, and snippets.

View Serubin's full-sized avatar

Solomon Serubin

View GitHub Profile
// ==UserScript==
// @name GithubJSNavDisable
// @version 1
// @grant none
// ==/UserScript==
const LINK_REFRESH = 1500;
let LAST_LINK_LIST = [];
@Serubin
Serubin / AdGuardAnnoyances.txt
Last active April 16, 2020 15:54
AdGuard's Annoyances
![Adblock Plus 2.0]
! Checksum: RBg9sYP8sNF6gYP/QW/LzQ
! Title: Annoyances filter (Modified By Serubin)
! Description: Blocks irritating elements on web pages including cookie notices, third-party widgets and in-page pop-ups.
! Version: 2.0.3.70
! TimeUpdated: 2018-05-21T18:07:23+00:00
! Expires: 2 days (update frequency)
! Homepage: http://adguard.com/filters.html#annoyances
! License: http://creativecommons.org/licenses/by-sa/3.0/
!

Keybase proof

I hereby claim:

  • I am serubin on github.
  • I am serubin (https://keybase.io/serubin) on keybase.
  • I have a public key ASAOEHGTgj7T05ww5wtut-b4S5pQPJp230JJRqg_EAlyoAo

To claim this, I am signing this object:

07:54 < Haxx> Your friendly neighbourhood Tyras also comes in IRC variety!
07:54 < Tyras> Order now!
07:58 < Haxx> Just 58 simple daily payments of £168.53 followed by an
additional 841 hourly payments of £315.46 + P&P + VAT + tax!
07:59 < Haxx> Not available in shops!
08:00 < Haxx> You'd be so stupid not to take advantage of this amazing offer
that people might mistake you for having a serious mental illness!
08:00 < Tyras> Buy today and we'll throw in a FREE Haxx!
08:01 < Haxx> *Limited stocks available. First come first served basis. Oh, now
they're all gone. Never mind.
public String reasonArgs(String[] args) {
StringBuilder reason = new StringBuilder();
// combine args into a string
for (String s: args) {
reason.append(" " + s);
}
// return string
return reason.toString();
<?php
session_start();
$isAdmin=isset($_SESSION['auth']);
if(isset($_POST['pass'])&&!$isAdmin){
if($_POST['pass']=="brl"){
$_SESSION['auth']=true;
$isAdmin=true;
}
}
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="shortcut icon"
href="img/favicon.ico" />
<title>BranchScape</title>
</head>
<body>
<div id="title">
@Serubin
Serubin / JavaScript_check_hash.js
Created January 11, 2012 18:37
JavaScript check hash
$(document).ready(function(){
var hash = location.hash;
$('#title').slideDown('slow');
if(hash == 'rules'){
$('#rules').fadeIn('slow');
$('#content').hide();
}
else{
$('#content').fadeIn('slow');
$('#rules').hide();
@Serubin
Serubin / plugin.yml
Created January 6, 2012 23:53
permissions of ExPeMe
permissions:
expeme.*:
description: gives full permission on expeme.
expeme.view: true
children:
expeme.add.other: true
childern:
expeme.add: true
expeme.sub.other: true
children: