Skip to content

Instantly share code, notes, and snippets.

View loraxx753's full-sized avatar

Kevin Baugh loraxx753

View GitHub Profile
@loraxx753
loraxx753 / App.jsx
Last active July 9, 2018 01:33
I'm just using .jsx for the styling, pretend it's .js
import React from 'react'
import CoolShiz from './CoolShiz'
class App extends React.Component {
render() {
return <CoolShiz>{() => 'This is just returned as a string.'}</CoolShiz>
}
}
export default App
import React, { Component } from "react";
import firebase from "../firebase.js";
const imageRef = muhImage => {
firebase
.storage()
.ref()
.child("images/" + muhImage)
.getDownloadURL()
.then(function(url) {
import React, { Component } from "react";
import SearchBar from "./SearchBar";
import AddImageForm from "./AddImageForm";
import Images from "./Images";
import firebase from "../firebase";
const itemsRef = firebase.database().ref("images");
class Archive extends Component {
constructor(props) {
console.log("It's Looog, it's Loooog");
@loraxx753
loraxx753 / zeta.js
Created February 16, 2018 04:09 — forked from bellbind/zeta.js
[javascript]complex arith and Riemann zeta function implementations
// Complex type
var Complex = function (real, imag) {
if (real instanceof Complex) return real;
imag = imag || 0;
return Object.freeze(Object.create(Complex.prototype, {
real: {value: real, enumerable: true},
imag: {value: imag, enumerable: true},
}));
};
Complex.fromPolar = function (r, theta) {
[{"url":"https://anapioficeandfire.com/api/books/1","name":"A Game of Thrones","isbn":"978-0553103540","authors":["George R. R. Martin"],"numberOfPages":694,"publisher":"Bantam Books","country":"United States","mediaType":"Hardcover","released":"1996-08-01T00:00:00","characters":["https://anapioficeandfire.com/api/characters/2","https://anapioficeandfire.com/api/characters/12","https://anapioficeandfire.com/api/characters/13","https://anapioficeandfire.com/api/characters/16","https://anapioficeandfire.com/api/characters/20","https://anapioficeandfire.com/api/characters/27","https://anapioficeandfire.com/api/characters/31","https://anapioficeandfire.com/api/characters/38","https://anapioficeandfire.com/api/characters/39","https://anapioficeandfire.com/api/characters/40","https://anapioficeandfire.com/api/characters/41","https://anapioficeandfire.com/api/characters/42","https://anapioficeandfire.com/api/characters/46","https://anapioficeandfire.com/api/characters/54","https://anapioficeandfire.com/api/character

Bauble Toggle

Choose your colour!

A bauble toggle made with SVG in ReactJS with GreenSock.

A Pen by loraxx753 on CodePen.

License.

@loraxx753
loraxx753 / test.js
Last active November 15, 2017 18:02
console.log(document.domain);
console.log('Attacked with XSS!');
@loraxx753
loraxx753 / index.html
Created October 26, 2017 19:11
QqRabZ
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
<p>Could you fucking not?</p>
<?php
namesapce Baughss\Core;
class Router {
}