Skip to content

Instantly share code, notes, and snippets.

View archiewald's full-sized avatar
🍅

Artur Kozubek archiewald

🍅
View GitHub Profile
@archiewald
archiewald / index.html
Created February 24, 2018 08:05
JS Bin My very first code snippet // source http://jsbin.com/qafivov/2
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="My very first code snippet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@archiewald
archiewald / index.html
Created March 10, 2018 16:06
JS Bin check a condition on various types // source http://jsbin.com/canipuv
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="check a condition on various types">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@archiewald
archiewald / douchebag-vertical-align.css
Last active January 2, 2019 21:05 — forked from colintoh/douchebag-vertical-align.css
[douchebag vertical alignment] silly vertical alignment #css
.element {
position: relative;
top: 50%;
transform: translateY(-50%);
}
@archiewald
archiewald / snippet.sh
Last active February 4, 2019 05:24
[change remote's URL origin] #git
git remote set-url origin https://github.com/archiewald/repo_name.git
if there is none:
git remote add origin https://github.com/archiewald/repo_name.git
@archiewald
archiewald / snippet.sh
Last active January 2, 2019 21:13
[merge develop into current branch] with hubflow #git
git hf update
git merge develop
# TODO - how to without hf?
@archiewald
archiewald / snippets.md
Last active April 15, 2019 05:24
[handling files/folders] #terminal

handling file/folders

create new folder

mkdir folder-name

delete file

rm some_file
@archiewald
archiewald / snippet.sh
Created January 2, 2019 21:18
[list all files]
ls -a
@archiewald
archiewald / tables.html
Created January 2, 2019 21:32
[tables] html tables examples #html
<p>copied from MDN</p>
<p>Simple table with header</p>
<table>
<tr>
<th>First name</th>
<th>Last name</th>
</tr>
<tr>
<td>John</td>
@archiewald
archiewald / shortcuts.md
Last active May 2, 2019 17:06
[fav VS Code shortcuts] #vscode

close other windows

cmd + alt + T

activate 💡

cmd + .
@archiewald
archiewald / ideas.md
Last active January 17, 2020 20:44
[blogpost ideas] #blog

TypeScript

  • asynchronous iteration
  • class model JS vs TS vs Ruby?
  • writing typecheckers
  • object types
  • omit
  • chaining vs currying etc
  • dictionaries
  • object literal types
  • creating a library interface