Skip to content

Instantly share code, notes, and snippets.

View thomasjbradley's full-sized avatar
🐢
Saving dinosaurs

Thomas J Bradley thomasjbradley

🐢
Saving dinosaurs
View GitHub Profile
@thomasjbradley
thomasjbradley / LICENSE
Last active September 1, 2020 05:11
Swiper—a really basic left/right swiping event handler that tries to be helpful and not interfere with up/down scrolling.
MIT License
Copyright (c) 2017 Thomas J Bradley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@thomasjbradley
thomasjbradley / testing.md
Last active April 17, 2020 18:17
web-dev-4-030-w2020

Using the testing software beside your name, test the homepage of everybody in the list.

Tag @thomasjbradley in one of the issues you find. If you don’t find problems just tag @thomasjbradley in an Issue saying you didn’t find anything.

If the repo you’re looking at doesn’t have a homepage—test a few of the person’s patterns in your assigned software.

@thomasjbradley
thomasjbradley / testing.md
Last active April 14, 2020 18:06
web-dev-4-020-w2020

Using the testing software beside your name, test the homepage of everybody in the list.

Tag @thomasjbradley in one of the issues you find. If you don’t find problems just tag @thomasjbradley in an Issue saying you didn’t find anything.

If the repo you’re looking at doesn’t have a homepage—test a few of the person’s patterns in your assigned software.

@thomasjbradley
thomasjbradley / testing.md
Last active April 13, 2020 12:10
web-dev-4-010-w2020

Using the testing software beside your name, test the homepage of everybody in the list.

Tag @thomasjbradley in one of the issues you find. If you don’t find problems just tag @thomasjbradley in an Issue saying you didn’t find anything.

If the repo you’re looking at doesn’t have a homepage—test a few of the person’s patterns in your assigned software.

@thomasjbradley
thomasjbradley / scrolling-animation.js
Last active October 29, 2018 20:16
A replacement for jQuery in the JavaScript & jQuery effects video playlist. https://www.youtube.com/playlist?list=PLWjCJDeWfDdfAAbxA-H5XHQlGoLICyHe_
var sun = document.querySelector('.sun');
window.addEventListener('scroll', function () {
var top = window.scrollTop / 3;
sun.style.transform = 'rotate(' + top + 'deg)';
});