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| 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_( |
| #!/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. |
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/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 |
| ################################################################################## | |
| # 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. |
| 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 |
| #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 |