Skip to content

Instantly share code, notes, and snippets.

View theskillwithin's full-sized avatar
😝
yay

Austin Peterson theskillwithin

😝
yay
View GitHub Profile
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 = "";

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

// @since 20160221
// singleton inspiration: http://www.dofactory.com/javascript/singleton-design-pattern
var bbsengine = (function () {
var instance;
function createinstance()
{
return {
// @since 20160219
intervals: [],
@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>
</>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Формы</title>
<script type="text/javascript">
//unction Na(){}
number = function() { this.hasNumber == number }
{
"plugins": [
[
"module-resolver",
{
"root": [
"."
],
"alias": {
"styles": "./styles"
import React from 'react'
import configureStore from 'redux-mock-store'
import { shallow } from 'enzyme'
import Page from 'components/Page'
import { Provider } from 'react-redux'
const mockStore = configureStore({
cobrand: '',
user: {},
activeInstalls: false,
```
reddit-init.en.Aej55dTt0xA.js:5 Not sending debug log; already sent 3
queueLog @ reddit-init.en.Aej55dTt0xA.js:5
(index):1 Uncaught TypeError: subscribe is not a function
at HTMLAnchorElement.onclick ((index):1)
reddit-init.en.Aej55dTt0xA.js:5 Client Error: "TypeError: subscribe is not a function" thrown at L1:36381 in https://www.reddit.com/r/Breath_of_the_Wild/ Message: "Uncaught TypeError: subscribe is not a function" Object
```
```
reddit-init.en.Aej55dTt0xA.js:5 Client Error: "TypeError: open_menu is not a function" thrown at L1:9686 in https://www.reddit.com/r/Breath_of_the_Wild/ Message: "Uncaught TypeError: open_menu is not a function" {tag: "unknown"}
@theskillwithin
theskillwithin / login.jsx
Last active July 26, 2017 18:29
Prototype style
import PropTypes from 'prop-types'
class Login extends React.Component {
constructor(props) {
super(props)
this.state = {}
}
render() {
return (
<div>