profile
viewpoint
遗忘
Kenneth Shaw kenshaw @knq @brankas Colorado

kenshaw/escpos 123

A simple Golang package for handling Epson ESC-POS printer commands. It also provides a simple TM-Intelligent/ePOS-XML server implementation.

go-jakarta/slides 79

Slides from GoJakarta meetups

kenshaw/baseconv 21

Go package to assist converting between numeric strings written in an arbitrary base to any other arbitrary base

kenshaw/imdb 3

Omdb API in golang

kenshaw/diskcache 2

Package diskcache provides a on-disk cache for storing http results.

kenshaw/macos-guest-virtualbox 2

Semi-automatic installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox for Windows, Linux, and macOS

kenshaw/motionserver 2

DualShock4 motion server for Cemu on Linux

kenshaw/chromedp 1

A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.

kenshaw/gunk 1

Modern frontend and syntax for Protocol Buffers

push eventxo/usql

Kenneth Shaw

commit sha 27574bf439c25584c8af3e67297f1b0da55a2709

Updating dependencies

view details

push time in a month

push eventkenshaw/diskcache

Kenneth Shaw

commit sha ad8eddc254f4d3ba4ac3e269eac2897e161eebb7

Updating dependencies

view details

push time in a month

push eventchromedp/chromedp-proxy

Kenneth Shaw

commit sha 43e36355835cee58c95989cabd3e7ed7f78ddc2a

Updating dependencies

view details

push time in a month

issue commentknq/hilink

Does auth still work for you?

Unfortunately, I don't even have access to hardware to test this with anymore. May I suggest disabling password authentication on the device temporarily? I realize that it's a security issue, but if I remember, access to the management UI is only available on the 192.168/16 subnet.

piec

comment created time in a month

push eventxo/usql

Kenneth Shaw

commit sha 8fa39f5db51b0b1881dc608c6c3e4de3ea3adbf8

Updating dependencies

view details

push time in a month

push eventkenshaw/shell-config

Kenneth Shaw

commit sha 9407ea2f2fbf8919f7fa9286c4c4210e5ed1f7c2

Renaming update-go.sh

view details

push time in a month

issue closedxo/dburl

Error parsing mysql DSN

DSN: mysql://root:secret@tcp(localhost:3306)/mysql

Error: parse "mysql://root:secret@tcp(mysql:3306)/mysql": invalid port ":3306)" after host

closed time in 2 months

llorllale

issue commentxo/dburl

Error parsing mysql DSN

@llorllale -- the DSN you have is not a proper URL. The form you want is:

mysql://root:secret@localhost:3306/mysql

To explain, dburl puts all database connection strings (DSNs) into standard URL form, which equates to:

scheme://user:pass@host:port/database?opt1=a&opt2=b

Where scheme is the protocol (ie, mysql or postgres or mssql, etc), and database is the name of the database. The other fields (also called URL components) are the same as any standard URL you might use in your web browser.

I believe the form you're passing is the format that MySQL natively recognizes -- this format won't work with dburl. If you want to accept URLs in that format, and expect that you're only using MySQL, then dburl won't be of much help. In that case, you can simply pass the DSN string directly to your MySQL database driver.

Good luck with your project!

llorllale

comment created time in 2 months

issue commentxo/usql

Build Failure With pgx Driver

@levouh glad to hear that. I've already pushed an update, so this should be working. Good luck!

levouh

comment created time in 2 months

push eventxo/usql

Kenneth Shaw

commit sha bdff722f7bed6bcc60b0a5e79e2a40f0c39c021c

Minor update to README.md

view details

push time in 2 months

push eventxo/usql

Kenneth Shaw

commit sha cb16166562afdcfe7cd7076af8733fa15a07e8da

Update pgx dependency Updates pgx driver to use pgx v4. Additionally, updates other dependencies. Fixes #121.

view details

push time in 2 months

issue commentxo/usql

Build Failure With pgx Driver

I see -- yes, it's hard for me to encounter these issues, because the way Go handles dependencies now is different than how it was before. No worries -- after your issue, I noticed that pgx has reorganized the core errors into Go 1.13 style error handling, and refactored into multiple packages. Additionally, it now requires use of the /vX syntax in package declarations. I'll push an update shortly that should fix this issue. Glad to hear you got it working locally otherwise.

levouh

comment created time in 2 months

issue commentxo/usql

Build Failure With pgx Driver

Do you have GO111MODULES=off or some other environment change? I just checked this, and I don't see any specific problems/issues here.

levouh

comment created time in 2 months

push eventbrankas/emoji

Kenneth Shaw

commit sha 5987c3bdc78a31d11cae22e78b20f1b43aa3d9a4

Updating to latest emoji definitions

view details

push time in 2 months

push eventkenshaw/torctl

Kenneth Shaw

commit sha 8f4bd53830fe3e598ebe6fcb62573aba2f67868f

Updating tctypes with changes from transmission 3.0 rpc

view details

push time in 2 months

push eventxo/usql

Kenneth Shaw

commit sha 839df2f8f7f92d99ec9c634af352cd18ef221fbc

Updating dependencies

view details

push time in 2 months

push eventknq/ini

Kenneth Shaw

commit sha ad6e8e8848b545897dfa39c3a602f382a666371e

Updating parser

view details

push time in 2 months

issue commentxo/usql

libicu dependency issue again

@josepowera -- is there a problem building it without SQLite3 locally?

jetzerb

comment created time in 2 months

pull request commentxo/xo

Fix Insert issue for default postgres type template Insert operation

@mccolljr I appreciate the work here -- can you share a small table definition and version of PostgreSQL you were using? There's a good chance that the way xo needs to pull type / sequence information from PostgreSQL has changed and is the real issue of the problem. Before I merge this, I'd like to verify it from my end. Thanks!

mccolljr

comment created time in 2 months

push eventchromedp/docker-headless-shell

Andriy Kornatskyy

commit sha ae3243208e0480b06949efa0e630c1b3d11cd43c

Fixed docker copy command for libraries in swiftshader directory.

view details

push time in 2 months

PR merged chromedp/docker-headless-shell

Fixed docker copy command for libraries in swiftshader directory.

Errors as reported by chromium process:

[0501/104750.232090:WARNING:resource_bundle.cc(427)] locale_file_path.empty() for locale
[0501/104750.232907:ERROR:egl_util.cc(60)] Failed to load GLES library: /headless-shell/swiftshader/libGLESv2.so: /headless-shell/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0501/104750.235560:ERROR:viz_main_impl.cc(159)] Exiting GPU process due to errors during initialization

swiftshader libs are expected to be in /headless-shell/swiftshader directory.

docker run --rm --entrypoint=sh chromedp/headless-shell -c 'ls -lh /headless-shell/*'
-rwxrwxr-x 1 root root 139M Apr 27 23:08 /headless-shell/headless-shell
-rw-rw-r-- 1 root root 295K Apr 27 23:08 /headless-shell/libEGL.so
-rw-rw-r-- 1 root root 3.8M Apr 27 23:08 /headless-shell/libGLESv2.so

You need two docker COPY commands to copy swiftshader as a directory.

+6 -4

0 comment

1 changed file

akornatskyy

pr closed time in 2 months

issue closedchromedp/chromedp

Help, how does Chromedp use other browsers (Edge, Safari, Android, etc)

<!--- This issue tracker is mainly for bugs and feature requests. Before asking a question, search online and try to investigate on your own. -->

What versions are you running?

latest version.

problem:

Recently I used Chromedp for some experiments, it is very efficient and interesting, but because the experiments I conducted also need to use other browsers for automated testing, I found relevant information through the search engine and found that chromedp supports other browsers, For example (Chrome, Edge, Safari, Android, etc), I have been searching for a long time in issues, documents, and examples, but I have not found relevant sample code. Can you please provide me with how to use chromedp To drive other browser examples, or can you tell me which related API should I use, I would appreciate it. Thanks

closed time in 3 months

RGDZ-GZU

issue commentchromedp/chromedp

Help, how does Chromedp use other browsers (Edge, Safari, Android, etc)

@RGDZ-GZU previously, there were adapters for using Chrome DevTools Protocol with with Edge. Since Edge is now Chrome based, they are no longer necessary. Additionally, there is also a CDP adapter available for Firefox and for Android. It's no longer the goal of this project to support anything other than Chrome, however.

RGDZ-GZU

comment created time in 3 months

push eventkenshaw/shell-config

Kenneth Shaw

commit sha eb766adb1eb16bc58f7cc4d9154c21b97d50229b

Minor update

view details

push time in 3 months

push eventbrankas/assetgen

Kenneth Shaw

commit sha d58d363b4d704db76998632f1a9d4f1274ebcbc4

Adding support for tailwind.config.js for tailwind builds

view details

push time in 3 months

push eventbrankas/assetgen

Kenneth Shaw

commit sha ec2e611357bacbdfbdcac3efa5d9fd8a7e8522ad

Updating cleancss cli arguments for latest version

view details

push time in 3 months

push eventbrankas/assetgen

Kenneth Shaw

commit sha 00cf85c853f0913c4902ac2fe6d268c45a4deccc

Adding support for tailwind and purgecss

view details

push time in 3 months

push eventxo/xo

Kenneth Shaw

commit sha 7818603ff52bc0b96122715f9c7df7559aeef82d

Updating dependencies

view details

push time in 3 months

push eventxo/tblfmt

Kenneth Shaw

commit sha c88dde44428dce093dcbc643ef892e5cf7644536

Updating dependenices

view details

push time in 3 months

push eventxo/usql

Kenneth Shaw

commit sha 487af8a4a2dda52032d3c82d040ab6fc2b506f73

Updating dependencies

view details

push time in 3 months

pull request commentbrankas/assetgen

assetgen: Added tailwindcss to pipeline

I need to see this in use this with actual HTML. I am 100% against including any CSS from a third-party website, which I think this does. Additionally, reviewing Tailwind's documentation, I do not like its non-standard injection route for SASS. It makes me think they are trying to do something devious behind the scenes (and not, for example, trying to help developers). My guess is that they're injecting tracking data onto every page, which they then sell / market. Injecting it as a postcss plugin is an absolute non-logical and most convoluted possible way to inject SASS. Comparatively, both Foundation and Bootstrap (and basically any other SASS framework I've encountered) just works as standard SASS.

donskifarrell

comment created time in 3 months

more