- Account at fly.io.
- fly's cli is installed and authenticated.
- A [Framework] project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// $ deno bench main_bench.ts | |
// benchmark time/iter (avg) iter/s (min … max) p75 p99 p995 | |
// ---------------- ----------------------------- --------------------- -------------------------- | |
// a*a 4.9 ms 204.1 ( 3.8 ms … 9.1 ms) 5.3 ms 8.4 ms 9.1 ms | |
// Math.pow(a, 2) 5.0 ms 200.0 ( 3.8 ms … 11.2 ms) 5.6 ms 8.6 ms 11.2 ms | |
// | |
// a*a 4.8 ms 209.8 ( 3.8 ms … 7.9 ms) 5.2 ms 6.8 ms 7.9 ms | |
// Math.pow(a, 2) 4.8 ms 207.0 ( 3.8 ms … 7.5 ms) 5.2 ms 7.4 ms 7.5 ms | |
// | |
// a*a 4.9 ms 205.9 ( 3.8 ms … 7.8 ms) 5.4 ms 7.7 ms 7.8 ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
**/ | |
// require modules { | |
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var gutil = require('gulp-util'); | |
var sass = require('gulp-sass'); | |
var plumber = require('gulp-plumber'); | |
var header = require('gulp-header'); |
I hereby claim:
- I am noxoc on github.
- I am noxoc (https://keybase.io/noxoc) on keybase.
- I have a public key whose fingerprint is E2A1 DD94 5C92 594D AB86 80D7 E4DD 9AE7 CB79 0A66
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
compass: { | |
dev: { | |
options: { | |
sassDir: 'sass', | |
cssDir: '.', | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Use the Cursor Keys!</h1> | |
<p>… after you clicked on the canvas</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# very quick and dirrrty updatescript | |
echo "Update started" | |
git clone https://github.com/bastianallgeier/kirbycms.git && | |
rm -rf kirby && | |
mv kirbycms/kirby . && | |
rm -rf kirbycms | |
echo "Update finished" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# = Capistrano database.yml task | |
# | |
# Provides a couple of tasks for creating the database.yml | |
# configuration file dynamically when deploy:setup is run. | |
# | |
# Category:: Capistrano | |
# Package:: Database | |
# Author:: Simone Carletti <[email protected]> | |
# Copyright:: 2007-2010 The Authors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tat() { | |
tmux attach -t $1; | |
} | |
_tat() { | |
tmux list-sessions | awk 'BEGIN { FS=":" } { print $1 }' | sed 's/[ ]/\\ /' | |
} | |
compdef _tat tat |
Simply put the update.sh
into the root of your kirby-project. next to kirby/
, content/
, site/
and other folders. Make it executable with chmod a+x update.sh
and execute it with ./update.sh
everytime you want to update your kirbycms to the latest version - from within the command line of course.
Though it is obvious: you need git.
NewerOlder