Instantly share code, notes, and snippets.

View italki-963776-korean-csgo-notebook-2019-1-6.md

Gist created for https://www.italki.com/notebook/5796312/entry/963776

Thanks @Jeongwon 🐣, lots of learning! Here are notes for my own reference and some questions.

Is "하면서 놀다" normally how you would say you play a video game? Is "놀다" by itself just a less natural?

~(으)면서: To do two actions at the same time, https://www.howtostudykorean.com/unit-3-intermediate-korean-grammar/unit-3-lessons-59-66/lesson-62/#621

Correct name JaeHee -> 재희 and "vowel 여요" correction(vs "consonant 이에요")

View npm-5-8-0-macos-debug.log
16008 silly decomposeActions build css-color-function@1.3.3
16009 silly decomposeActions install css-color-function@1.3.3
16010 silly decomposeActions postinstall css-color-function@1.3.3
16011 silly decomposeActions finalize css-color-function@1.3.3
16012 silly decomposeActions refresh-package-json css-color-function@1.3.3
16013 silly decomposeActions fetch right-align@0.1.3
16014 silly decomposeActions extract right-align@0.1.3
16015 silly decomposeActions preinstall right-align@0.1.3
16016 silly decomposeActions build right-align@0.1.3
16017 silly decomposeActions install right-align@0.1.3
View npm-5-8-0-windows-10-debug.log
This file has been truncated, but you can view the full file.
22011 silly decomposeActions preinstall yargs@3.27.0
22012 silly decomposeActions build yargs@3.27.0
22013 silly decomposeActions install yargs@3.27.0
22014 silly decomposeActions postinstall yargs@3.27.0
22015 silly decomposeActions finalize yargs@3.27.0
22016 silly decomposeActions refresh-package-json yargs@3.27.0
22017 silly decomposeActions fetch defs@1.1.1
22018 silly decomposeActions extract defs@1.1.1
22019 silly decomposeActions preinstall defs@1.1.1
View beaglebone-black-unable-to-set-pwm-period.md

When using a small frequency value with analogWrite(pinString, dutyCycle, frequencyHz, callback), the following error can be thrown.

var b = require('bonescript');
b.pinMode('P9_14', b.OUTPUT);
b.analogWrite('P9_14', 0.5, 10, function(res) { console.log(JSON.stringify(res)); });
View streaming-endpoint-with-progress.js
const express = require('express');
const logger = require('morgan');
const app = express();
app.use(logger('dev'));
app.get('/', function (req, res) {
res.status(200).send(`
View docker-start-test-container-on-windows.bat
REM Share your host `~/.ssh` directory to `/root/.ssh-from-host`
REM You can use `ssh-add ~/.ssh-from-host/github_rsa` now
echo off
setlocal enableDelayedExpansion
set SSH_CERT_DIR=%userprofile:\=/%
set SSH_CERT_DIR=%SSH_CERT_DIR:C:/=//c/%
set SSH_CERT_DIR=%SSH_CERT_DIR%/.ssh/
REM echo %SSH_CERT_DIR%
View express-serve-targz-of-directory.js
const Promise = require('bluebird');
const path = require('path');
const fs = require('fs-extra');
const stat = Promise.promisify(fs.stat);
const glob = Promise.promisify(require('glob'));
const tarstream = require('tar-stream');
const zlib = require('zlib');
const express = require('express');
function targzGlobStream(globString, options) {
View express-serve-zip-of-directory.js
const Promise = require('bluebird');
const path = require('path');
const glob = Promise.promisify(require('glob'));
// Adds res.zip to express
require('express-zip');
const express = require('express');
const app = express();
app.get('/logs.zip', function (req, res) {
View # Docker container with basic nginx server exposing ports -- Window Guide.md

Docker container with basic nginx server that has exposed ports on Windows Guide/Tutorial

Environment

Windows 10 with Anniversary update

Using Docker Toolbox (uses boot2docker VirtualBox machines)