Introduce basic web server that returns a random Strategy.
This commit is contained in:
parent
5adcbbfbc4
commit
36d86168de
25
.gitignore
vendored
Normal file
25
.gitignore
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
*.vim
|
25
index.js
25
index.js
@ -0,0 +1,25 @@
|
||||
const express = require('express')
|
||||
const app = express();
|
||||
|
||||
const strategies = require('./strategies');
|
||||
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
const theStrategy = strategies[ Math.floor(Math.random()*strategies.length) ];
|
||||
res.send(theStrategy);
|
||||
});
|
||||
|
||||
app.post('/', (req, res, next) => {
|
||||
let payload = req.body;
|
||||
res.sendStatus(200);
|
||||
|
||||
if (payload.event.type === 'app_mention') {
|
||||
// respond in kind
|
||||
}
|
||||
});
|
||||
|
||||
app.listen(4242, () => {
|
||||
console.log('oblique strategies are being served')
|
||||
});
|
||||
|
||||
|
355
package-lock.json
generated
355
package-lock.json
generated
@ -1,5 +1,358 @@
|
||||
{
|
||||
"name": "oblique-strategies-slack",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"accepts": {
|
||||
"version": "1.3.5",
|
||||
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
|
||||
"integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
|
||||
"requires": {
|
||||
"mime-types": "~2.1.18",
|
||||
"negotiator": "0.6.1"
|
||||
}
|
||||
},
|
||||
"array-flatten": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "http://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
|
||||
"integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
|
||||
},
|
||||
"body-parser": {
|
||||
"version": "1.18.3",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz",
|
||||
"integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=",
|
||||
"requires": {
|
||||
"bytes": "3.0.0",
|
||||
"content-type": "~1.0.4",
|
||||
"debug": "2.6.9",
|
||||
"depd": "~1.1.2",
|
||||
"http-errors": "~1.6.3",
|
||||
"iconv-lite": "0.4.23",
|
||||
"on-finished": "~2.3.0",
|
||||
"qs": "6.5.2",
|
||||
"raw-body": "2.3.3",
|
||||
"type-is": "~1.6.16"
|
||||
}
|
||||
},
|
||||
"bytes": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
|
||||
"integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
|
||||
},
|
||||
"content-disposition": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",
|
||||
"integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ="
|
||||
},
|
||||
"content-type": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
|
||||
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
|
||||
},
|
||||
"cookie": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
|
||||
"integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s="
|
||||
},
|
||||
"cookie-signature": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
|
||||
"integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
|
||||
},
|
||||
"debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
|
||||
"requires": {
|
||||
"ms": "2.0.0"
|
||||
}
|
||||
},
|
||||
"depd": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
|
||||
"integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
|
||||
},
|
||||
"destroy": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
|
||||
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
|
||||
},
|
||||
"ee-first": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
|
||||
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
|
||||
},
|
||||
"encodeurl": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
|
||||
"integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
|
||||
},
|
||||
"escape-html": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
|
||||
"integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
|
||||
},
|
||||
"etag": {
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
|
||||
"integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
|
||||
},
|
||||
"express": {
|
||||
"version": "4.16.4",
|
||||
"resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz",
|
||||
"integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==",
|
||||
"requires": {
|
||||
"accepts": "~1.3.5",
|
||||
"array-flatten": "1.1.1",
|
||||
"body-parser": "1.18.3",
|
||||
"content-disposition": "0.5.2",
|
||||
"content-type": "~1.0.4",
|
||||
"cookie": "0.3.1",
|
||||
"cookie-signature": "1.0.6",
|
||||
"debug": "2.6.9",
|
||||
"depd": "~1.1.2",
|
||||
"encodeurl": "~1.0.2",
|
||||
"escape-html": "~1.0.3",
|
||||
"etag": "~1.8.1",
|
||||
"finalhandler": "1.1.1",
|
||||
"fresh": "0.5.2",
|
||||
"merge-descriptors": "1.0.1",
|
||||
"methods": "~1.1.2",
|
||||
"on-finished": "~2.3.0",
|
||||
"parseurl": "~1.3.2",
|
||||
"path-to-regexp": "0.1.7",
|
||||
"proxy-addr": "~2.0.4",
|
||||
"qs": "6.5.2",
|
||||
"range-parser": "~1.2.0",
|
||||
"safe-buffer": "5.1.2",
|
||||
"send": "0.16.2",
|
||||
"serve-static": "1.13.2",
|
||||
"setprototypeof": "1.1.0",
|
||||
"statuses": "~1.4.0",
|
||||
"type-is": "~1.6.16",
|
||||
"utils-merge": "1.0.1",
|
||||
"vary": "~1.1.2"
|
||||
}
|
||||
},
|
||||
"finalhandler": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
|
||||
"integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
|
||||
"requires": {
|
||||
"debug": "2.6.9",
|
||||
"encodeurl": "~1.0.2",
|
||||
"escape-html": "~1.0.3",
|
||||
"on-finished": "~2.3.0",
|
||||
"parseurl": "~1.3.2",
|
||||
"statuses": "~1.4.0",
|
||||
"unpipe": "~1.0.0"
|
||||
}
|
||||
},
|
||||
"forwarded": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
|
||||
"integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
|
||||
},
|
||||
"fresh": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
||||
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
|
||||
},
|
||||
"http-errors": {
|
||||
"version": "1.6.3",
|
||||
"resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
|
||||
"integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
|
||||
"requires": {
|
||||
"depd": "~1.1.2",
|
||||
"inherits": "2.0.3",
|
||||
"setprototypeof": "1.1.0",
|
||||
"statuses": ">= 1.4.0 < 2"
|
||||
}
|
||||
},
|
||||
"iconv-lite": {
|
||||
"version": "0.4.23",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
|
||||
"integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
|
||||
"requires": {
|
||||
"safer-buffer": ">= 2.1.2 < 3"
|
||||
}
|
||||
},
|
||||
"inherits": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
|
||||
},
|
||||
"ipaddr.js": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz",
|
||||
"integrity": "sha1-6qM9bd16zo9/b+DJygRA5wZzix4="
|
||||
},
|
||||
"media-typer": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
|
||||
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
|
||||
},
|
||||
"merge-descriptors": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
|
||||
"integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
|
||||
},
|
||||
"methods": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
|
||||
"integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
|
||||
},
|
||||
"mime": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
|
||||
"integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="
|
||||
},
|
||||
"mime-db": {
|
||||
"version": "1.37.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz",
|
||||
"integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg=="
|
||||
},
|
||||
"mime-types": {
|
||||
"version": "2.1.21",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
|
||||
"integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
|
||||
"requires": {
|
||||
"mime-db": "~1.37.0"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
|
||||
},
|
||||
"negotiator": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
|
||||
"integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk="
|
||||
},
|
||||
"on-finished": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
|
||||
"integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
|
||||
"requires": {
|
||||
"ee-first": "1.1.1"
|
||||
}
|
||||
},
|
||||
"parseurl": {
|
||||
"version": "1.3.2",
|
||||
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz",
|
||||
"integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M="
|
||||
},
|
||||
"path-to-regexp": {
|
||||
"version": "0.1.7",
|
||||
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
|
||||
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
|
||||
},
|
||||
"proxy-addr": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz",
|
||||
"integrity": "sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA==",
|
||||
"requires": {
|
||||
"forwarded": "~0.1.2",
|
||||
"ipaddr.js": "1.8.0"
|
||||
}
|
||||
},
|
||||
"qs": {
|
||||
"version": "6.5.2",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
|
||||
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
|
||||
},
|
||||
"range-parser": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
|
||||
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4="
|
||||
},
|
||||
"raw-body": {
|
||||
"version": "2.3.3",
|
||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz",
|
||||
"integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==",
|
||||
"requires": {
|
||||
"bytes": "3.0.0",
|
||||
"http-errors": "1.6.3",
|
||||
"iconv-lite": "0.4.23",
|
||||
"unpipe": "1.0.0"
|
||||
}
|
||||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
||||
},
|
||||
"send": {
|
||||
"version": "0.16.2",
|
||||
"resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
|
||||
"integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
|
||||
"requires": {
|
||||
"debug": "2.6.9",
|
||||
"depd": "~1.1.2",
|
||||
"destroy": "~1.0.4",
|
||||
"encodeurl": "~1.0.2",
|
||||
"escape-html": "~1.0.3",
|
||||
"etag": "~1.8.1",
|
||||
"fresh": "0.5.2",
|
||||
"http-errors": "~1.6.2",
|
||||
"mime": "1.4.1",
|
||||
"ms": "2.0.0",
|
||||
"on-finished": "~2.3.0",
|
||||
"range-parser": "~1.2.0",
|
||||
"statuses": "~1.4.0"
|
||||
}
|
||||
},
|
||||
"serve-static": {
|
||||
"version": "1.13.2",
|
||||
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
|
||||
"integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
|
||||
"requires": {
|
||||
"encodeurl": "~1.0.2",
|
||||
"escape-html": "~1.0.3",
|
||||
"parseurl": "~1.3.2",
|
||||
"send": "0.16.2"
|
||||
}
|
||||
},
|
||||
"setprototypeof": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
|
||||
"integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
|
||||
},
|
||||
"statuses": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
|
||||
"integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew=="
|
||||
},
|
||||
"type-is": {
|
||||
"version": "1.6.16",
|
||||
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz",
|
||||
"integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==",
|
||||
"requires": {
|
||||
"media-typer": "0.3.0",
|
||||
"mime-types": "~2.1.18"
|
||||
}
|
||||
},
|
||||
"unpipe": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
|
||||
"integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
|
||||
},
|
||||
"utils-merge": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
|
||||
"integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
|
||||
},
|
||||
"vary": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
|
||||
"integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,5 +7,8 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "Nicholas Warzin",
|
||||
"license": "ISC"
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"express": "^4.16.4"
|
||||
}
|
||||
}
|
||||
|
279
strategies.js
279
strategies.js
@ -1,100 +1,179 @@
|
||||
Abandon desire
|
||||
Abandon normal instructions
|
||||
Accept advice
|
||||
Adding on
|
||||
A line has two sides
|
||||
Always the first steps
|
||||
Ask people to work against their better judgement
|
||||
Ask your body
|
||||
Be dirty
|
||||
Be extravagant
|
||||
Be less critical
|
||||
Breathe more deeply
|
||||
Bridges -build -burn
|
||||
Change ambiguities to specifics
|
||||
Change nothing and continue consistently
|
||||
Change specifics to ambiguities
|
||||
Consider transitions
|
||||
Courage!
|
||||
Cut a vital connection
|
||||
Decorate, decorate
|
||||
Destroy nothing; Destroy the most important thing
|
||||
Discard an axiom
|
||||
Disciplined self-indulgence
|
||||
Discover your formulas and abandon them
|
||||
Display your talent
|
||||
Distort time
|
||||
Do nothing for as long as possible
|
||||
Don't avoid what is easy
|
||||
Don't break the silence
|
||||
Don't stress one thing more than another
|
||||
Do something boring
|
||||
Do something sudden, destructive and unpredictable
|
||||
Do the last thing first
|
||||
Do the words need changing?
|
||||
Emphasize differences
|
||||
Emphasize the flaws
|
||||
Faced with a choice, do both (from Dieter Rot)
|
||||
Find a safe part and use it as an anchor
|
||||
Give the game away
|
||||
Give way to your worst impulse
|
||||
Go outside. Shut the door.
|
||||
Go to an extreme, come part way back
|
||||
How would someone else do it?
|
||||
How would you have done it?
|
||||
In total darkness, or in a very large room, very quietly
|
||||
Is it finished?
|
||||
Is something missing?
|
||||
Is the style right?
|
||||
It is simply a matter or work
|
||||
Just carry on
|
||||
Listen to the quiet voice
|
||||
Look at the order in which you do things
|
||||
Magnify the most difficult details
|
||||
Make it more sensual
|
||||
Make what's perfect more human
|
||||
Move towards the unimportant
|
||||
Not building a wall; making a brick
|
||||
Once the search has begun, something will be found
|
||||
Only a part, not the whole
|
||||
Only one element of each kind
|
||||
Openly resist change
|
||||
Pae White's non-blank graphic metacard
|
||||
Question the heroic
|
||||
Remember quiet evenings
|
||||
Remove a restriction
|
||||
Repetition is a form of change
|
||||
Retrace your steps
|
||||
Reverse
|
||||
Simple Subtraction
|
||||
Slow preparation, fast execution
|
||||
State the problem as clearly as possible
|
||||
Take a break
|
||||
Take away the important parts
|
||||
The inconsistency principle
|
||||
The most easily forgotten thing is the most important
|
||||
Think - inside the work -outside the work
|
||||
Tidy up
|
||||
Try faking it (from Stewart Brand)
|
||||
Turn it upside down
|
||||
Use an old idea
|
||||
Use cliches
|
||||
Use filters
|
||||
Use something nearby as a model
|
||||
Use 'unqualified' people
|
||||
Use your own ideas
|
||||
Voice your suspicions
|
||||
Water
|
||||
What context would look right?
|
||||
What is the simplest solution?
|
||||
What mistakes did you make last time?
|
||||
What to increase? What to reduce? What to maintain?
|
||||
What were you really thinking about just now?
|
||||
What wouldn't you do?
|
||||
What would your closest friend do?
|
||||
When is it for?
|
||||
Where is the edge?
|
||||
Which parts can be grouped?
|
||||
Work at a different speed
|
||||
Would anyone want it?
|
||||
Your mistake was a hidden intention
|
||||
const strategies = [
|
||||
"(Organic) machinery",
|
||||
"A line has two sides",
|
||||
"A very small object... its center",
|
||||
"Abandon desire",
|
||||
"Abandon normal instructions",
|
||||
"Accept advice",
|
||||
"Accretion",
|
||||
"Adding on",
|
||||
"Allow an easement (an easement is the abandonment of a stricture)",
|
||||
"Always first steps",
|
||||
"Always give yourself credit for having more than personality",
|
||||
"Always the first steps",
|
||||
"Are there sections? Consider transitions",
|
||||
"Ask people to work against their better judgement",
|
||||
"Ask your body",
|
||||
"Assemble some of the elements in a group and treat the group",
|
||||
"Balance the consistency principle with the inconsistency principle",
|
||||
"Be dirty",
|
||||
"Be extravagant",
|
||||
"Be less critical",
|
||||
"Breathe more deeply",
|
||||
"Bridges: build, burn",
|
||||
"Cascades",
|
||||
"Change ambiguities to specifics",
|
||||
"Change instrument roles",
|
||||
"Change nothing and continue with immaculate consistency",
|
||||
"Change specifics to ambiguities",
|
||||
"Children: speaking, singing",
|
||||
"Cluster analysis",
|
||||
"Consider different fading systems",
|
||||
"Consider transitions",
|
||||
"Consult other sources: promising, unpromising",
|
||||
"Convert a melodic element into a rhythmic element",
|
||||
"Courage!",
|
||||
"Cut a vital connection",
|
||||
"Decorate, decorate",
|
||||
"Define an area as 'safe' and use it as an anchor",
|
||||
"Destroy nothing; Destroy the most important thing",
|
||||
"Discard an axiom",
|
||||
"Disciplined self-indulgence",
|
||||
"Disconnect from desire",
|
||||
"Discover the recipes you are using and abandon them",
|
||||
"Distort time",
|
||||
"Do nothing for as long as possible",
|
||||
"Do something boring",
|
||||
"Do something sudden, destructive, and unpredictable",
|
||||
"Do the last thing first",
|
||||
"Do the washing up",
|
||||
"Do the words need changing?",
|
||||
"Do we need holes?",
|
||||
"Don't avoid what is easy",
|
||||
"Don't be frightened of cliches",
|
||||
"Don't break the silence",
|
||||
"Don't stress one thing more than another",
|
||||
"Dont be afraid of things because they're easy to do",
|
||||
"Dont be frightened to display your talents",
|
||||
"Emphasize differences",
|
||||
"Emphasize repetitions",
|
||||
"Emphasize the flaws",
|
||||
"Faced with a choice, do both",
|
||||
"Feed the recording back out of the medium",
|
||||
"Fill every beat with something",
|
||||
"Find a safe part and use it as an anchor",
|
||||
"Get your neck massaged",
|
||||
"Ghost echoes",
|
||||
"Give the game away",
|
||||
"Give the name away",
|
||||
"Give way to your worst impulse",
|
||||
"Go outside. Shut the door.",
|
||||
"Go slowly all the way round the outside",
|
||||
"Go to an extreme, come part way back",
|
||||
"Honour thy error as a hidden intention",
|
||||
"How would someone else do it?",
|
||||
"How would you have done it?",
|
||||
"Humanize something free of error",
|
||||
"Imagine the piece as a set of disconnected events",
|
||||
"In total darkness, or in a very large room, very quietly",
|
||||
"Infinitesimal gradations",
|
||||
"Intentions: nobility of, humility of, credibility of",
|
||||
"Into the impossible",
|
||||
"Is it finished?",
|
||||
"Is something missing?",
|
||||
"Is the information correct?",
|
||||
"Is the style right?",
|
||||
"It is quite possible (after all)",
|
||||
"It is simply a matter or work",
|
||||
"Just carry on",
|
||||
"Left channel, right channel, center channel",
|
||||
"Listen to the quiet voice",
|
||||
"Look at the order in which you do things",
|
||||
"Look closely at the most embarrassing details & amplify them",
|
||||
"Lost in useless territory",
|
||||
"Lowest common denominator",
|
||||
"Magnify the most difficult details",
|
||||
"Make a blank valuable by putting it in an exquisite frame",
|
||||
"Make an exhaustive list of everything you might do & do the last thing on the list",
|
||||
"Make it more sensual",
|
||||
"Make what's perfect more human",
|
||||
"Mechanicalize something idiosyncratic",
|
||||
"Move towards the unimportant",
|
||||
"Mute and continue",
|
||||
"Not building a wall but making a brick",
|
||||
"Once the search has begun, something will be found",
|
||||
"Only a part, not the whole",
|
||||
"Only one element of each kind",
|
||||
"Openly resist change",
|
||||
"[blank]",
|
||||
"Put in earplugs",
|
||||
"Question the heroic",
|
||||
"Reevaluation (a warm feeling)",
|
||||
"Remember quiet evenings",
|
||||
"Remove a restriction",
|
||||
"Remove ambiguities and convert to specifics",
|
||||
"Remove specifics and convert to ambiguities",
|
||||
"Repetition is a form of change",
|
||||
"Retrace your steps",
|
||||
"Reverse",
|
||||
"Simple subtraction",
|
||||
"Simply a matter of work",
|
||||
"Slow preparation, fast execution",
|
||||
"Spectrum analysis",
|
||||
"State the problem as clearly as possible",
|
||||
"Take a break",
|
||||
"Take away the elements in order of apparent non-importance",
|
||||
"Take away the important parts",
|
||||
"The inconsistency principle",
|
||||
"The most easily forgotten thing is the most important",
|
||||
"The most important thing is the thing most easily forgotten",
|
||||
"The tape is now the music",
|
||||
"Think: inside the work, outside the work",
|
||||
"Think of the radio",
|
||||
"Tidy up",
|
||||
"Towards the insignificant",
|
||||
"Trust in the you of now",
|
||||
"Try faking it",
|
||||
"Turn it upside down",
|
||||
"Twist the spine",
|
||||
"Use an old idea",
|
||||
"Use an unacceptable colour",
|
||||
"Use clichés",
|
||||
"Use fewer notes",
|
||||
"Use filters",
|
||||
"Use something nearby as a model",
|
||||
"Use your own ideas",
|
||||
"Voice your suspicions",
|
||||
"~water~",
|
||||
"What are the sections sections of? ...imagine a caterpillar moving",
|
||||
"What context would look right?",
|
||||
"What is the reality of the situation?",
|
||||
"What is the simplest solution?",
|
||||
"What mistakes did you make last time?",
|
||||
"What to increase? What to reduce? What to maintain?",
|
||||
"What were you really thinking about just now?",
|
||||
"What would your closest friend do?",
|
||||
"What wouldn't you do?",
|
||||
"When is it for?",
|
||||
"Where is the edge?",
|
||||
"Which parts can be grouped?",
|
||||
"Work at a different speed",
|
||||
"Would anyone want it?",
|
||||
"You are an engineer",
|
||||
"You can only make one dot at a time",
|
||||
"You don't have to be ashamed of using your own ideas",
|
||||
"Bridges: build, burn",
|
||||
"Faced with a choice, do both",
|
||||
"Think—inside the work—outside the work",
|
||||
"Try faking it",
|
||||
"Your mistake was a hidden intention",
|
||||
"Bridges\n-build\n-burn",
|
||||
"Always give yourself credit for having more than personality",
|
||||
"Tape your mouth",
|
||||
"Consult other sources\n-promising\n-unpromising",
|
||||
"Short circuit",
|
||||
];
|
||||
|
||||
module.exports = strategies;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user