Skip to content

Instantly share code, notes, and snippets.

Krzysztof Kowalczyk kjk

Block or report user

Report or block kjk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View chromedp_bug.go
package main
import (
kjk / build_files.go
Created Jul 19, 2019
build list of files as compact json from directory
View build_files.go
package main
import (

Keybase proof

I hereby claim:

  • I am kjk on github.
  • I am kjksf ( on keybase.
  • I have a public key ASAdCRkKmAhWMJJsU_q76BM_JyYK5-MZMrwrr6qTOk3WEwo

To claim this, I am signing this object:

kjk / fakemenu.c
Created May 19, 2019
how to implement menu-like pop-up the right way in win32
View fakemenu.c
* FakeMenu.c
* Copyright (c) 1997 Microsoft Corporation. All rights reserved.
* This source code is only intended as a supplement to
* Microsoft Development Tools, q.v. for detailed
* information regarding the Microsoft samples programs.
kjk / cmd-git-log.go
Created Mar 21, 2019
Compare output of 2 git log --format=oneline commands to see commits unique in each branch
View cmd-git-log.go
package main
import (
kjk / reflect_slice.go
Created Aug 31, 2018
How to create a reflect slice
View reflect_slice.go
package main
import (
type S struct {
N int
View log_notion_requests.js
const puppeteer = require("puppeteer");
let waitTime = 5 * 1000;
async function testAjax() {
const url = ""
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.setRequestInterception(true);
// those we don't want to log because they are not important
View hello_world.go
package main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
View gist:7c51dde9a8f37935502d42e0dad0c30e
! Title: Disqus click-to-load
# Copy-paste the static filters below into your "My filters" pane in the
# dashboard.
# Purpose is to load Disqus comments on demand only, so that no connection
# to `` occurs by default when you land on a site which uses
# Disqus comments widget.
# Not connecting to Disqus by default is a good thing for such a
# ubiquitous server as ``, which can be used to build a
You can’t perform that action at this time.