Skip to content

Instantly share code, notes, and snippets.

View workout and diet
Arms/Shoulders (triceps, biceps).
30 minutes cardio (or 3 miles, which ever takes longer)
Pullup set (assisted if you can't do real pullups) 5 reps * 3 (repeat for at least 3 different grip variations)
Tricep dips (assisted if needed, otherwise use machine)
Shoulder press, etc
Add in whatever arms you like here
End with burn outs
View AuthComponent.jsx
import React from 'react';
export async function isLoggedIn() {
const response = await fetch('/isLoggedIn', {
credentials : 'include'
const authenticated = await response.json();
return authenticated.loggedIn;
View Index.jsx
import React from 'react';
import {render} from 'react-dom';
import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom'
//import jsx
import Login from './components/Login.jsx';
import Create from './components/Create.jsx';
import Index from './components/Index.jsx';
import './index.scss';
View blackFriday.js
(() => {
[...document.getElementsByTagName('a')].forEach(x => x.addEventListener("mouseover", () => warnABrotha(x), false));
function warnABrotha(x) {
if (x.href.includes("")) alert("it's friday");
RUJodan / gist:cac7a60d1fca0a97b406
Created Sep 11, 2014
Rick Roll Link Detection
View gist:cac7a60d1fca0a97b406
(function() {
[]'a'), function(x) {
x.addEventListener("mouseover", function() { warnABrotha(x) }, false);
function warnABrotha(x) {
if (x.href == "") alert("rick roll imminent");
/* to do: find a way to detect link shorteners */
RUJodan / dangerzone.js
Last active Aug 29, 2015
View dangerzone.js
Using @Zirak's bot to generate an Archer themed command
Pings the user, and if they reply "WHAT?!" Caprica says "Danger Zone! back to them
(function() {
"use strict";"roomKey");