Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim Ermilov yamalight

View GitHub Profile
View inoreader-colorful-list-view.user.js
// ==UserScript==
// @name InoReader Colorful Listview
// @namespace http://inoreader.colorful.list.view
// @description Colorizes items headers based on their source
// @include http*://*.inoreader.com/*
// @version 0.4.0
// @grant GM_addStyle
// ==/UserScript==
const colors = {};
@yamalight
yamalight / flowread-colorful-listview.user.js
Last active Jan 1, 2018
Flowreader Colorful Listview
View flowread-colorful-listview.user.js
// ==UserScript==
// @name Flowreader Colorful Listview
// @namespace http://flowreader.colorful.list.view
// @description Colorizes items headers based on their source
// @include http*://flowreader.com/*
// @version 0.2.0
// @grant GM_addStyle
// ==/UserScript==
const colors = {};
@yamalight
yamalight / test.js
Created Oct 3, 2016
Koa@2 and supertest
View test.js
import test from 'tape';
import Koa from 'koa';
import supertest from 'supertest';
const app = new Koa();
app.use(ctx => {
ctx.body = 'Hello World';
});
@yamalight
yamalight / test.js
Created Oct 3, 2016
Koa and supertest example
View test.js
const test = require('tape');
const koa = require('koa');
const supertest = require('supertest');
const app = koa();
app.use(function *(){
this.body = 'Hello World';
});
View feedly-colorful-list-view.user.js
// ==UserScript==
// @name Feedly Colorful Listview
// @namespace http://feedly.colorful.list.view
// @description Colorizes items headers based on their source
// @include http*://feedly.com/*
// @include http*://*.feedly.com/*
// @version 0.11.2
// ==/UserScript==
const colors = {};
@yamalight
yamalight / Makefile
Last active Jun 18, 2021
Generate docker TLS certs for secure remote access
View Makefile
# host name of your docker server
HOST=host.net
# ip of your docker server
IP=0.0.0.0
# days of validity for cert
DAYS=365
default:
openssl genrsa -aes256 -out ca-key.pem 4096
openssl req -new -x509 -days ${DAYS} -key ca-key.pem -sha256 -out ca.pem
View keybase.md

Keybase proof

I hereby claim:

  • I am yamalight on github.
  • I am yamalight (https://keybase.io/yamalight) on keybase.
  • I have a public key whose fingerprint is 5A30 3CDA 4413 5E85 191E 5460 3080 08BD 11E0 008F

To claim this, I am signing this object:

@yamalight
yamalight / steamcurator_tooltip.user.js
Last active Aug 29, 2015
Tooltip for Steam Recommended By Curators miniatures
View steamcurator_tooltip.user.js
// ==UserScript==
// @name Steam Recommended By Curators Tooltip
// @namespace http://steam.recommended.tooltips.enhancement/
// @version 1.0
// @description Adds quotes from non-main curators into the tooltip for them.
// @include http://store.steampowered.com/*
// @copyright 2013+, Tim Ermilov <yamalight@gmail.com>
// ==/UserScript==
(function(){