Skip to content

Instantly share code, notes, and snippets.

View theskillwithin's full-sized avatar
😝
yay

Austin Peterson theskillwithin

😝
yay
View GitHub Profile
@theskillwithin
theskillwithin / app.js
Last active September 8, 2019 07:34 — forked from spinningcat/app.js
{
!isAuthenticated && (
<>
<div className="wp-block-button">
<button type="button" onClick={this.handleRegister} className="wp-block-button-__link">..</button>
</div>
<div className="wp-block-button wp-block-button--disabled">
<button type="button" className="wp-block-button__link">...*</button>
</div>
</>
// @since 20160221
// singleton inspiration: http://www.dofactory.com/javascript/singleton-design-pattern
var bbsengine = (function () {
var instance;
function createinstance()
{
return {
// @since 20160219
intervals: [],

Frankie Bagnardi aka GreenJello has passed away on Sept 13, 2021 at age 27

Many of you in this channel know of him because he spent much of his time helping others, his death is a great blow to the community

He lost his battle with depression

Rest In Peace Frankie, we will never forget you.

If you are in a dark place, please reach out to chanops or the ones closest to you

function addSource(){
const count = document.querySelector("table#mainSources").querySelectorAll("tr").length;
const newRow = document.querySelector("tr#tr-0").cloneNode(true);
newRow.id = "tr-"+count;
newRow.querySelectorAll("td").forEach(td => {
const name = td.getAttribute("name");
if (name == "alias" || name == "mID"){
td.querySelector("label").innerHTML = td.querySelector("label").innerHTML.replace(":", " " + count + ":");
td.querySelector("input").id = td.querySelector("input").getAttribute("id").replace("0",count);
td.querySelector("input").value = "";