Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| #EXERCISE #1 | |
| #diff21--Given an int n, return the absolute difference between n and 21, except return double the absolute difference if | |
| #n is over 21. | |
| #first solution try--only got 1 out of 12 correct | |
| def diff21(n): | |
| if n < 21: | |
| return n *2 | |
| else: | |
| return n - 21 |
| cd $HOME | |
| FileName='go1.13.4.linux-armv6l.tar.gz' | |
| wget https://dl.google.com/go/$FileName | |
| sudo tar -C /usr/local -xvf $FileName | |
| cat >> ~/.bashrc << 'EOF' | |
| export GOPATH=$HOME/go | |
| export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin | |
| EOF | |
| source ~/.bashrc |
| ################################################################################## | |
| # ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - ABANDONED FOR NOW # | |
| ################################################################################## | |
| # | |
| # NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x. | |
| # USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT | |
| # OCCUR USING CHROMECAST / GOOGLE HOME. | |
| # | |
| # COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP. | |
| # SUGGESTIONS? WRITE A COMMENT BELOW. |
| #!/bin/sh | |
| if [[ `id -u` != 0 ]]; then | |
| echo "Must be root to run script" | |
| exit | |
| fi | |
| read -p "Enter user name and press [ENTER]: " UserName | |
| if [[ $UserName == `dscl . -list /Users UniqueID | awk '{print $1}' | grep -w $UserName` ]]; then |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| #!/bin/bash | |
| ####################################################################### | |
| # | |
| # Remove Application Script for Jamf Pro | |
| # | |
| # This script can delete apps that are sandboxed and live in /Applications | |
| # | |
| # The first parameter is used to kill the app. It should be the app name or path | |
| # as required by the pkill command. |
| from Foundation import NSObject, NSUserDefaults, NSKeyValueObservingOptionNew | |
| from Foundation import NSRunLoop, NSDate | |
| class PrefsObserver(NSObject): | |
| def observe(self, domain, key): | |
| self.domain = domain | |
| self.key = key | |
| if self: | |
| self.defaults = NSUserDefaults.alloc().initWithSuiteName_( |
| import Foundation | |
| class MyService: NSObject, MyServiceProtocol { | |
| func upperCaseString(_ string: String, withReply reply: @escaping (String) -> Void) { | |
| let response = string.uppercased() | |
| reply(response) | |
| } | |
| } |
| // on page load, search for & display a random gif matching your search term using the Giphy API and add them to the pihole blockpage | |
| // thanks to the nealrs (github) | |
| // immae1 2017 | |
| var x = "Pi-hole: A black hole for Internet advertisements." | |
| document.addEventListener('DOMContentLoaded', function () { | |
| items = ["funny cats","dejay","nerd","beer"]; // tag array | |
| var item = items[Math.floor(Math.random()*items.length)]; | |
| !/bin/bash | |
| #IP='1216.58.205.195' | |
| function pingDevice { | |
| #ping -c1 -t300 $IP 2>/dev/null 1>/dev/null | |
| #if [ "$?" = 0 ] | |
| if adb get-state 1>/dev/null 2>&1 | |
| then |