This file contains 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 pandas as pd | |
import datetime as dt | |
startDateTime="2019-01-01" | |
endDateTime="2021-04-13" | |
# Get Data | |
df=pd.read_csv('myfile.csv') | |
# "Date" loaded as str, converted to datetime | |
df["Date"]=df["Date"].apply(lambda s: dt.datetime.strptime(s,"%Y-%m-%d")) |
This file contains 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
from dateutil import relativedelta | |
from os import path | |
import json | |
import datetime | |
from selenium import webdriver | |
from webdriver_manager.chrome import ChromeDriverManager | |
def getUA(): | |
driver = webdriver.Chrome(ChromeDriverManager().install()) |
This file contains 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
ren *.mp4 ???????.* | |
powershell -noexit "& "".\rmSpaceScript.ps1""" | |
(for %i in (*.mp4) do @echo file '%i') > fileList.txt | |
ffmpeg -f concat -i fileList.txt -c copy Full.mp4 | |
for /f %F in ('dir /b /a-d ^| findstr /vile "op.mp4"') do del "%F" |
This file contains 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
## Core latex/pdflatex auxiliary files: | |
*.aux | |
*.lof | |
*.log | |
*.lot | |
*.fls | |
*.out | |
*.toc | |
*.fmt | |
*.fot |
This file contains 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
#!/bin/bash | |
# | |
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/ | |
# Adapted to work with the official image available into Mac App Store | |
# | |
# Enjoy! | |
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app | |
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build |