Skip to content

Instantly share code, notes, and snippets.

View nick123pig's full-sized avatar

Nick Stocchero nick123pig

View GitHub Profile
#!/usr/bin/env python3
import asyncio
import requests
import subprocess
lock = asyncio.Lock()
async def get_token():
token = None
if (!(Get-Command winget -errorAction SilentlyContinue))
{
# get latest download url
$URL = "https://api.github.com/repos/microsoft/winget-cli/releases/latest"
$URL = (Invoke-WebRequest -Uri $URL).Content | ConvertFrom-Json |
Select-Object -ExpandProperty "assets" |
Where-Object "browser_download_url" -Match '.msixbundle' |
Select-Object -ExpandProperty "browser_download_url"
# download
@nick123pig
nick123pig / aidan.ipynb
Last active November 1, 2022 20:40
aidan_example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am nick123pig on github.
  • I am nick123pig (https://keybase.io/nick123pig) on keybase.
  • I have a public key ASDWbFBKb5FCU5hqAJqxRpCr35aznb9dF18toLz7m8XyDgo

To claim this, I am signing this object:

We couldn’t find that file to show.
cask 'medis' do
version '0.5.0'
sha256 '894dd52129d445176a59fc75d8838417eb90aced4c678cc306ab7e57bef269be'
# github.com/luin/medis was verified as official when first introduced to the cask
url "https://github.com/luin/medis/releases/download/v#{version}/medis-v#{version}-mac-x64.zip"
appcast 'https://github.com/luin/medis/releases.atom',
checkpoint: 'd1ccf2022d97fa7acb70b8b9661489a02c412b3e93cbcf92c28ff62b83081d83'
name 'Medis'
homepage 'http://getmedis.com/'
"""
Scott Vincent
Web Crawler - Email Scrapping Tool
Feb 2015
"""
#!/usr/bin/python
import sys
import re
import urllib2
@nick123pig
nick123pig / is_metro_on_fire.md
Created August 2, 2016 01:08
IsMetroOnFire Preamble Suggestions

Everytime @ismetroonfire detects a fire, it puts a "preamble" on the tweet (selected at random)

  • Oh shit.
  • Conflabbit!
  • Just great.
  • Nuts.
  • Once again,
  • This is not a laughing matter, but
  • Shawty fire burning on Metro.
  • I wouldn't ride Metro today.
@nick123pig
nick123pig / readme.md
Last active April 10, 2019 15:13
Dashing Table

dashing-table

Allows you to use tables with the dashing framework.

Preview

Basic Table Preview