Skip to content

Instantly share code, notes, and snippets.

View blubbll's full-sized avatar
🔷

B͈̤̖̪̪̱ͅl̯̯̮̼͎̬͚̳̩̖̲u̜̼͉͈̠b͙̬̘̙̱̗̲͙b͍̞̬̬͓̼l̰̪͖̯̼̟̟͈̖͕̜̱̜ͅl̻̗͔̝̭̰͚͇̯̥ blubbll

🔷
View GitHub Profile
@blubbll
blubbll / gist:b6729a018430e9d3673696eb56bc1d7c
Created July 19, 2020 14:33
Atmotube widget color kwgt
$if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >80,#26B9DA,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >60, #5ED2A1,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >40, #EEB91F,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >20, #EC612B,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >0,#EC2347)))))$
@blubbll
blubbll / gist:a0c4f6fb2a3459c763878b39a32b64bb
Created July 19, 2020 14:33
Atmotube widget color kwgt
$if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >80,#26B9DA,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >60, #5ED2A1,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >40, #EEB91F,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >20, #EC612B,
if(tc(split(tc(split, ni(com.atmotube.app, text) , "LQI ", 1), " (",0)) >0,#EC2347)))))$
@blubbll
blubbll / parseNetlist.cs
Last active July 8, 2020 11:41
parsing scanned netlist in c#
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace parseNetlist
{
public class Entry
{
@echo OFF
cd /D "%~dp0"
::k hält fenster offen, c schließt es
cmd /c "C:\Users\User\Apps\node\nodejs-portable.exe C:\Users\User\Apps\restart\action.js"
pause
//restart nighthawk m2
const puppeteer = require('puppeteer'),
fs = require("fs"),
exec = require("child_process").exec
process.title = `restart`;
const host = "http://192.168.1.1";
let browser, page;
@blubbll
blubbll / action.js
Last active July 13, 2020 05:13
network scanner for TL-WR841N
// network scanner for TL-WR841N
const puppeteer = require('puppeteer'),
fs = require("fs"),
exec = require("child_process").exec
//restart after an hour
setTimeout(_=>{
process.exit(0);
}, 60*30*1000);
const api = `${location.protocol}//${location.href.split("//")[1].split("/")[0]}`;
console.clear();
function WebmailViewModel() {
// Data
var self = this;
self.folders = ['Inbox', 'Archive', 'Sent', 'Spam'];
self.chosenFolderId = ko.observable("Inbox");
self.chosenFolderData = ko.observable();
self.chosenMailData = ko.observable();
@blubbll
blubbll / ko.html
Last active May 22, 2020 10:35
knockoutjs Tutorial 2
<h2>Your seat reservations (<span data-bind="text: seats().length"></span>)</h2>
<h3 data-bind="visible: totalSurcharge() > 0"> Total surcharge: $<span data-bind="text: totalSurcharge().toFixed(2)"></span>
</h3>
<style>
a[type=button],
button {
border: 2px solid black;
cursor: pointer;
padding: .125rem 1rem;
user-select: none;
document.title=document.querySelector('.vivo-video-data-holder').innerText.toLowerCase().split("watch")[1].split(".german")[0]
// Opera 8.0+
var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
// Firefox 1.0+
var isFirefox = typeof InstallTrigger !== 'undefined';
// Safari 3.0+ "[object HTMLElementConstructor]"
var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification));
// Internet Explorer 6-11