This file contains 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
/*! | |
* Vai su: http://wavepot.com/ | |
* Modifica la melodia qui sotto: | |
*/ | |
var bpm = 120; | |
var melodia = 'do do sol sol la la sol fa fa mi mi re re do '; | |
var basso = 'do do sol sol la la sol fa fa mi mi re re do '; |
This file contains 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
var glob = require('glob'); | |
var mkdirp = require('mkdirp'); | |
var falafel = require('falafel'); | |
var fs = require('fs'); | |
var colors = require('colors'); | |
var Q = require('q'); | |
var path = require('path'); | |
function searchDefs(src) { | |
var defs = []; |
This file contains 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
//start 0,0,0 | |
var width = 8; | |
var radius = 2; | |
var segments = 8; | |
var half = width / 2; | |
var segmentStepSize = Math.PI / 2 / segments; | |
//displacement | |
var w = half-radius; |
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0JCmGBzKdsused0xlCcTfJEFQl02q44UB37+Uu1yBGarnxYINaJ3OxG6Zysvtiuh4u7gpS7+OOsVKeMyNXcZqRPDINFaZXgCYSkA9t5d/RwSVnNLVZeb1oiaRrmtko3dG+TXkDergjV9Lxbnt4T2I3HPrI8bxfwBzZaj782EUjX7WiylPM+K+jaOVBMPQLifIyvD/GazP0hhQmpBXz6vNCHg5VzWZWKgIGdEqexihU3ysvhvB2xVRGuJ1wPGBQfEpdRJs1qjDK5cgTJWovNbtQs28786YjhYVlo6lVy1i8FJLX3P0J4BE2X1S9kKIdqO0s8nCVCXRmGW1beclzzlL roman@romac.local |
This file contains 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
/// illustrator script stub - converts paths to ... something else | |
var items = app.activeDocument.pageItems; | |
var strlog = ''; | |
var ops = []; | |
function log(str) { | |
strlog+= "\n" + str; | |
} |
This file contains 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
<?php | |
$data = explode("\n", file_get_contents('https://unicode.org/Public/emoji/11.0/emoji-data.txt')); | |
$ranges = []; | |
$toint = function($str) { | |
return intval($str, 16); | |
}; | |
foreach ($data as $line) { | |
$line = trim(preg_replace('/[#;].*/', '', $line)); |
This file contains 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
function APACHE { | |
docker run -d --rm -p 80:80 -v "${PWD}:/var/www/html" rasteiner/phpapache-for-devs | |
} | |
function APACHE7 { | |
docker run -d --rm -p 80:80 --env XDEBUG_CONFIG="remote_enable=0 profiler_enable=0" -v "${PWD}:/var/www/html" rasteiner/phpapache-for-devs:php7 | |
} | |
function APACHE7-DEBUG { | |
$HostIP = ( ` |
This file contains 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
<?php | |
use Kirby\Cms\PageBlueprint; | |
class shortcutsPreset { | |
static private $counter = 0; | |
static private function randomSectionName() { | |
self::$counter += 1; | |
return 'shortcuts_preset_section_' . self::$counter; | |
} | |
This file contains 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
<?php | |
/** | |
* @copyright Copyright (c) 2021 Bastian Allgeier | |
* @author Bastian Allgeier | |
* @link http://getkirby.com/ | |
* @license http://getkirby.com/license/ | |
*/ | |
/** | |
* Anything in your public path can be converted |
This file contains 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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "getkirby.com/schema/v3/blueprints/page", | |
"type": "object", | |
"$defs": { | |
"tabs": { | |
"type": "object", | |
"description": "Tabs are used to group related content. They can be used to create a tabbed navigation.", | |
"additionalProperties": { | |
"$ref": "#/$defs/tab" |
OlderNewer