Name | Path | Verb | Description |
---|---|---|---|
Index | /article |
GET | list articles |
New | /article/new |
GET | show create_new form |
Create | /article |
POST | create new, redirect |
Show | /article/:id |
GET | show one article |
Edit | /article/:id/edit |
GET | show edit form |
Update | /article/:id |
PUT | update article, redirect |
Delete | /article/:id |
DELETE | delete article |
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
"append_commit_sha": "sed -i \"s+</html+<!-- ${CI_COMMIT_SHORT_SHA} --></html+g\" ./dist/index.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
const parser = (str, time) => { | |
if (!time) { | |
return str; | |
} | |
const re = /src="([^"]+)"/; | |
const match = re.exec(str); | |
if (!match) { | |
return str; |
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
// https://learnoutlive.com/german-english-dictionary-kindle-cloud-reader/ | |
javascript: (function() { | |
/* based on ACRExtensions via https://github.com/binarycrafts/ACRExtensions */ | |
var w = null; | |
var kDoc = null; | |
var kObj = null; | |
if (typeof window.KindleReaderContextMenu !== 'undefined') { | |
w = window; |