Skip to content

Instantly share code, notes, and snippets.

View derekseymour's full-sized avatar

Derek Seymour derekseymour

View GitHub Profile
@lxe
lxe / goes16-rtlsdr.md
Last active May 8, 2024 20:43
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@OlafD
OlafD / ConnectExchangeOnline.ps1
Last active January 11, 2024 12:51
Connect to Office 365 Exchange Online with PowerShell
if ($cred -eq $null)
{
$cred = Get-Credential
}
Write-Host "Connecting to Exchange Online"
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $exchangeSession | Out-Null
@karpathy
karpathy / min-char-rnn.py
Last active May 11, 2024 20:19
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
jwt = new googleapis.auth.JWT do
SERVICE_ACCOUNT_EMAIL
KEYFILE_PEM
null
['https://www.googleapis.com/auth/analytics.readonly']
err, client <- googleapis.discover 'analytics', 'v3' .execute
err, result <- jwt.authorize
console.log result
@mbostock
mbostock / .block
Last active May 15, 2023 07:29
Bubble Chart
license: gpl-3.0
height: 960
border: no
redirect: https://observablehq.com/@d3/bubble-chart
@nick-desteffen
nick-desteffen / OSX UTC Time Zone
Created August 5, 2011 01:50
Set Time zone in OSX to UTC
sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime