This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo modprobe vboxdrv | |
| (pokud se upgradovat kernel tak je potřeba zavolat i `sudo aptitude install linux-headers-`uname -r``, tedy naisntalovat sudo apt install aptitude) | |
| sudo VirtualBox ./../../Downloads/MSEdge\ -\ Win10.ova | |
| heslo k Win10: Passw0rd! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| heroku builds:cache:purge --app registr-dzs --confirm <app-name> | |
| heroku buildpack --app <app-name> | |
| heroku restart -a <app-name> | |
| // start build manually in UI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/fahclient/config.xml | |
| <config> | |
| <!-- User Information --> | |
| <passkey v='XY'/> | |
| <team v='249477'/> | |
| <user v='ldrahnik'/> | |
| <command-port v='36330'/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-install python3-pip | |
| pip3 --version | |
| # pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6) | |
| sudo apt-install python-pip | |
| pip --version | |
| # pip --version | |
| # pip 9.0.1 from /usr/lib/python2.7/dist-packages (python 2.7) | |
| # https://networkx.github.io/documentation/stable/install.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Download Raspberry Pi Imager and flash SD card https://www.raspberrypi.org/downloads/ | |
| # login: default credentials are ubuntu/ubuntu | |
| # wi-fi | |
| sudoedit /etc/netplan/50-cloud-init.yaml # and add lines below | |
| # This file is generated from information provided by the datasource. Changes | |
| # to it will not persist across an instance reboot. To disable cloud-init's | |
| # network configuration capabilities, write a file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| komprese([], []). | |
| komprese([S], [S]). | |
| komprese([S1, S2|T], [S1|D]) :- S1 \= S2, komprese([S2|T], D). | |
| komprese([_, S2|T], D) :- komprese([S2|T], D). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # google chrome | |
| https://www.google.cz/chrome/thank-you.html?statcb=0&installdataindex=empty | |
| # visual studio 2018 community | |
| https://visualstudio.microsoft.com/cs/downloads/?rr=https%3A%2F%2Fwww.google.com%2F | |
| # 1) Enable support for old .NET package versions in /control panels/all programs and features/enable or disable native windows features -> .NET 3.5 FW (includes 2.0 / 3.0) | |
| # install git | |
| https://www.atlassian.com/git/tutorials/install-git#windows | |
| # 1) git aliases, e-mail address & name: https://gist.github.com/ldrahnik/f2124d2ff1b130bd14f53834ec0b398b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Oh Christmas Tree | |
| Forensics | |
| 25 December 14th, 7:46:49 PM | |
| ============================= | |
| Merry Christmas.jpg -> dowloaded file -> opened file in editor glogg -> found string X-MAS | |
| X-MAS{0_Chr15tmas_tr33_is_th1s_flag_i_wonder} | |
| Santa The Weaver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // position => key | |
| $table = array( | |
| 1 => 10, | |
| 2 => 20, | |
| 3 => 30, | |
| 4 => 40, | |
| 5 => 50, | |
| 6 => 60, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1) Enable support for old .NET package versions in /control panels/all programs and features/enable or disable native windows features -> .NET 3.5 FW (includes 2.0 / 3.0) | |
| # 2) Create new project .NET 2.0-3.5 | |
| # 3) Init git repository `git init` | |
| # 4) Add empty project source files `git add .` // delete something if u do not need | |
| # 5) `git stash` | |
| # 6) echo Title > Readme.md | |
| # 7) `git add Readme.md` `git commit -m 'readme.md'` `git push` | |
| # 6) Add remote `git remote add origin <git-repository-url> | |
| # 7) Git pull `git pull origin master --allow-unrelated-histories` (because readme.md) | |
| # 8) `git stash pop` |