This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Advanced Windows Update Service Clean v2.01 | |
:: =========================================== | |
:: | |
:: Copyright (c) 2016, Danijel James | |
:: All rights reserved. | |
:: | |
:: Redistribution and use in source and binary forms, with or without | |
:: modification, are permitted provided that the following conditions are met: | |
:: | |
:: 1. Redistributions of source code must retain the above copyright notice, this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################### | |
# Load All Functions # | |
############################################################################### | |
# Function Show script help | |
function showHelp() { | |
echo "No-IP Uninstaller v2.0a" | |
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function readName { | |
echo "Enter your full name:" | |
read fullName | |
clear | |
} | |
function cmprsName { | |
comp=${ echo "$fullName" } | sed 's/ //g'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Linux Auto-Install Git | |
# | |
# Copyright (c) 2012 Danijel James http://danijelj.com | |
# | |
# Licensed under MIT | |
# version number | |
version="1.0.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Detects which OS and if it is Linux then it will detect which Linux Distribution. | |
OS=`uname -s` | |
REV=`uname -r` | |
MACH=`uname -m` | |
GetVersionFromFile() | |
{ | |
VERSION=`cat $1 | tr "\n" ' ' | sed s/.*VERSION.*=\ // ` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem Windows has no built-in wget or curl, so generate a VBS script to do it: | |
rem ------------------------------------------------------------------------- | |
set DLOAD_SCRIPT=download.vbs | |
echo Option Explicit > %DLOAD_SCRIPT% | |
echo Dim args, http, fileSystem, adoStream, url, target, status >> %DLOAD_SCRIPT% | |
echo. >> %DLOAD_SCRIPT% | |
echo Set args = Wscript.Arguments >> %DLOAD_SCRIPT% | |
echo Set http = CreateObject("WinHttp.WinHttpRequest.5.1") >> %DLOAD_SCRIPT% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Display dialog box with custom icon called _icon.icns_ | |
``` | |
display dialog "My custom icon " buttons {"Cancel", "Continue"} default button "Continue" with icon file "Contents:Resources:icon.icns" | |
``` | |
``` | |
set x to ((path to me as text) & "Contents:Resources:myicon.icns") as alias | |
display dialog "your text here" with icon x | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# MacProtector Removal Tool (Super-Simple) 1.0 - http://www.icrontic.com/ | |
# (C) 2011 All Rights Reserved, Phillip R. Jaenke ([email protected]) | |
# | |
# LICENSE IS AS FOLLOWS: | |
# - This software is completely free to use or redistribute for personal use, | |
# HOWEVER: | |
# -- It must retain the above copyright notice and reference to Icrontic! | |
# - This software is completely free to use or redistribute for commercial use, | |
# HOWEVER: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
-- Careful of things we DON'T want to remove... | |
get the name of every login item | |
-- Check for both. | |
if login item "MacProtector" exists then | |
delete login item "MacProtector" | |
display dialog "Removed MacProtector from Login Items." | |
else | |
display dialog "No MacProtector infection found." | |
end if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dock2d3d=$(defaults read com.apple.dock | grep "no-glass") | |
if [ $dock2d3d == "\"no=glass\" = 0;" ] | |
then | |
defaults write com.apple.dock no-glass -boolean YES && killall Dock | |
else | |
defaults write com.apple.dock no-glass -boolean NO && killall Dock | |
fi |
OlderNewer