Skip to content

Instantly share code, notes, and snippets.

View Efreak's full-sized avatar
😴
😪😴🥱😌💤

Efreak Efreak

😴
😪😴🥱😌💤
View GitHub Profile
@Efreak
Efreak / -
Created October 11, 2015 19:55
{ name: 'steam-chat-bot',
description: 'Simplified interface for a steam chat bot with lots of built-in functionality',
'dist-tags':
{ latest: '2.2.0',
senpaiplznoticemeeeeeee: '2.1.0',
GabenForPresident: '2.3.0' },
versions:
[ '1.0.0',
'1.1.0',
// To run this example without first copying it outside of node_modules/steam-chat-bot, use ./ as the require path, e.g.:
// var ChatBot = require("./").ChatBot
var ChatBot = require("steam-chat-bot").ChatBot;
var myBot = new ChatBot("xxx", "xxx", {
//this is required on the first run if you have steamguard enabled, but not after that.
guardCode: 'TFP9X',
//the built-in webserver is enabled by default
disableWebServer: false,
@Efreak
Efreak / Chrome Incognito Handler.reg
Last active June 9, 2021 03:54
Registers Google Chrome with windows (again) as a URL and filetype handler--but in incognito mode. If you choose 'Google Chrome Incognito' as a file/url handler, then your files/urls will open in incognito mode. You may wish to adjust the paths listed below if you don't have chrome installed in the standard location, or if you use dev or canary …
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ChromeIncognitoHTML]
@="Chrome Incognito HTML Document"
"AppUserModelId"="ChromeIncognito"
[HKEY_CLASSES_ROOT\ChromeIncognitoHTML\Application]
"AppUserModelId"="ChromeIncognito"
"ApplicationIcon"="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe,0"
"ApplicationName"="Google Chrome Incognito"
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am efreak on github.
  • I am efreak (https://keybase.io/efreak) on keybase.
  • I have a public key whose fingerprint is 0DEF EE82 9221 EF99 4C91 274B 5650 F588 9C8A 72C6

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Efreak
Efreak / GitLab_Logo.svg
Created March 13, 2016 21:05
The official gitlab logo is several shapes; in order to rasterize it without odd outlines and without finding some program other than inkscape, I had to make it layered instead.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Efreak
Efreak / chiplogo+text.svg
Created March 22, 2016 00:13
CHIP & NextThingCo logos. Edited from sources on their website (rainbowchiplogo.svg) and GitHub (SingleHeader.svg)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
c=jQuery('td');
for(i=0;i<c.length;i++){
c[i].innerHTML=c[i].innerText
}
function sec(e){if(window.getSelection&&document.createRange){var t=window.getSelection(),n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}else if(document.selection&&document.body.createTextRange){var o=document.body.createTextRange();o.moveToElementText(e),o.select()}}
if(jQuery(".account_table").length) {
sec(jQuery(".account_table")[0]);
var table = jQuery(".account_table").length ? "account_table" : "wallet_history_table"
jQuery('.wht_total > .wth_payment').remove()
c=jQuery('td');for(i=0;i<c.length;i++){c[i].innerHTML=c[i].innerText}
((function () {
var uri = 'data:application/vnd.ms-excel;base64,'
, template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>'
, base64 = function (s) { return window.btoa(unescape(encodeURIComponent(s))) }
, format = function (s, c) { return s.replace(/{(\w+)}/g, function (m, p) { return c[p]; }) }
return function (table, name, filename) {