Skip to content

Instantly share code, notes, and snippets.

1:
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
import React from 'react';
export async function isLoggedIn() {
const response = await fetch('/isLoggedIn', {
credentials : 'include'
});
const authenticated = await response.json();
return authenticated.loggedIn;
}
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';
(() => {
[...document.getElementsByTagName('a')].forEach(x => x.addEventListener("mouseover", () => warnABrotha(x), false));
})();
function warnABrotha(x) {
if (x.href.includes("rebecca.blackfriday")) alert("it's friday");
}
@RUJodan
RUJodan / gist:cac7a60d1fca0a97b406
Created September 11, 2014 19:07
Rick Roll Link Detection
(function() {
[].forEach.call(document.getElementsByTagName('a'), function(x) {
x.addEventListener("mouseover", function() { warnABrotha(x) }, false);
});
})();
function warnABrotha(x) {
if (x.href == "http://www.youtube.com/watch?v=dQw4w9WgXcQ") alert("rick roll imminent");
}
/* to do: find a way to detect link shorteners */
@RUJodan
RUJodan / dangerzone.js
Last active August 29, 2015 14:01
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
lolz
*/
(function() {
"use strict";
bot.memory.save("roomKey");