Growth on the condition of organisations that value growth as an investment
without that then it's money, it's a raw resource that can turn into anything
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
class Timer { | |
constructor(duration, callback) { | |
this.duration = duration; | |
this.callback = callback; | |
this.remainingTime = duration; | |
this.timerId = null; | |
this.paused = false; | |
} | |
async start() { |
Growth on the condition of organisations that value growth as an investment
without that then it's money, it's a raw resource that can turn into anything
<template> | |
<div class="container-style"> | |
<v-alert | |
:type="notification.type" | |
v-for="(notification,index) in notifications" | |
:key="index" | |
class="alert-style" | |
elevation="3" | |
dismissible | |
dense |
node_modules |
const plugin = require('tailwindcss/plugin') | |
const scrollbarHide = plugin(function ({ addUtilities }) { | |
addUtilities({ | |
'.scrollbar-hide': { | |
/* IE and Edge */ | |
'-ms-overflow-style': 'none', | |
/* Firefox */ | |
'scrollbar-width': 'none', |
Generally, you will add a git remote for your Heroku app during the Heroku app creation process, i.e. heroku create
. However, if you are working on an existing app and want to add git remotes to enable manual deploys, the following commands may be useful.
Note that on Heroku, you must always use master
as the destination branch on the remote. If you want to deploy a different branch, you can use the syntax local_branch:destination_branch
seen below (in this example, we push the local staging
branch to the master
branch on heroku.
$ git remote add staging https://git.heroku.com/staging-app.git
/* -------------------------------------------------------------------------- */ | |
// All Bootstrap 4 Sass Mixins [Cheat sheet] | |
// Updated to Bootstrap v4.5.x | |
// @author https://anschaef.de | |
// @see https://github.com/twbs/bootstrap/tree/master/scss/mixins | |
/* -------------------------------------------------------------------------- */ | |
/* | |
// ########################################################################## */ | |
// New cheat sheet for Bootstrap 5: |
// gulpfile.js | |
const handlebars = require('gulp-compile-handlebars'); | |
const rename = require('gulp-rename'); | |
gulp.task('html', () => { | |
return gulp.src('./src/pages/*.hbs') | |
.pipe(handlebars({}, { | |
ignorePartials: true, | |
batch: ['./src/partials'] |