posts | seconds | time |
---|---|---|
1 | 0.824 | 0:0.824 |
100 | 2.644 | 0:2.644 |
1000 | 25.071 | 0:25.071 |
5000 | 186.715 | 3:6.715 |
10000 | 536.904 | 8:56.904 |
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
<meta name="application-name" content="{{site.title}}"/> | |
<meta name="msapplication-TileColor" content="#00acff"/> | |
{% if site.logo %} | |
<meta name="msapplication-square70x70logo" content="{{site.logo}}"/> | |
<meta name="msapplication-square150x150logo" content="{{site.logo}}"/> | |
<meta name="msapplication-wide310x150logo" content="{{site.logo}}"/> | |
<meta name="msapplication-square310x310logo" content="{{site.logo}}"/> | |
{% endif %} | |
<meta name="msapplication-notification" content="frequency=30;polling-uri=http://notifications.buildmypinnedsite.com/?feed={{site.url}}/atom.xml&id=1;polling-uri2=http://notifications.buildmypinnedsite.com/?feed={{site.url}}/atom.xml&id=2;polling-uri3=http://notifications.buildmypinnedsite.com/?feed={{site.url}}/atom.xml&id=3;polling-uri4=http://notifications.buildmypinnedsite.com/?feed={{site.url}}/atom.xml&id=4;polling-uri5=http://notifications.buildmypinnedsite.com/?feed={{site.url}}/atom.xml&id=5; cycle=1"/> | |
<!-- Created by Darryl Dias http://darryldias.m |
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
<?php | |
$publisher_id = "ca-pub-xxxxxxxxxxxxxxxx"; | |
$ad_slot = "xxxxxxxxxx"; | |
?> | |
<!doctype html> | |
<html amp <?php echo AMP_HTML_Utils::build_attributes_string( $this->get( 'html_tag_attributes' ) ); ?>> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> |
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
<!-- AdSense Snippet --> | |
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<ins class="adsbygoogle" | |
style="display:block;" | |
data-ad-client="ca-pub-xxxxxxxxxxxxxxxx" | |
data-ad-slot="xxxxxxxxxx" | |
data-ad-format="auto"></ins> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
</script> |
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
<!DOCTYPE html> | |
<html lang="en-US" prefix="og: http://ogp.me/ns#"> | |
<head> | |
<meta charset="utf-8"> | |
<title>{% if is_home %}{{ site.author }} {% elif is_post %} {{ post.title }} {% elif is_link %} {{ link.title }} {% elif is_tag %} {{ tag }} {% elif is_page %} {{ page.title }} {% endif %} | {{ site.name }}</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta name="apple-mobile-web-app-capable" content="yes" /> | |
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
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
--- | |
title: Lorem Ipsum | |
date: 2015/08/17 | |
description: A sample post | |
taxonomy: | |
tag: [sample] | |
category: [blog] | |
--- |
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
http { | |
server { | |
listen 80; | |
location / { | |
proxy_pass http://127.0.0.1:2368; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
} |
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
server { | |
listen 81; #You can change listen to the port you prefer | |
server_name localhost; # the server_name must be changed to the domain if required | |
root /usr/share/phpMyAdmin; # the root must be changed if the path to phpMyAdmin is different | |
index index.php; | |
#charset koi8-r; | |
#access_log /var/log/nginx/host.access.log main; |
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
#!/usr/bin/bash | |
if [ $(ps aux | grep node | grep -v grep | wc -l | tr -s "\n") -eq 0 ] | |
then | |
export PATH=/usr/bin:$PATH | |
#export PATH=/usr/local/bin:$PATH # If Node.js is source complied. | |
export NODE_ENV=production | |
NODE_ENV=production forever start --sourceDir /path/to/your/ghost index.js >> /var/log/nodelog.log 2>&1 | |
fi |