Skip to content

Instantly share code, notes, and snippets.

Avatar

Александар Симић dotemacs

View GitHub Profile
View another-run.log
$ npx shadow-cljs compile node-test
shadow-cljs - config: /Users/alex/dev/clojure/repos/konserve/shadow-cljs.edn
shadow-cljs - starting via "clojure"
WARNING: When invoking clojure.main, use -M
Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
[:node-test] Compiling ...
is it working though========= Running Tests =======================
no "source-map-support" (run "npm install source-map-support --save-dev" to get it)
is it working though
@dotemacs
dotemacs / test-run.log
Created Apr 30, 2021
Test run of the konserve project, node port
View test-run.log
$ clojure -A:dev:test -M -m kaocha.runner "$@"
Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true
Downloading: cider/cider-nrepl/0.19.0/cider-nrepl-0.19.0.pom from clojars
Downloading: lambdaisland/kaocha/1.0.641/kaocha-1.0.641.pom from clojars
Downloading: org/clojure/tools.trace/0.7.10/tools.trace-0.7.10.pom from central
Downloading: fipp/fipp/0.6.14/fipp-0.6.14.pom from clojars
Downloading: cider/orchard/0.3.4/orchard-0.3.4.pom from clojars
Downloading: mvxcvi/puget/1.0.2/puget-1.0.2.pom from clojars
Downloading: compliment/compliment/0.3.8/compliment-0.3.8.pom from clojars
Downloading: cljfmt/cljfmt/0.6.1/cljfmt-0.6.1.pom from clojars
View jet-tutorial.org
View final-bomb-out.md

The final bomb out of the setup process, which was make shell TARGET=ios:

Checking for modifications in ios/Pods...
diff: ios/Pods/Manifest.lock: No such file or directory
Checking for process: 'pod install'
Process 'pod install' gone.
Traceback (most recent call last):
	9: from /nix/store/bqr5hzksvvm9vd2m3c22qha8myfgyk46-cocoapods-1.9.1/bin/pod:18:in `<main>'
	8: from /nix/store/vwmskqd95mq5hxb6jzgxplmmb79srf0n-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler.rb:149:in `setup'
View broken-setup.org
View Flatten.java
import java.io.File;
import java.io.IOException;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm;
import org.apache.pdfbox.pdmodel.interactive.form.PDField;
public class Flatten
{
public static void main(String[] args) throws IOException {
PDDocument doc = PDDocument.load(new File("interactiveform.pdf"));
@dotemacs
dotemacs / README.md
Last active Feb 9, 2020
Menubar app getting stuck
View README.md

Problem

Menubar app as shown above is getting stuck.

What does the app do?

It's just a simple app that runs in the menubar and shows the current time in Paris.

It is written in fennel and transpiles to Lua. I have the sample of the original Fennel code and transpiled Lua.

View cljr.sh
#!/bin/sh
fullpath=/Users/alex/dev/cljr/install-with-nuget/Clojure.1.9.0/all/net40
exe=Clojure.Main.exe
cd ${fullpath} && mono ${exe}
View build-output.log
Microsoft (R) Build Engine version 16.0.42-preview+g804bde742b for Mono
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 24/05/2019 20:47:43.
Project "/Users/alex/dev/clr/clojure-clr/Clojure/build.proj" on node 1 (Build target(s)).
Project "/Users/alex/dev/clr/clojure-clr/Clojure/build.proj" (1) is building "/Users/alex/dev/clr/clojure-clr/Clojure/ClojureCLR.sln" (2) on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug 4.0|Any CPU".
Project "/Users/alex/dev/clr/clojure-clr/Clojure/ClojureCLR.sln" (2) is building "/Users/alex/dev/clr/clojure-clr/Clojure/Clojure/Clojure.csproj" (3) on node 1 (default targets).
RestorePackages:
@dotemacs
dotemacs / build-output.log
Created May 24, 2019
ClojureCLR 1.9.0 build with msbuild instead of xbuild on macOS
View build-output.log
Microsoft (R) Build Engine version 16.0.42-preview+g804bde742b for Mono
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 24/05/2019 20:29:17.
Project "/Users/alex/dev/clr/clojure-clr/Clojure/build.proj" on node 1 (Build target(s)).
Project "/Users/alex/dev/clr/clojure-clr/Clojure/build.proj" (1) is building "/Users/alex/dev/clr/clojure-clr/Clojure/ClojureCLR.sln" (2) on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug 4.0|Any CPU".
Project "/Users/alex/dev/clr/clojure-clr/Clojure/ClojureCLR.sln" (2) is building "/Users/alex/dev/clr/clojure-clr/Clojure/Clojure/Clojure.csproj" (3) on node 1 (default targets).
RestorePackages: