Skip to content

Instantly share code, notes, and snippets.

View IlyaSemenov's full-sized avatar

Ilya Semenov IlyaSemenov

View GitHub Profile
[14:56:01.215] Retrieving list of deployment files...
[14:56:03.457] Downloading 33 deployment files...
[14:56:04.903] Looking up build cache...
[14:56:05.224] Build Cache not found
[14:56:05.524] Warning: Due to "engines": { "node": ">=10.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[14:56:05.525] Running "vercel build"
[14:56:05.979] Vercel CLI 24.2.0 build (beta) — https://vercel.com/feedback
[14:56:05.995] ┌──────────────────────────────────────────────────────────────────────────────────────┐
[14:56:05.995] │ WARN! Did you mean to deploy the subdirectory "build"? Use `vc --cwd build` instead. │
[14:56:05.995] └──────────────────────────────────────────────────────────────────────────────────────┘
extensionHost.ts:293 [Extension Host] debugger listening on port 51699
console.ts:137 [Extension Host] (node:13549) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:137
console.ts:137 [Extension Host] Congratulations, your extension "vscode-postgres" is now active!
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 15:19:50: Display locator refreshing progress, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 15:19:50: Notify locators are locating, Class name = p, completed in 2ms, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 15:19:50: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 15:19:50: Detected re
@IlyaSemenov
IlyaSemenov / vscode-1566458754919.log
Created August 22, 2019 07:35
vscode developer console logs when python extension not recognizes relative import
extensionHost.ts:293 [Extension Host] debugger listening on port 47658
console.ts:137 [Extension Host] (node:81961) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:137
console.ts:137 [Extension Host] Congratulations, your extension "vscode-postgres" is now active!
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Display locator refreshing progress, Class name = p, completed in 3ms, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Notify locators are locating, Class name = p, completed in 6ms, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Detected re
@IlyaSemenov
IlyaSemenov / vscode-1566458754919.log
Created August 22, 2019 07:35
vscode developer console logs when python extension not recognizes relative import
extensionHost.ts:293 [Extension Host] debugger listening on port 47658
console.ts:137 [Extension Host] (node:81961) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:137
console.ts:137 [Extension Host] Congratulations, your extension "vscode-postgres" is now active!
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Display locator refreshing progress, Class name = p, completed in 3ms, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Notify locators are locating, Class name = p, completed in 6ms, , Return Value: undefined
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:137 [Extension Host] Info Python Extension: 2019-08-22 14:25:06: Detected re
@IlyaSemenov
IlyaSemenov / dokku-events.log
Last active May 16, 2019 10:11
Failing dokku push
May 15 22:49:18 acme-prod dokku[2584]: INVOKED: user-auth( dokku circleci git-receive-pack acme-spa ) NAME=circleci FINGERPRINT=SHA256:[redacted]
May 15 22:49:18 acme-prod dokku[2997]: INVOKED: user-auth( dokku circleci git-hook acme-spa ) NAME=circleci FINGERPRINT=SHA256:[redacted]
May 15 22:49:18 acme-prod dokku[3411]: INVOKED: post-config-update( acme-spa set GIT_REV ) NAME=circleci FINGERPRINT=SHA256:[redacted]
May 15 22:49:18 acme-prod dokku[3862]: INVOKED: post-extract( acme-spa /tmp/dokku_git.e9zW 711c3388fba6646a022baf72238fe0d64fca9239 ) NAME=circleci FINGERPRINT=SHA256:[redacted]
May 15 22:49:19 acme-prod dokku[4271]: INVOKED: pre-receive-app( acme-spa dockerfile /tmp/dokku_git.e9zW 711c3388fba6646a022baf72238fe0d64fca9239 ) NAME=circleci FINGERPRINT=SHA256:[redacted]
May 15 22:49:19 acme-prod dokku[4678]: INVOKED: scheduler-docker-cleanup( docker-local acme-spa ) NAME=circleci FINGERPRINT=SHA256:[redacted]
May 15 22:49:19 acme-prod dokku[5219]: INVOKED: post-config-update( acme-spa set DOKKU_APP_T
@IlyaSemenov
IlyaSemenov / susy.txt
Last active February 21, 2018 05:42
Docker susy on alpine log for https://github.com/sass/node-sass/issues/1879
~/tmp/susy cat Dockerfile 52.8s < Wed Feb 21 12:38:45 2018
FROM alpine:3.5
RUN apk add --no-cache nodejs
RUN npm i node-sass@4.5.0 susy@2.2.12
RUN node_modules/.bin/node-sass node_modules/susy/sass/_susy.scss
~/tmp/susy docker build . 2250ms < Wed Feb 21 12:37:51 2018
Sending build context to Docker daemon 2.048kB
Step 1/4 : FROM alpine:3.5
---> 6c6084ed97e5
@IlyaSemenov
IlyaSemenov / objection_eager_join_select_1.js
Created October 23, 2017 09:15
Demonstrate Objection.js crash on select(1) in eager join
const Knex = require('knex')
const objection = require('objection')
const Model = objection.Model
const knex = Knex({ client: 'pg', connection: { database: 'test' } })
Model.knex(knex)
class Foo extends Model {
static get tableName () {
@IlyaSemenov
IlyaSemenov / default.conf
Created June 27, 2017 03:22
nginx config generated by jwilder/nginx_proxy for Rancher
# If we receive X-Forwarded-Proto, pass it through; otherwise, pass along the
# scheme used to connect to this server
map $http_x_forwarded_proto $proxy_x_forwarded_proto {
default $http_x_forwarded_proto;
'' $scheme;
}
# If we receive X-Forwarded-Port, pass it through; otherwise, pass along the
# server port the client connected to
map $http_x_forwarded_port $proxy_x_forwarded_port {
default $http_x_forwarded_port;
resource "docker_container" "nginx_proxy" {
image = "${docker_image.nginx_proxy.latest}"
name = "nginx_proxy"
restart = "unless-stopped"
ports {
internal = 80
external = 80
}
From d563089d05e75c71e3f62bbc031400a2c07012c7 Mon Sep 17 00:00:00 2001
From: Ilya Semenov <ilya@semenov.co>
Date: Tue, 13 Jun 2017 18:49:41 +0700
Subject: [PATCH] Remove proxy
---
charts/builder/templates/builder-deployment.yaml | 5 --
.../templates/controller-deployment.yaml | 5 --
.../templates/registry-proxy-daemon.yaml | 59 ----------------------
requirements.lock | 7 ---