Skip to content

Instantly share code, notes, and snippets.

💭
😎

Ruben Anders RAnders00

💭
😎
Block or report user

Report or block RAnders00

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@RAnders00
RAnders00 / download-overrustle
Last active May 18, 2019
Overrustle channellogs downloader
View download-overrustle
#!/bin/bash
channel="$1"
start="$2"
end="$3"
function validate {
[ -n "$channel" ] && [ -n "$start" ] && [ -n "$end" ]
}
@RAnders00
RAnders00 / main.js
Created Jan 1, 2019
Add arbitrary chat delay in seconds
View main.js
javascript:(function(){ let seconds = parseInt(prompt('Enter new chat delay option (in seconds):')); let ms = String(seconds * 1000); let newOption = document.createElement('option'); newOption.setAttribute('value', ms); newOption.setAttribute('data-test-selector', "chat-delay-radio:" + ms); newOption.text = seconds + " seconds"; document.querySelector('.chat-delay-menu > .tw-select').appendChild(newOption); })();
@RAnders00
RAnders00 / rules-both.iptables
Created Jan 1, 2019 — forked from jirutka/rules-both.iptables
Basic iptables template for ordinary servers (both IPv4 and IPv6)
View rules-both.iptables
###############################################################################
# The MIT License
#
# Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
View https-redirect
# example.com and subdomains
server {
listen 80;
listen [::]:80;
server_name example.com *.example.com;
return 301 https://$host$request_uri;
}
View U4juW7ENiVgGq3UTgn-5d2q6AeGPC7u4uZwW7wrLqlw.nice.css
html {
position: relative
}
body {
background: #252829;
color: #aaa
}
body>.content {
margin: 0 20px 20px 10px;
z-index: 1
View U4juW7ENiVgGq3UTgn-5d2q6AeGPC7u4uZwW7wrLqlw.css
html{position:relative}body{background:#252829;color:#aaa}body>.content{margin:0 20px 20px 10px;z-index:1}a,.md a{color:#6BB6CA}#header{border-bottom:0;background-color:#202426;margin:0 8px;border-left:1px solid #202426;border-right:1px solid #202426}.pagename a,body.with-listing-chooser.listing-chooser-collapsed #header .pagename{color:#FFF7FB;opacity:.9}#sr-header-area{font-family:arial;background-color:#252829;border-bottom:0}#sr-header-area:hover a{color:#d3d3d3}#sr-header-area a,.srSep{background:#252829;color:#6e787d}#sr-header-area a:hover{color:#607d8b;text-decoration:none}#sr-header-area .separator{visibility:hidden}#sr-header-area .selected a{color:#FF3D73}#RESShortcutsEditContainer{background-color:#252829!important}#sr-header-area .srdrop.dropdown .selected,.res #sr-header-area #srDropdownContainer a{width:40px;height:19px;padding:0;margin:0;display:block;background:url("//b.thumbs.redditmedia.com/VGgjcGYKRP0LBHWziaqbOiw6heqnR7On4E3k0tPnikY.png") no-repeat -5px -111px #AEBFC7;line-height:20px;text
View listing-comments.FmlVgtWOJQg.css
.expando .nestedlisting{margin-top:10px}.expando .nestedlisting .midcol,.expando .nestedlisting .flat-list,.expando .nestedlisting .comment .child,.expando .nestedlisting .morecomments{display:none!important}.expando .nestedlisting .usertext-body .md{border-width:0!important;background-color:transparent!important;padding:5px 0!important}.expando .nestedlisting .comment{margin-left:0!important}.expando .nestedlisting .comment:nth-of-type(1n+7){display:none}
View listing-comments.FmlVgtWOJQg.nice.css
.expando .nestedlisting {
margin-top: 10px
}
.expando .nestedlisting .midcol,
.expando .nestedlisting .flat-list,
.expando .nestedlisting .comment .child,
.expando .nestedlisting .morecomments {
display: none!important
}
.expando .nestedlisting .usertext-body .md {
View expando.RGCwwiIe2V0.nice.css
.expando-button {
float: left;
height: 23px;
width: 23px;
margin: 2px 5px 2px 0;
background: transparent none no-repeat scroll center center;
cursor: pointer
}
.expando-button.expanded.video {
background-image: url(sprite-expando.2qrMoUHZue8.png);
View expando.RGCwwiIe2V0.css
.expando-button{float:left;height:23px;width:23px;margin:2px 5px 2px 0;background:transparent none no-repeat scroll center center;cursor:pointer}.expando-button.expanded.video{background-image:url(sprite-expando.2qrMoUHZue8.png);background-position:0px -341px;background-repeat:no-repeat}.expando-button.expanded.video:hover{background-image:url(sprite-expando.2qrMoUHZue8.png);background-position:0px -312px;background-repeat:no-repeat}.expando-button.expanded.selftext{background-image:url(sprite-expando.2qrMoUHZue8.png);background-position:0px -341px;background-repeat:no-repeat}.expando-button.expanded.selftext:hover{background-image:url(sprite-expando.2qrMoUHZue8.png);background-position:0px -312px;background-repeat:no-repeat}.expando-button.collapsed.selftext{background-image:url(sprite-expando.2qrMoUHZue8.png);background-position:0px -457px;background-repeat:no-repeat}.expando-button.collapsed.selftext:hover{background-image:url(sprite-expando.2qrMoUHZue8.png);background-position:0px -428px;background-repeat
You can’t perform that action at this time.