I have used this bash script as an eBook (*.epub) compiler. The script depends on:
- pandoc
- cowsay
And a eBook reader.
echo "# CSS-workshop" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/asathoor/CSS-workshop.git | |
git push -u origin master |
<?php | |
$to = 'mail@domain.com'; | |
$subject = 'subject'; | |
$message = 'hello'; | |
$headers = 'From: mail@domain.com' . "\r\n" . | |
'Reply-To: mail@domain.com' . "\r\n" . | |
'X-Mailer: PHP/' . phpversion() . "\r\n" . | |
'Date: ' . date('r', $_SERVER['REQUEST_TIME']); | |
<?php | |
/* danske tegn */ | |
$mysqli = new mysqli("HOST", "USER", "PASSWORD","DATABASE"); | |
$mysqli->query("Set names 'utf8'") or die("Kunne ikke sætte danske tegn"); | |
// ... etc ... | |
?> |
/* 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 | |
/* *********************** | |
Every time you have a list | |
an array can help you. | |
Let PHP loop out your | |
HTML markup. | |
*********************** */ | |
include_once "head.php"; |
<?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 |
<Directory /var/www/> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> |