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
Just before the tags: | |
... | |
<footer class="entry-meta"> | |
<?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?> | |
<span>Written by: <?php the_author_link(); ?></span> | |
... | |
or just before the date: |
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
import numpy | |
from scipy import misc | |
import matplotlib.pyplot as plt | |
if __name__ == "__main__": | |
input = 'input.png' | |
output = 'output.png' | |
# Editing | |
imIn = misc.imread(input) |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#ifdef _WIN32 | |
#include <process.h> /* Required for _spawnv */ | |
#include <windows.h> | |
/* We make getpid() work in a similar | |
way on Windows as it does on Linux */ | |
#define getpid() GetCurrentProcessId() | |
#endif |
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
In my setup, /var/lib/backuppc is a soft link to a directory on a different filesystem, lets say /backup | |
Problem one: could not start the service | |
Solved by setting | |
chmod g+s /backup | |
chown -R backuppc /backup | |
Problem two: web interface would not come up | |
Solved by running (as root): |
NewerOlder