Skip to content

Instantly share code, notes, and snippets.

Avatar
🚕
Chillin' out maxin' relaxin' all cool no longer shootin bball outside the school

Jakub Koralewski JakubKoralewski

🚕
Chillin' out maxin' relaxin' all cool no longer shootin bball outside the school
View GitHub Profile
View _script.js
dates = new Array(...document.querySelector('.timeline__header-list').children).map(x => x.innerText);
titles = new Array(...document.querySelector('.fds-carousel-slides').children).map(x => x.children[0].innerText.split('\n\n')[0].toLowerCase());
dates.map((d, i) => `${d} - ${titles[i]}`).join('\n')
View shortcutly.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force
#Persistent
AutoTrim, Off
; menu
Menu, Tray, Add
View searcher-shortchuty.ahk
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#SingleInstance Force
#Persistent
AutoTrim, Off
; menu
Menu, Tray, Add
View searcher.ahk
#SingleInstance Force
#Persistent
SendMode, Input
AutoTrim, Off
Browser := false
; menu
Menu, Tray, Add
Menu, Tray, Add, Ustaw okno jako przeglądarkę, ChooseBrowserWindow
View initiateDb.ts
let promptly: Record<any, any>
if (require.main === module) {
promptly = require('promptly')
require('dotenv').config({ debug: true })
const fileIndex = process.argv.findIndex(
(val) => val.endsWith('initiateDb.ts')
)
const optionalArguments = process.argv.slice(fileIndex + 1)
console.log({ optionalArguments })
let dbUrl: string
View urban_goose.js
<form action="{% url 'new' %}" method="post">
{% csrf_token %}
{% for field in form %}
<div class="field-wrapper">
{{ field.errors }}
{{ field.label_tag }} {{ field }}
{% if field.help_text %}
<p class="help">{{ field.help_text|safe }}</p>
{% endif %}
</div>
@JakubKoralewski
JakubKoralewski / rust-book-pl.diff
Last active Mar 15, 2020
zrobiłem diff tego repo z commita [94308a2](https://github.com/paytchoo/book-pl/commit/94308a22e7bcd089a806e8e6eb11d9294667eb66) i [rust-lang/book 6fb3705e](https://github.com/rust-lang/book/commit/6fb3705e5230311b096d47f7e2c91f9ce24393d0) komendą `git diff --no-index --name-only book-original/src book-pl-en/src > diff-to-new.txt`. Wynik zamiesz…
View rust-book-pl.diff
diff --git a/book-original/src/SUMMARY.md b/book-pl-en/src/SUMMARY.md
index a9b8feb..4139eb0 100644
--- a/book-original/src/SUMMARY.md
+++ b/book-pl-en/src/SUMMARY.md
@@ -1,6 +1,5 @@
# The Rust Programming Language
-[The Rust Programming Language](title-page.md)
[Foreword](foreword.md)
[Introduction](ch00-00-introduction.md)
@JakubKoralewski
JakubKoralewski / task7.ipynb
Created Dec 7, 2019
Task 7 by Jakub Koralewski for Introduction to Computer Science Labs 8
View task7.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.