Skip to content

Instantly share code, notes, and snippets.

View tuckbick's full-sized avatar
🤓
Working from home

Tucker Bickler tuckbick

🤓
Working from home
View GitHub Profile
@tuckbick
tuckbick / README.md
Created June 25, 2020 19:17 — forked from joyrexus/README.md
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
render() {
// ...
// It can 20-30 milliseconds for CSS to be applied to the newly
// inserted DOM. This attempts to wait for that.
// Gives up after 200 * 10 milliseconds = 2 seconds to be safe.
interval = window.setInterval(() => {
intervalAttempts++;
if (intervalAttempts > 200 || view.$el.height() > 1) {
clearInterval(interval);
@tuckbick
tuckbick / dabblet.css
Created November 18, 2013 19:51
Move in a circle without wrapper elements
/**
* Move in a circle without wrapper elements
* Idea by Aryeh Gregor, simplified by Lea Verou
*/
@keyframes rot {
from {
transform: rotate(0deg)
translate(-150px)
rotate(0deg);
ON THE SERVER:
// Party Model
module.exports = {
attributes: {
name: "STRING"
}
};