Skip to content

Instantly share code, notes, and snippets.

Avatar

Krzysztof Kowalczyk kjk

View GitHub Profile
@kjk
kjk / main.txt
Created February 1, 2023 02:05
lastly
View main.txt
This is me.
And they are here, my friend.
@kjk
kjk / main.go
Created February 1, 2023 00:26
a silly test 2
View main.go
package main
import (
"fmt"
)
func main() {
fmt.Printf("Hello\n")
}
@kjk
kjk / false.go
Last active February 1, 2023 02:00
thwo files test
View false.go
// this is a test
func main() {
fmt.Printf("Hello")
}
@kjk
kjk / main.go
Created January 31, 2023 01:10
View main.go
package main
import (
"fmt"
)
func main() {
fmt.Printf("Hello\n")
}
@kjk
kjk / bundle.js
Last active January 11, 2023 02:33
mak source code (made with https://codeeval.dev)
View bundle.js
This file has been truncated, but you can view the full file.
webpackJsonp([0], [, function(t, e, r) {
var n = r(6)
, i = r(36)
, o = r(27)
, a = r(28)
, s = r(37)
, u = function(t, e, r) {
var l, c, h, f, d = t & u.F, p = t & u.G, m = t & u.S, g = t & u.P, v = t & u.B, y = p ? n : m ? n[e] || (n[e] = {}) : (n[e] || {}).prototype, b = p ? i : i[e] || (i[e] = {}), _ = b.prototype || (b.prototype = {});
p && (r = e);
for (l in r)
@kjk
kjk / main.js
Created December 24, 2022 00:46
mak.ink source (made with https://codeeval.dev)
View main.js
This file has been truncated, but you can view the full file.
webpackJsonp([0], [, function(t, e, r) {
var n = r(6)
, i = r(36)
, o = r(27)
, a = r(28)
, s = r(37)
, u = function(t, e, r) {
var l, c, h, f, d = t & u.F, p = t & u.G, m = t & u.S, g = t & u.P, v = t & u.B, y = p ? n : m ? n[e] || (n[e] = {}) : (n[e] || {}).prototype, b = p ? i : i[e] || (i[e] = {}), _ = b.prototype || (b.prototype = {});
p && (r = e);
for (l in r)
@kjk
kjk / v2.json
Created July 3, 2022 22:38
gdrive api (made with https://codeeval.dev)
View v2.json
{
"kind": "drive#fileList",
"etag": "\"dNzmxTQXf93-URXXV2e6HTjz4Uc\"",
"selfLink": "https://www.googleapis.com/drive/v2/files",
"nextPageToken": "~!!~AI9FV7TLkZbjkzrcrQWqhRUpOMAeA1WkjFDTn3zHXVv9Bigb-9iLCYw1O-ezzFljevtOfWIZHjy_rDWE0T7_taMq9ue72WfcfGr4r8VKaM-pqUFxxBP0o8rc8qCJPeQv_jatR0rlEjSnK8kw0WwyrsH5TniY5bdOrXh-_I1ikH26dtRCjTXQcQBAfaKhQapG63E5TNk4UdOcuvp3pGlIxKA7IP59ycgYEHFfGEN7cF3DUz9JnuCbjBjK3eS6XB1J8UqBVzgeL1kdRZo5j9lfMIC6sQHihLH9-haQR7pfqT6dbm-ffNtoCITzTuv4aCrP21Qbq5LqdzcZ",
"nextLink": "https://www.googleapis.com/drive/v2/files?pageToken=~!!~AI9FV7TLkZbjkzrcrQWqhRUpOMAeA1WkjFDTn3zHXVv9Bigb-9iLCYw1O-ezzFljevtOfWIZHjy_rDWE0T7_taMq9ue72WfcfGr4r8VKaM-pqUFxxBP0o8rc8qCJPeQv_jatR0rlEjSnK8kw0WwyrsH5TniY5bdOrXh-_I1ikH26dtRCjTXQcQBAfaKhQapG63E5TNk4UdOcuvp3pGlIxKA7IP59ycgYEHFfGEN7cF3DUz9JnuCbjBjK3eS6XB1J8UqBVzgeL1kdRZo5j9lfMIC6sQHihLH9-haQR7pfqT6dbm-ffNtoCITzTuv4aCrP21Qbq5LqdzcZ",
"incompleteSearch": false,
"items": [
{
"kind": "drive#file",
@kjk
kjk / cppcheck.txt
Last active June 3, 2022 03:57
cpp check results for sumatra (made with https://codeeval.dev)
View cppcheck.txt
src\utils\ScopedWin.h:223:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'prevPen' a value by passing the value to the constructor in the initialization list. [useInitializationList]
prevPen = (HPEN)SelectObject(hdc, pen);
^
src\utils\ScopedWin.h:237:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'prevBrush' a value by passing the value to the constructor in the initialization list. [useInitializationList]
prevBrush = (HBRUSH)SelectObject(hdc, pen);
^
src\mui\TextRender.h:108:5: warning: Member variable 'TextRenderGdiplus::measureAlgo' is not initialized in the co
@kjk
kjk / TabsCtrl.cpp
Created May 23, 2022 00:56
sumatra tabs (made with https://codeeval.dev)
View TabsCtrl.cpp
/* Copyright 2022 the SumatraPDF project authors (see AUTHORS file).
License: Simplified BSD (see COPYING.BSD) */
#include "utils/BaseUtil.h"
#include "utils/ScopedWin.h"
#include "utils/Dpi.h"
#include "utils/WinUtil.h"
#include "wingui/Layout.h"
#include "wingui/Window.h"
@kjk
kjk / main.txt
Created May 21, 2022 18:09
mupdf bad stack unwind in error.c (made with https://codeeval.dev)
View main.txt
All crashes
ntdll.dll!RtlRaiseStatus+0x36
ntdll.dll!RtlUnwindEx+0x5b3
ntdll.dll!RtlUnwind+0xcd
libmupdf.dll!__longjmp_internal+0xe9 D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\longjmp.asm+141
libmupdf.dll!throw+0x54 mupdf\source\fitz\error.c+183
libmupdf.dll!fz_rethrow+0xf mupdf\source\fitz\error.c+292
libmupdf.dll!pdf_process_contents+0x1ea mupdf\source\pdf\pdf-interpret.c+1085
libmupdf.dll!pdf_run_page_contents_with_usage_imp+0x3c1 mupdf\source\pdf\pdf-run.c+155
libmupdf.dll!pdf_run_page_contents_with_usage+0xb8 mupdf\source\pdf\pdf-run.c+187