Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block florido

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
florido /
Created May 19, 2019 — forked from lyralemos/
Downloads torrents from showrss and adds them to transmission; Dependencies: Feedparser and Transmissionrpc
import os
import feedparser
import transmissionrpc as tm
script_dir = os.path.dirname(__file__)
downloaded_file = os.path.join(script_dir, 'showrss.downloaded')
base_path = '/media/seagate/Video/Series/'
feed_url = ''
feed = feedparser.parse(feed_url)
View gist:763c3b1ca299e4b371e925ef50629f5c
# Admin User
myd=`date "+%Y-%m-%d-%H-%M-%S"`
# ovverride.plist
sudo cat /var/db/launchd.db/ > ~/$myd-root-ovverrides.txt
sudo lsof -i > ~/$myd-root-lsof.txt
# blued
# path to /Volumes/not-system-root-volumes
# Unlod airplay, cupsd, netbiosd
# disable bluetooth
# OS X 10.8.2
# 2012-10-08
mkdir $bk
florido / Disable facetime HD cameral Mac OS.MD
Created May 1, 2019 — forked from DOSputin/README.MD
Disable facetime HD cameral Mac OS
View Disable facetime HD cameral Mac OS.MD

Turn Off Rootless System Integrity Protection:

$ csrutil disable

Disable Camera:

all commands performaed as sudo

$ chmod a-r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC

View AppleScript for user input
/usr/bin/osascript <<EOT
set theResponse to display dialog "What's your code?" default answer "" with icon stop buttons {"Cancel", "Continue"} default button "Continue" with hidden answer
display dialog "My Secret Code is " & (text returned of theResponse) & "."
View startosinstall Cheat Sheet
startosinstall command & syntax
Command: startosinstall
Requires root access: Yes
- -usage: Displays all parameters available for the command.
- -agreetolicense: Agrees to the license agreement during deployment (Required for automated deployments).
florido / Disable_Hibernate_mode
Created May 1, 2019 — forked from hariel18/Disable_Hibernate_mode
OSX: Disable Hibernate mode
View Disable_Hibernate_mode
# disable hibernation
sudo pmset hibernatemode 0
# clear the image file
sudo rm -rf /var/vm/sleepimage
# inhibit file recreation
View .macos
#!/usr/bin/env bash
# ~/.osx —
# Ask for the administrator password upfront
sudo -v
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
florido / Pinboard.scpt
Created Apr 30, 2019 — forked from itst/Pinboard.scpt
Import and update your Pinboard bookmarks to DEVONthink
View Pinboard.scpt
(* Import and update your Pinboard bookmarks to DEVONthink
Based on work done by Christian Grunenberg on Mon Jan 23 2006,
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished.
By Sascha A. Carlin <> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items
Copyright (c) 2018. All rights reserved. *)
use framework "Foundation"
You can’t perform that action at this time.