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
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main( void )
{
int i = 0;
int a[11];
a[0] = 0;
int min = a[0];
@hjnowakowski
hjnowakowski / matrix_rand.c
Last active March 26, 2017 20:48
Zadania dla Weroniki
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
//Zadanie dla Weroniki Kołodziej
//Henryk Nowakowski
int main( void )
{
@hjnowakowski
hjnowakowski / Project_Euler.java
Created April 30, 2017 11:19
Random Project Euler problems
import java.util.*;
class threeandfive{ //problem nr 1
//private int limit;
private int sum = 0;
\documentclass{article}
%\usepackage[T1]{fontenc}
\usepackage{inconsolata}
\usepackage{courier}
\usepackage{amsmath}
\usepackage{tcolorbox}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[polish]{babel}
@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
@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 / 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 / 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 / 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 / ygameurl
Created January 26, 2018 13:35
ygameurl
https://ygamei347389trial.hanatrial.ondemand.com/ygame/admin/tournament/1