I hereby claim:
- I am cdl on github.
- I am cdl (https://keybase.io/cdl) on keybase.
- I have a public key ASCLF_K6HEhtIP0yJY306U6XZ1fghbfwZq9KHZPcOdIYGgo
To claim this, I am signing this object:
| diff --git a/pages/api/posts/create.js b/pages/api/posts/create.js | |
| index e45df89..f995100 100644 | |
| --- a/pages/api/posts/create.js | |
| +++ b/pages/api/posts/create.js | |
| @@ -27,7 +27,7 @@ const handlePOST = async (req, res) => { | |
| const user = await getUserFromJWT(token); | |
| // Otherwise, post passes validations, let's create it. | |
| - const post = await createPost({ title, content, authorId: user.id ?? null }); | |
| + const post = await createPost({ title, content, authorId: user?.id ?? null }); |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "dependencies": { | |
| "com.unity.collab-proxy": "1.2.16", | |
| "com.unity.ide.rider": "1.1.4", | |
| "com.unity.ide.vscode": "1.2.0", | |
| "com.unity.test-framework": "1.1.13", | |
| "com.unity.textmeshpro": "2.0.1", | |
| "com.unity.timeline": "1.2.14", | |
| "com.unity.ugui": "1.0.0", | |
| "com.unity.modules.ai": "1.0.0", |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0375_EXS_GuitarsVintageStrat.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0597_LTPChordTrainer.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0509_EXS_StringsEnsemble.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0484_EXS_OrchWoodwindClarinetSolo.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0554_AppleLoopsDiscoFunk2.pkg |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0375_EXS_GuitarsVintageStrat.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0597_LTPChordTrainer.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0509_EXS_StringsEnsemble.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0484_EXS_OrchWoodwindClarinetSolo.pkg | |
| http://audiocontentdownload.apple.com/lp10_ms3_content_2016/MAContent10_AssetPack_0554_AppleLoopsDiscoFunk2.pkg |
| pyenv install 2.7.13 | |
| pyenv shell 2.7.13 | |
| pip install twisted | |
| brew tap cartr/qt4 | |
| brew tap-pin cartr/qt4 | |
| brew install qt | |
| brew install pyside | |
| mkdir -p /Users/colby/.local/lib/python2.7/site-packages | |
| echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/colby/.local/lib/python2.7/site-packages/homebrew.pth |
| # Ruby + PostgreSQL Vagrantfile | |
| # Written by Colby Ludwig, @cdl | |
| # Vagrantfile for setting up a base Ruby + PostgreSQL environment on | |
| # Ubuntu 14.04 with the latest deps. Sets up the following: | |
| # - rbenv for installing Ruby with the default `vagrant` user | |
| # - shares the current directory for the project to ~/{dir-name} | |
| # - sets up Postgres with a given database name and password (user is `postgres`) | |
| # - forwards given ports | |
| # |
| # ????? what the fuck?????? this is possible???? | |
| squares = [value ** 2 for value in range(1, 11)] | |
| print(squares) |
| (function(){ | |
| console.log("Beep boop."); | |
| })(); |
| // march 1 at 2:34pm | |
| var date = moment('1456868040000', 'x'); | |
| // get start of day | |
| var start = date.startOf('day'); | |
| start.format('LT LL'); // => 12:00 AM March 1, 2016 | |
| // You'd think this'd still be 2:34PM but nope. |