Skip to content

Instantly share code, notes, and snippets.

@dtmrc
dtmrc / collect-info.py
Created September 15, 2021 02:15 — forked from haircut/collect-info.py
Spiffy GUI for Jamf Pro workflows
#!/usr/bin/python
"""
Collect Info
To be used in a Jamf Pro workflow to prompt a user/tech for info
Heavily cribbed from Jamf's iPhone ordering script:
https://github.com/jamfit/iPhone-Ordering
"""
#!/bin/bash
LOCALADMIN="username"
kickstart=/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart
echo "Configuring Remote Management"
if id -u $LOCALADMIN >/dev/null 2>&1; then
echo "Defined local admin account exists"
# Deactivate ARD agent, deny all access
echo "Deactivating ARD agent"
@dtmrc
dtmrc / blogpost-staying-organized-with-teams.md
Created September 15, 2021 18:20 — forked from dteare/blogpost-staying-organized-with-teams.md
Staying Organized with 1Password for Teams

Staying Organized with 1Password for Teams

In our recent newsletter I had planned to share my New Year resolution to get organized and how I am using 1Password for Teams to keep my Family and Work information separate. It got too long for a newsletter so I thought I'd write a blog post instead.

First, a little bit of history is in order. I started using 1Password nearly 10 years ago and have accumulated well over 2000 items during that time. These thousands of items include work, personal, and family logins, secure notes, and just about anything else you can think of.

Here's just a few of the things I have in 1Password:

  • Personal logins for Twitter, Facebook, etc.
  • Tons of AgileBits logins and keys. Running a company needs a lot of passwords!
@dtmrc
dtmrc / full_access_to_app_folder.md
Created September 15, 2021 18:20
1Password Dropbox Migration to "App Folder" Sandbox

I don't think AgileBits Inc. is so small nor Dropbox Inc. so big that they couldn't cooperate to smooth the migration from full access to app sandbox.

The highlights:

  • requires some backend favors from Dropbox Inc.
  • supports old clients for a long time during the transition
  • allows for keychain location migration to begin immediately

Potential Migration Strategy

@dtmrc
dtmrc / 1password.conf
Created September 15, 2021 18:21 — forked from detro/1password.conf
1PasswordAnywhere + Dropbox + Upstart = 1Password for Ubuntu
description "Starts a SimpleHTTPServer to host 1 Password Anywhere"
author "Ivan De Marino <[email protected]>"
version "1.0.0"
# When to start/stop
start on runlevel [2345]
stop on runlevel [016]
# Keep it running
respawn
@dtmrc
dtmrc / hackingteam
Created September 15, 2021 18:21 — forked from miyachan/hackingteam
This file has been truncated, but you can view the full file.
../eyyxo.torrent:
Name: Hacked Team
Size: 415768052618 (387G)
Announce: udp://coppersurfer.tk:6969/announce
Files:
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa001.2011 Royal.xls 59392 (58K)
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa002.2011 Royal.xls 59392 (58K)
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa003.2011 Royal.xls
@dtmrc
dtmrc / fed.sh
Created September 15, 2021 18:21 — forked from MalteKiefer/fed.sh
fed.sh
#!/bin/bash
## update system
####
sudo dnf update -y
## repos
####
sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
@dtmrc
dtmrc / openpgp.md
Created September 15, 2021 18:22 — forked from MalteKiefer/openpgp.md
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
defaults write com.apple.finder AppleShowAllFiles YES && killall Finder
brew update
brew upgrade --all
brew install wget curl git zsh nodejs yarn awscli composer python3 htop cask youtube-dl vim
brew install qlcolorcode qlstephen qlmarkdown quicklook-json webpquicklook suspicious-package quicklookase qlvideo qlImageSize
python3 -m pip3 install --upgrade setuptools
@dtmrc
dtmrc / HowTo
Created September 15, 2021 18:22 — forked from MalteKiefer/HowTo
UFW Block IPs from abuseipdb Blacklist
# API Key
First of all create a free account here and create an API key to use the blacklist: https://www.abuseipdb.com
# UFW
You should have installed and started UFW, test it with
```bash
ufw status
```
# Cronjob