This file contains hidden or 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
did:3:bafyreibs7kk4ibxq2pstmuq7peb3woc4tf3rpywtoz5quirga2liyy6qzy |
This file contains hidden or 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
//Usage: | |
// First set your blog feed generate to dump all feed entries | |
// $ wget http://yourdomain.com/feed -O feed.xml | |
// OR you can just export your data as rss 2.0 feed. | |
// Then: | |
// $ go run feed2md.go | |
// It will generate a bunch of .md files, one for each blog item. | |
// Now move those items to your content dir, and you are done. | |
// This program will generate archetypes for hugo engine, inlcuding aliases for the old URL pattern |
This file contains hidden or 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
input { | |
stdin { | |
type => "stdin-type" | |
} | |
file { | |
type => "syslog" | |
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ] | |
start_position => "beginning" | |
} |
This file contains hidden or 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
CC=g++ | |
CFLAGS=-g -c -Wall | |
LDFLAGS= | |
CXX_SOURCES=$(wildcard *.cpp) | |
C_SOURCES=$(wildcard *.c) | |
CXX_OBJECTS=$(SOURCES:.cpp=.o) | |
C_OBJECTS=$(C_SOURCES:.c=.o) | |
OBJECTS=$(C_OBJECTS) $(CXX_OBJECTS) | |
EXECUTABLE=hello |