Skip to content

Instantly share code, notes, and snippets.

View filipgorczynski's full-sized avatar
🚀
Building

Filip Górczyński filipgorczynski

🚀
Building
View GitHub Profile
uczen = "Alpha Bravo"
punkty = 80
print("".join(["Cześć ", uczen, ". Uzyskałeś ", str(punkty), " punktów z egzaminu."]))
uczen = "Alpha Bravo"
punkty = 80
print("Cześć " + uczen + ". Uzyskałeś " + str(punkty) + " punktów z egzaminu.")
>>> test = u'ë́aúlt' # znaki można policzyć na palcach jednej ręki (dla regionów oddalonych od Czarnobyla)
>>> len(test)
6
>>> # Hmm, chyba jednak jesteśmy blisko uszkodzonego reaktora...
>>> for c in test:
... print("{} - {}".format(c, len(c)))
...
ë - 1
- 1
a - 1
#!/bin/sh
if git rev-parse --verify HEAD >/dev/null 2>&1; then
against=HEAD
else
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
for FILE in `git diff-index --name-status $against -- | cut -c3-` ; do
# Check if the file contains 'debugger'
# OK, let's write it like this:
temp = 10
while temp > 0:
print('[WHILE] ', temp)
temp = temp - 2
if temp == 9:
print('[IF] ', temp)
break
print('[OOL] ', temp)

Fixes #

  • Something here
  • Finished there

Proposed Changes

✔️ Expected Behavior

✅ Actual Behavior

Steps to Reproduce the Problem

git status
# On branch master
# Your branch is up-to-date with 'origin/master'.
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# zmodyfikowany: backend-subrepository (new commits)
cd frontend-subrepository
git remote -v
# origin git@github.com:filipgorczynski/frontend-subrepository.git (fetch)
# origin git@github.com:filipgorczynski/frontend-subrepository.git (push)
git submodule
+189dd81dd218f4ea4558b96027d8ff35c264f9d3 backend-subrepository (heads/backend-dev)
+788a347fb1cf63502709765f0ab5e5a11e75f707 frontend-subrepository (heads/master)