Skip to content

Instantly share code, notes, and snippets.

working, maybe


working, maybe
View GitHub Profile
Created Feb 18, 2019
FocaBot in strange places

I spent a whole morning trying to setup FocaBot on different (uncommon) platforms, just because.

I decided to document this in case someone needs it in the future, be aware that neither of those platforms are officially supported, so if you find any issues, you're mostly on your own.

Raspberry PI

Installing FocaBot on a Raspberry PI should be pretty straightforward, following the official install instructions for Linux should work for the most part.

Created Oct 27, 2017
FocaBot module to check the price of the bitcoin
# FocaBot 1.x / Azarasi
btcAverage = require('request-promise').defaults {
baseUrl: ''
json: true
simple: true
class BtcConvert extends BotModule
TheBITLINK / discordfb2k.js
Created Sep 10, 2017
Update discord's game status according to foobar2k's window title.
View discordfb2k.js
* @file Updates Discord's game status according to foobar2k's window title.
* @author TheBITLINK aka BIT <>
* @license MIT
* To use:
* - Set foobar2k's window title to "%artist% - %title%" (Preferences -> Display -> Default User Interface)
* - Edit the line bellow with your discord user token
* - Run those commands (in the same folder discordfb2k.js is in):
* - npm install discord.js node-process-windows
View thebitlink.zsh-theme
View .conkyrc
# Settings #
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes

Keybase proof

I hereby claim:

  • I am TheBITLINK on github.
  • I am thebitlink ( on keybase.
  • I have a public key whose fingerprint is EFDB 6E9D 00BD 8D33 5610 28CC 00F9 A505 26B6 D0B3

To claim this, I am signing this object:

TheBITLINK / discord.css
Last active Apr 20, 2018
Discord Theme
View discord.css
.new-messages-bar, .jump-to-present-bar {
left: 0!important;
right: 0!important;
border-radius: 0!important;
.new-messages-bar {
background: rgba(14,161,182, .75)!important;
TheBITLINK / archuser.js
Last active Nov 28, 2016
Node.js Arch User
View archuser.js
const getDistro = require('linus');
const isRoot = require('is-root');
const timeout = require('timeout-as-promise');
const chalk = require('chalk');
const truthy = require('truthy');
const execa = require('execa');
const terminate = require('terminate');
const Log = require('log');
const Promise = require('bluebird');
const pacmanCmd = require('system-install')().split(' ')[1];
View .bashrc
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
View FocaBot

FocaBot Changelog (Older Releases)

Here are the changelogs for all versions prior to FocaBot 0.5.5.

Changelogs for version 0.5.5 onwards are on the releases page.

Version 0.5.4 (December 15, 2016)

This is the biggest update FocaBot has got in a while.