I hereby claim:
- I am greduan on github.
- I am greduan (https://keybase.io/greduan) on keybase.
- I have a public key whose fingerprint is 2F24 E29B 1BE2 A929 5A81 9EDE 99C9 826C 54CF DECB
To claim this, I am signing this object:
! 2022-12-06 https://www.youtube.com | |
www.youtube.com###related | |
! 2022-12-20 https://www.youtube.com | |
www.youtube.com###primary > .ytd-two-column-browse-results-renderer.style-scope |
// prettified version of what can be found here: | |
// https://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Longest_common_subsequence#JavaScript | |
function LCS(a, b) { | |
var m = a.length, | |
n = b.length, | |
C = [], | |
i, | |
j; | |
for (i = 0; i <= m; i++) C.push([0]); |
class_d=bin | |
lib_d=lib | |
source_d=src | |
JAVAC=javac | |
JFLAGS=-g -d $(class_d) -sourcepath $(source_d) -Xlint:all | |
s_app=$(shell find $(source_d) -name '*.java') | |
c_app=$(patsubst $(source_d)/%.java, $(class_d)/%.class, $(s_app)) |
const fs = require('fs') | |
const path = require('path') | |
const Handlebars = require('handlebars') | |
const generateHandlebarsTemplate = | |
templateSource => Handlebars.compile(templateSource); | |
module.exports = viewsPath => { | |
const files = fs.readdirSync(viewsPath) |
const path = require('path') | |
const express = require('express') | |
const morgan = require('morgan') | |
const app = express() | |
app.set('x-powered-by', false) | |
app.set('view engine', 'ejs') | |
app.set('views', path.resolve(__dirname, '..', 'views')) |
const buttons = document.getElementsByClassName('subscribed-label') | |
Array.prototype.forEach.call(buttons, b => { | |
b.click() | |
const unsub = document.getElementsByClassName('overlay-confirmation-unsubscribe-button') | |
Array.prototype.forEach.call(unsub, u => u.click()) | |
}) |
I hereby claim:
To claim this, I am signing this object:
'use strict' | |
var Promise = require('bluebird'), | |
ttys = require('ttys'), | |
readlineSync = require('readline-sync') | |
module.exports = function () { | |
return Promise.resolve(readlineSync.question('password: ', { hideEchoBack: true })) | |
} |
// We don't need empty panes | |
if (atom.config.get('core.destroyEmptyPanes')) { | |
atom.config.set('core.destroyEmptyPanes', true) | |
} | |
atom.workspace.onDidOpen(function (event) { | |
/** | |
* event = { item, pane, index } | |
*/ |
var uuid = require('node-uuid') | |
var M = {} | |
M.BaseModel = Class(M, 'BaseModel').inherits(Krypton.Model)({ | |
primaryKey: 'uuid', | |
prototype: { | |
init: function (config) { |