Skip to content

Instantly share code, notes, and snippets.

View hjnowakowski's full-sized avatar
🎯
Focusing

Henryk Nowakowski hjnowakowski

🎯
Focusing
  • Infobip
  • Katowice, Poland
View GitHub Profile
FROM python:3.9
RUN pip3 install pipenv
RUN apt-get update && apt-get install -y \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*

terminal

  • iTerm2
  • zsh
  • oh-my-zsh
  • vim
  • brew
  • hammerspoon
@hjnowakowski
hjnowakowski / .zshrc
Last active April 8, 2021 16:02
ZSH config
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnoster"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
# Aliases
@hjnowakowski
hjnowakowski / ygameurl
Created January 26, 2018 13:35
ygameurl
https://ygamei347389trial.hanatrial.ondemand.com/ygame/admin/tournament/1
@hjnowakowski
hjnowakowski / zad66.bat
Created January 16, 2018 20:16
Batch66
@echo off
ren %1\*.txt *.txt2
if "%~2"=="" goto end
if %2==c (goto if) else (goto end)
:if
set /p kat="podaj katalog: "
set /p dat="podaj jak stare: "
if not exist %1\%kat% mkdir %1\%kat%
forfiles /p %1 /m *.txt2 /c "cmd /c copy @path %kat%\@file" /d -%dat%
:end
@hjnowakowski
hjnowakowski / sieci1
Created October 27, 2017 12:04
Sieci
@echo off
echo Czyszczenie bufora wydruku
net stop spooler
echo Trwa usuwanie dokumentow w kolejce drukowania
del /q /f /s "%systemroot%\system32\spool\PRINTERS\*.*"
net start spooler
echo Pomyslnie wykonano wszystkie czynnosci
pause
@hjnowakowski
hjnowakowski / zadanie 1.2
Last active October 16, 2017 12:58
C++ solutions, semestr 3
#include <iostream>
#include <vector>
using namespace std;
void print_array(ostream& os, vector<int> a, int n){
for (int i = 0; i < n; i++) {
os << a[i] << endl;
}
@hjnowakowski
hjnowakowski / mathematica2
Last active October 25, 2017 08:13
Numerical methods notes
Funkcja plot
Plot[x^2, {x, -Pi, Pi]
Plot[x^2, {x, -Pi, Pi}, PlotStyle -> {Orange, Thickness[0.0067]}]
Plot[x^2, {x, -Pi, Pi},
PlotStyle -> {Orange, Thickness[0.0067], Dashing[{.03, .03}]}]
Show[r1, r2, PlotRange -> All, PlotLabel -> "sratatata"]
@hjnowakowski
hjnowakowski / 0_reuse_code.js
Created June 17, 2017 11:55
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
\documentclass{article}
%\usepackage[T1]{fontenc}
\usepackage{inconsolata}
\usepackage{courier}
\usepackage{amsmath}
\usepackage{tcolorbox}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[polish]{babel}