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
$t_path_7 = "C:\Users\$env:username\AppData\Local\Microsoft\Windows\Temporary Internet Files" | |
$c_path_7 = "C:\Users\$env:username\AppData\Local\Microsoft\Windows\Caches" | |
$d_path_7 = "C:\Users\$env:username\Downloads" | |
$temporary_path = Test-Path $t_path_7 | |
$check_cashe = Test-Path $c_path_7 | |
$check_download = Test-Path $d_path_7 | |
if($temporary_path -eq $True -And $check_cashe -eq $True -And $check_download -eq $True) |
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 | |
# Author : Akshay Pratap Singh | |
# Email-id : pratapakshay0@gmail.com | |
# These variable are sets by user | |
SERVER_IP="127.0.0.1" | |
HOST_NAME="example.com" | |
DIR_PATH=$(pwd) | |
APACHE_DIR_PATH="/etc/apache2/sites-available" |
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
function onOpen(){ | |
// example send for Sheets | |
sendGAMP("UA-XXXX-1", SpreadsheetApp.getActiveSpreadsheet().getUrl()); | |
// example send for Documents | |
//sendGAMP("UA-XXXX-1", DocumentApp.getActiveDocument().getUrl()); | |
// example send for Forms *NOTE* getUrl not implemented yet in New Sheets | |
//sendGAMP("UA-XXXX-1", FormApp.getActiveForm().getUrl()); | |
} |