This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { ChatClient } = require("dank-twitch-irc"); | |
//Config with login and passwd. | |
let client = new ChatClient({ | |
username: "tolekkbot", | |
password: "superlongpasswordnam", | |
rateLimits: "verifiedBot" | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
channel="$1" | |
start="$2" | |
end="$3" | |
function validate { | |
[ -n "$channel" ] && [ -n "$start" ] && [ -n "$end" ] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <[email protected]>. | |
# | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# example.com and subdomains | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name example.com *.example.com; | |
return 301 https://$host$request_uri; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
position: relative | |
} | |
body { | |
background: #252829; | |
color: #aaa | |
} | |
body>.content { | |
margin: 0 20px 20px 10px; | |
z-index: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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); |
NewerOlder