Skip to content

Instantly share code, notes, and snippets.

yarn run v1.19.0
$ cross-env NODE_ENV=production run-s build-steps
$ run-s before-build sapper-export build-now-json
$ run-s build-template-html build-assets
$ node -r esm ./bin/build-template-html.js
Built template.html in 4393.45ms
$ node -r esm ./bin/build-assets.js
$ cross-env PORT=22939 sapper export
> Building...
@saper
saper / gist:f32bd0666a266957fa7fb52aeff991b5
Created October 21, 2019 22:57
Looking for SDKs for xcbuild
root@xcbuild:/home/saper/sw/Darwin-15.6-SDK # xcode-select -s /home/saper/sw/Darwin-15.6-SDK
root@xcbuild:/home/saper/sw/Darwin-15.6-SDK # xcode
xcode-select xcodebuild
root@xcbuild:/home/saper/sw/Darwin-15.6-SDK # xcodebuild -showsdks
root@xcbuild:/home/saper/sw/Darwin-15.6-SDK # xcode-select -p
/home/saper/sw/Darwin-15.6-SDK
root@xcbuild:/home/saper/sw/Darwin-15.6-SDK # ls System/Library/Frameworks/
IOKit.framework/ OpenAL.framework/ SystemConfiguration.framework/
Kernel.framework/ System.framework/
root@xcbuild:/home/saper/sw/Darwin-15.6-SDK # pwd
=>> Building devel/p5-subversion
build started at Wed Oct 16 15:06:15 UTC 2019
port directory: /usr/ports/devel/p5-subversion
package name: p5-subversion-1.12.2
building for: FreeBSD twelve-default-job-01 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 amd64
maintained by: lev@FreeBSD.org
Makefile ident: $FreeBSD: head/devel/p5-subversion/Makefile 508831 2019-08-13 14:57:22Z tobik $
Poudriere version: 3.3.2_1
Host OSVERSION: 1200086
Jail OSVERSION: 1200086
use Mix.Config
config :pleroma, Pleroma.Web.Endpoint,
url: [
host: "word.builders",
scheme: "https",
port: 443
],
secret_key_base: "*****",
http: [
@saper
saper / gist:299b400611653c4564a05a6320162410
Last active October 14, 2019 22:54
Pinafore to Pleroma flow
[info] POST /api/v1/apps
[debug] Processing with Pleroma.Web.MastodonAPI.AppController.create/2
Parameters: %{"client_name" => "Pinafore", "redirect_uris" => "http://m.saper.info:4002/settings/instances/add", "scopes" => "read write follow push", "website" => "https://pinafore.social"}
Pipelines: [:api]
[debug] QUERY OK db=2.5ms queue=1.5ms
INSERT INTO "apps" ("client_id","client_name","client_secret","redirect_uris","scopes","website","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6,$7,$8) RETURNING "id" ["KE-rOg0uxM4gXMCifk7wAmSlZcnq7o49b5yJd33YQnk", "Pinafore", "mGbYxnWzPtV0cSqHqMdA3XMfE8DDwGxXpqK-C3Q5az4", "http://m.saper.info:4002/settings/instances/add", ["read", "write", "follow", "push"], "https://pinafore.social", ~N[2019-10-14 22:53:42], ~N[2019-10-14 22:53:42]]
[info] Sent 200 in 5ms
[info] GET /api/v1/instance
[debug] Processing with Pleroma.Web.MastodonAPI.InstanceController.show/2
Parameters: %{}
@saper
saper / gist:a41fe96e5094aa2687e41e867e5f3e74
Created October 14, 2019 21:12
Pinafore to Pleroma flow
[info] GET /api/v1/instance
[debug] Processing with Pleroma.Web.MastodonAPI.MastodonAPIController.masto_instance/2
Parameters: %{}
Pipelines: [:api]
[info] Sent 200 in 389<C2><B5>s
[info] POST /api/v1/apps
[debug] Processing with Pleroma.Web.MastodonAPI.MastodonAPIController.create_app/2
Parameters: %{"client_name" => "Pinafore", "redirect_uris" => "http://my-pinafore-instance:4002/settings/instances/add", "scopes" => "read write follow push", "website" => "https://pinafore.social"}
Pipelines: [:api]
[debug] QUERY OK db=134.1ms queue=1.0ms
Script started on Thu Mar 14 11:17:29 2019
You have mail.
root@ms01:~ # pkg install py36-iocage-devel
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 24 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
py36-iocage-devel: 1.0.0.20181219,1
This file has been truncated, but you can view the full file.
Script started on Tue Feb 26 10:00:07 2019
Command: make buildworld
--------------------------------------------------------------
>>> World build started on Tue Feb 26 10:00:10 UTC 2019
--------------------------------------------------------------
--------------------------------------------------------------
>>> Rebuilding the temporary build tree
--------------------------------------------------------------
rm -rf /usr/obj/usr/src/tmp
Script started on Tue Feb 26 08:03:32 2019
Command: make buildworld -DNO_CLEAN
make[1]: "/usr/src/Makefile.inc1" line 343: SYSTEM_COMPILER: libclang will be built for bootstrapping a cross-compiler.
make[1]: "/usr/src/Makefile.inc1" line 348: SYSTEM_LINKER: libclang will be built for bootstrapping a cross-linker.
--------------------------------------------------------------
>>> World build started on Tue Feb 26 08:03:35 UTC 2019
--------------------------------------------------------------
--------------------------------------------------------------
>>> Rebuilding the temporary build tree