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
{ | |
"_pleroma_theme_version": 2, | |
"theme": { | |
"themeEngineVersion": 3, | |
"shadows": { | |
"panel": [ | |
{ | |
"color": "#000000", | |
"x": 0, | |
"y": "10", |
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
#!/bin/bash | |
# Version 0.21.0 8:26 PST, Nov 9, 2018 | |
# inspried from this forum post https://discourse.gohugo.io/t/script-to-install-latest-hugo-release-on-macos-and-ubuntu/14774/10 | |
# if you have run into github api anonymous access limits which happens during debugging/dev then add user and token here or sourced from a separate file | |
# . ~/githubapitoken | |
#GITHUB_USER="" | |
#GITHUB_TOKEN="" | |
if [ "$GITHUB_TOKEN" != "" ]; then | |
echo using access token with script |
This is a step-by-step tutorial for hosting your website under your domain on IPFS, from zero, on a DigitalOcean Ubuntu 16.04.3 x64 Droplet (i am using the $10 variant with 2GB RAM).
Log in as root.
First, make sure the system is up to date, and install tar
and wget
:
- Copy-paste to split book into separate chapter files (also see split.sh)
- Add non-breaking space in range of numbers
- Fix inline spans broken by a space after a word before the closing
*
- Remove image width and height inherited from images in docx
- Wrap all images in an Electric Book figure blockquote
- Simplify indentation in lists by reducing space after list marker to one space
- [Remove non-kramdown markdown
^
around superscripts after numbers](#remove-non-kramdown-markdown--around-superscripts-a
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
<?php | |
/* if this script is located in your document root… */ | |
require(__DIR__ . '/kirby/bootstrap.php'); | |
if(get('params')) { | |
$articles = page('blog')->children(); | |
$sort = ($articles->count() + 1); | |
$date = date('Y-m-d'); |
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
<?php | |
/* | |
Action to create a blog post entry in my Kirby powered site via an IFTTT recipe. In IFTTT I have a an Instagram trigger that calls | |
this script, sending a POST using the Maake channel with this body: params={{EmbedCode}}&caption=<<<{{CaptionNoTag}}>>> | |
*/ | |
if((isset($_POST['params']))){ | |
$subject = urldecode($_POST['caption']); |
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
<?php | |
/* | |
CREDITS & LICENCE | |
------------------------------------------------------------------------------------------------------------------------------ | |
Made by Julien Dubedout / judbd.com | |
Released under Do What the Fuck You Want to Public License. https://en.wikipedia.org/wiki/WTFPL | |
PURPOSE | |
------------------------------------------------------------------------------------------------------------------------------ |
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
<?php | |
return array( | |
'title' => 'Widget Title', | |
'html' => function() { | |
// any data for the template | |
$data = array(); | |
return tpl::load(__DIR__ . DS . 'template.php', $data); | |
} | |
); |
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
<?php | |
/** | |
* Instructions: | |
* | |
* 1. Put this into the document root of your Kirby site | |
* 2. Make sure to setup the base url for your site correctly | |
* 3. Run this script with `php statify.php` or open it in your browser | |
* 4. Upload all files and folders from static to your server | |
* 5. Test your site |
NewerOlder