Deno program to scrap the housing site for new houses (after getting the initial state).
You can generate an executable by running the following
deno compile --allow-net --allow-run --allow-read --allow-env main.ts
#bin/bash | |
day=$1 | |
month=$2 | |
year=$3 | |
while true; | |
do | |
status_code=$(curl -s -o /dev/null -w "%{http_code}" 'https://covid19.min-saude.pt/pedido-de-agendamento/' \ |
import numpy as np | |
import scipy.stats as st | |
import matplotlib.pyplot as plt | |
def validate_parameters(n1, n2, k1, k2, w): | |
"""Validate that sim parameteres are valid""" | |
if k1 < w: | |
raise Exception(f"K1 {k1} must be greater than w {w}") | |
elif k1 < k2: |
#!/bin/bash | |
while getopts ":i:o:" opt; do | |
case $opt in | |
i) input="$OPTARG" | |
;; | |
o) output="$OPTARG" | |
;; | |
t) title="$OPTARG" | |
;; |
#!/bin/bash | |
# oh my zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
#Install starship | |
curl -fsSL https://starship.rs/install.sh | bash | |
# Install pacman packages (prefered) |
# Script to install on Windows 10 | |
# Requires Microsoft Package Manager from microsoft https://github.com/microsoft/winget-cli | |
winget install vlc -h | |
winget install calibre | |
winget install firefox -h -e | |
winget install --Id Spotify.Spotify -h | |
winget install authy -h | |
winget install notion -h |
#bin/bash | |
# This is a small script that I run every day to start working | |
open -a spotify -g | |
open -a notion -g | |
open -a slack -g | |
open -a "Visual Studio Code" -g | |
open -a "Google Chrome" | |
open -a firefox |
#!/bin/bash | |
# A script to set up a new mac. Uses bash, homebrew, etc. | |
# Settings | |
node_version="14.9.0" | |
ruby_versions="2.7.0" | |
python="3.8.1" | |
ruby_default="2.7.0" |
--Check different columns | |
select znew.column_name as newcol, | |
zold.column_name as oldcol | |
from ( | |
select column_name | |
from information_schema.columns | |
where table_schema = 'zendesk' | |
and table_name = '_groups') zold | |
full join | |
(select column_name |
I hereby claim:
To claim this, I am signing this object: