Skip to content

Instantly share code, notes, and snippets.

View dimitraz's full-sized avatar
🌚
Battery about to die

Dimitra Zuccarelli dimitraz

🌚
Battery about to die
View GitHub Profile
@JameelB
JameelB / cluster.json
Last active June 24, 2022 10:33
functions for setting up osd clusters. Add this to your .bashrc/.zshrc
{
"aws": {
"access_key_id": "string",
"account_id": "string",
"secret_access_key": "string"
},
"ccs": {
"enabled": true
},
"cloud_provider": {
@manrajgrover
manrajgrover / .env.sample
Last active January 29, 2024 12:56
Quick Docker Environment for TensorFlowJS Node
root=/path/to/root
project=/path/to/project
@peterbladen
peterbladen / highsierra_iso.sh
Last active January 6, 2020 07:31 — forked from agentsim/highsierra_bootable.sh
Create bootable ISO from HighSierra Installer
# Generate a BaseSystem.dmg with 10.13 Install Packages
hdiutil attach /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra
hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build
asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
cp -R /Volumes/highsierra/Packages/ /Volumes/OS\ X\ Base\ System/System/Installation/
hdiutil detach /Volumes/OS\ X\ Base\ System/
hdiutil detach /Volumes/highsierra/
mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg
@konradko
konradko / golang_on_rpi.md
Last active April 12, 2020 17:36
Install Golang 1.7 on Raspberry Pi
wget https://storage.googleapis.com/golang/go1.7.linux-armv6l.tar.gz
tar -C /usr/local -xzf go1.7.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
@gka
gka / twitter_follower_intersect.py
Created September 15, 2011 16:16
Looks up how many followers two Twitter accounts do have in common
#!/usr/bin/env python
"""
This script looks up how many followers two different Twitter accounts do have in common.
Usage:
twitter_follower_intersect.py username username
You'll need Python and the Python Twitter Tools to get this running.