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
add_action('after_setup_theme', 'remove_custom_thumbnails', 30); | |
function remove_custom_thumbnails(){ | |
remove_image_size('tc-rectangular-size'); //or uncheck the proper option | |
remove_image_size('tc-thumb'); | |
remove_image_size('slider-full'); | |
remove_image_size('slider'); | |
} |
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
add_action('after_setup_theme', 'remove_custom_thumbnails', 30); | |
function remove_custom_thumbnails(){ | |
remove_image_size('tc-rectangular-size'); //or uncheck the proper option | |
remove_image_size('tc-thumb'); | |
remove_image_size('slider-full'); | |
remove_image_size('slider'); | |
} |
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
{"reqId":"FU6X46nFnQu5UVjU4nZe","remoteAddr":"192.168.1.104","app":"PHP","message":"Undefined offset: 0 at \/var\/www\/html\/datadesa\/lib\/private\/setup\/mysql.php#46","level":3,"time":"2016-04-05T14:27:46+00:00"} | |
{"reqId":"FU6X46nFnQu5UVjU4nZe","remoteAddr":"192.168.1.104","app":"no app in context","message":"Exception: {\"Exception\":\"DomainException\",\"Message\":\"Contacts tables are missing. Nothing to do.\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/datadesa\\\/apps\\\/dav\\\/lib\\\/migration\\\/migrateaddressbooks.php(83): OCA\\\\Dav\\\\Migration\\\\AddressBookAdapter->setup()\\n#1 \\\/var\\\/www\\\/html\\\/datadesa\\\/apps\\\/dav\\\/appinfo\\\/application.php(186): OCA\\\\Dav\\\\Migration\\\\MigrateAddressbooks->setup()\\n#2 \\\/var\\\/www\\\/html\\\/datadesa\\\/apps\\\/dav\\\/appinfo\\\/install.php(26): OCA\\\\Dav\\\\AppInfo\\\\Application->migrateAddressbooks()\\n#3 \\\/var\\\/www\\\/html\\\/datadesa\\\/lib\\\/private\\\/installer.php(621): include('\\\/var\\\/www\\\/html\\\/d...')\\n#4 |
This file has been truncated, but you can view the full file.
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
-- phpMyAdmin SQL Dump | |
-- version 4.6.2 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: 127.0.0.1 | |
-- Generation Time: 09 Mar 2017 pada 12.15 | |
-- Versi Server: 5.5.49 | |
-- PHP Version: 5.6.30 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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
<div class="_536- uiBoxWhite" id="u_0_11"><div class="phs _536_"><div id="u_0_12"><span class="_4-rr"><label class="_5370 _4-rs _4-rt uiButton" for="u_0_2"><img class="mrs _5371 _5372 customimg img" src="https://static.xx.fbcdn.net/rsrc.php/v3/y4/r/-PAXP-deijE.gif" alt="" width="1" height="1"><input value="Tebal" type="button" data-wysihtml5-command="bold" id="u_0_2"></label><label class="_5370 _4-rs _4-rt uiButton" for="u_0_3"><img class="mrs _5371 _5373 customimg img" src="https://static.xx.fbcdn.net/rsrc.php/v3/y4/r/-PAXP-deijE.gif" alt="" width="1" height="1"><input value="Kursif" type="button" data-wysihtml5-command="italic" id="u_0_3"></label><label class="_5370 _4-rs _4-rt uiButton" for="u_0_4"><img class="mrs _5371 _5374 customimg img" src="https://static.xx.fbcdn.net/rsrc.php/v3/y4/r/-PAXP-deijE.gif" alt="" width="1" height="1"><input value="Garis bawah" type="button" data-wysihtml5-command="underline" id="u_0_4"></label></span><span class="_4-rr _5378"><label class="_5370 _4-rs _4-rt uiButton" for=" |
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
#!/bin/bash | |
# Convert Markdown to Wordpress blogging format | |
# Required program(s) | |
req_progs=(ascii2uni pandoc) | |
for p in ${req_progs[@]}; do | |
hash "$p" 2>&- || \ | |
{ echo >&2 " Required program \"$p\" not installed."; exit 1; } | |
done |
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
Yep, have a look at http://pandoc.org/ or markdown-it https://github.com/markdown-it | |
It now depends, whether you want to merge the HTMl files or not: | |
# Single output files | |
for f in *.md ; do pandoc ${f} -f markdown -t html -s -o ${f}.html ; done | |
# One output file | |
pandoc *.md -f markdown -t -s html -o merged.html |
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
#!/bin/bash | |
# Converts HTML from https://exportmyposts.jazzychad.net/ exports to Markdown | |
POSTS_DIR=/Users/richard/Desktop/d6y/posts | |
for file in $POSTS_DIR/*.html | |
do | |
echo $file |
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
# This script was created to convert a directory full | |
# of markdown files into rst equivalents. It uses | |
# pandoc to do the conversion. | |
# | |
# 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
# 2. Copy this script into the directory containing the .md files | |
# 3. Ensure that the script has execute permissions | |
# 4. Run the script | |
# | |
# By default this will keep the original .md file |
OlderNewer