Skip to content

Instantly share code, notes, and snippets.

View bonbombs's full-sized avatar

bon bonbombs

View GitHub Profile
@bonbombs
bonbombs / clock.html
Last active July 24, 2023 03:26 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@bonbombs
bonbombs / customFields.json
Last active January 30, 2023 19:44
custom streamlabs follower goal widget
{
"font_type": {
"label": "Font",
"type": "fontpicker",
"value": "Fredoka One"
},
"barBackground": {
"label": "BG Color",
"type": "colorpicker",
"value": "#43342e"
@bonbombs
bonbombs / Live2D_Preprocess.jsx
Last active December 9, 2021 20:51
Addition to Live2D_Preprocess.jsx. Split processed layers with vertical symmetry. Your group/layer(s) must have the "__sym" suffix in order for them to split.
// **************************************************************************************
// This is Javascript for Adobe Photoshop CC
// Copyright (c) 2018 Live2D inc.
// This software is released under the MIT License.
// https://opensource.org/licenses/mit-license.php
//
// 「*」(アスタリスク)が付いていないレイヤーセットを結合
// 更新 2019/04/04 クイックマスクモードになっていると結合できない問題を解消
// **************************************************************************************
(function (){
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
let domStyle = document.getElementById('domStylee');
if (domStyle) {
document.body.removeChild(domStyle);
return;
}
domStyle = document.createElement("style");
domStyle.setAttribute('id', 'domStylee');
@bonbombs
bonbombs / main.js
Last active March 6, 2017 07:51
Scans for networks within the area and sends the number of networks it sees over an I2C connection
var i2c = require('i2c');
var sudo = require("sudo");
var address = 0x04; //FLORA Board device address
var wire = new i2c(address, {device: '/dev/i2c-1'}); //Begin I2C connection with FLORA board
//Scan networks every 5 seconds
setInterval(ScanForNetwork, 5 * 1000);
function ScanForNetwork() {
iwlistScan(function(err, results){