date: 2017-12-15T00:30:27+09:00 draft: false tags:
- セミナー
- VAD協議会セミナー
- 予定しているセミナー
- イベント
- VAD協議会イベント
- 予定しているイベント
date: 2017-12-15T00:30:27+09:00 draft: false tags:
baseURL = "http://live.cogley.info" | |
defaultContentLanguage = "en" | |
languageCode = "en-us" | |
title = "RC Live" | |
copyright = "This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License. Some rights reserved by James R. Cogley" | |
enableGitInfo = "true" | |
enableemoji = "true" | |
staticDir = ["static"] | |
# Note: This can also be set per language. |
I use a Mac with hugo
, and have some zsh
functions in my .zshrc
file, to make my life easier.
I have a bunch of functions for running hugo server
with different ports to keep the sites out of each other's hair. Then I have some functions for generating the sites and pushing to production.
Once you have the functions written up, you can just execute hugoserver-1
to start the local server on port 1377, in the case below, and ctrl-c to stop it. And hugodeploy-1
to generate and push to your web server via rsync
.
The sample below is to make it easy to understand the gist (get it?). The ugly truth is here:
https://github.com/RickCogley/dotfiles/blob/master/zsh/zshrc
html { | |
/** -ms-text-size-adjust: 100%; | |
-webkit-text-size-adjust: 100%; */ | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
-webkit-tap-highlight-color: transparent; | |
text-rendering: optimizeLegibility; | |
font-kerning: normal; | |
font-variant-ligatures: common-ligatures, contextual; | |
-moz-font-feature-settings: "kern", "liga", "clig", "calt"; |
~/dev/RCC-live ❯❯❯ hugoserver-rcclive master ✱ ◼ | |
INFO 2017/04/10 20:44:37 Using config file: | |
INFO 2017/04/10 20:44:37 /Users/rcogley/dev/RCC-live/static/ is the only static directory available to sync from | |
INFO 2017/04/10 20:44:37 syncing static files to / | |
WARNING: Site config's rssURI is deprecated and will be removed in a future release. Set baseName in outputFormats.RSS. | |
WARN 2017/04/10 20:44:37 No translation bundle found for default language "en" | |
WARN 2017/04/10 20:44:37 Translation func for language en not found, use default. | |
WARN 2017/04/10 20:44:37 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language. | |
Started building sites ... | |
ERROR 2017/04/10 20:44:37 Failed to find GitInfo for "content/post/2017-04-10-How-Much-is-Too-Much-Reclining.md" |
Webfaction has been a stable, developer-focused hosting solution that I've used for years. Here are a few pointers about the service.
No, it has its own webfaction-style dashboard. It assumes you know what you are doing and can go in via ssh and fix things, but you use the dashboard GUI for initial setups.
This is a clumsy attempt at making a list of clients nearby, based on the haversine formula.
The geolocation.js goes in setup resources. The script goes in a text section on a form.
This is likely broken, as it was built a long time ago, and not since vetted. There may be different API's available now, or, we may need to renew our subscription to the API that we originally signed up for.
curl -X "POST" "https://api.github.com/repos/rickcogley/REPONAME/issues?state=all" \ | |
-H "Cookie: logged_in=no" \ | |
-H "Authorization: token THEd13GITHUBfb87TOKENa4FROM5eSETTINGS" \ | |
-H "Content-Type: text/plain; charset=utf-8" \ | |
-d $'{ | |
"title": "A workflow alerts Operator who performs a process", | |
"body": "TBD", | |
"milestone": 5, | |
"assignees": [ | |
"RickCogley", |