I have used this bash script as an eBook (*.epub) compiler. The script depends on:
- pandoc
- cowsay
And a eBook reader.
<!DOCTYPE html> | |
<html> | |
<body> | |
<input id="btn1" type="radio" name="colors" value="100" id="myRadio">Red color<br> | |
<input id="btn2" type="radio" name="colors" value="0" id="myRadio">Blue color | |
<button id="button">Try it</button> | |
<!-- onclick="myFunction()" --> |
<Directory /var/www/> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> |
<?php | |
/* | |
Plugin Name: PETJ_OGM | |
Plugin URI: https://github.com/asathoor/ogm | |
Description: OGP developed by Facebook ads a tile to a SoMe link. The plugin was developed for the research WordPress project. | |
Version: 1.0 | |
Author: Per Thykjaer Jensen | |
Author URI: https://github.com/asathoor/ | |
License: GPL2 | |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
<?php | |
/* *********************** | |
Every time you have a list | |
an array can help you. | |
Let PHP loop out your | |
HTML markup. | |
*********************** */ | |
include_once "head.php"; |
/* Wiseflow: .markdown comments to .pdf */ | |
var gulp = require('gulp'); | |
/* the gulp-pandoc-pdf module */ | |
var pdf = require('gulp-pandoc-pdf'); | |
/* Select .md, !**.. = 'not Unwanted/' */ | |
var sti = ['src/**/*.md','!**/Unwanted/**']; | |
// piping .pdf to build/pdf |
<?php | |
/* danske tegn */ | |
$mysqli = new mysqli("HOST", "USER", "PASSWORD","DATABASE"); | |
$mysqli->query("Set names 'utf8'") or die("Kunne ikke sætte danske tegn"); | |
// ... etc ... | |
?> |