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 | |
# Disables Adobe Reader X EULA and automatic update checks | |
USERPREFS_DIR="/System/Library/User Template/English.lproj/Library/Preferences" | |
/usr/libexec/PlistBuddy -c "Delete 10:EULAAccepted" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:EULAAccepted bool TRUE" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Delete 10:AVGeneral:CheckForUpdatesAtStartup:1" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:AVGeneral:CheckForUpdatesAtStartup array" "${USERPREFS_DIR}/com.adobe.Reader.plist" |
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 | |
############################################################################## | |
#### | |
#### Convert PDFs to JPEGs using the Poppler library and ImageMagick | |
#### | |
#### This script converts a folder full of PDFs to JPEGs using libpoppler and | |
#### ImageMagick. In this case, PDFs are coverted at 150 dpi and outputted as | |
#### 85 percent quality JPEGs with a maximum width of 800 pixels. Edit these | |
#### values to suit your environment. |
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
{ | |
"homepage" : "http://www.codyeding.com", | |
"homepage_is_newtabpage" : false, | |
"browser" : { | |
"show_home_button" : true, | |
"check_default_browser" : false, | |
"show_update_promotion_info_bar" : false | |
}, | |
"session" : { | |
"restore_on_startup" : 4, |
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
location /{ | |
# Other rules here... | |
rewrite ^/[Ll][Oo][Gg][Ii][Nn]$ /login/ permanent; | |
rewrite ^/[Ll][Oo][Gg][Ii][Nn]/$ /wp-login.php permanent; | |
} |
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
<key>installs</key> | |
<array> | |
<dict> | |
<key>CFBundleIdentifier</key> | |
<string>com.adobe.Acrobat.Pro</string> | |
<key>CFBundleName</key> | |
<string>Acrobat</string> | |
<key>CFBundleShortVersionString</key> | |
<string>8.0.0</string> | |
<key>path</key> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>autoremove</key> | |
<false/> | |
<key>catalogs</key> | |
<array> | |
<string>production</string> | |
</array> |
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
diskpart | |
list vol | |
sel vol 2 | |
attributes volume clear hidden readonly nodefaultdriveletter shadowcopy | |
sel vol 3 | |
attributes volume clear hidden readonly nodefaultdriveletter shadowcopy | |
exit | |
recovery\startrep.exe |
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 | |
# Download and install EPEL repository. | |
/usr/bin/wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
/usr/bin/yum -y install epel-release-6*.rpm | |
# Fully update the system and install Ansible | |
/usr/bin/yum -y update | |
/usr/bin/yum -y install ansible |
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
<?php | |
if ( ( $_GET["var1"] != '' ) || ( $_GET["var2"] != '' ) || ( $_GET["var3"] != '' ) ) { | |
if ( $_GET["var1"] != '' ) { | |
$meta_query[] = array( 'key' => 'meta_value1', 'value' => $_GET["var1"], 'compare' => '=' ); | |
} | |
if ( $_GET["var2"] != '' ) { | |
$meta_query[] = array( 'key' => 'meta_value2', 'value' => $_GET["var2"], 'compare' => '=' ); |
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
Get-PublicFolder -Recurse | Where-Object { $PSItem.ParentPath -eq "\" } | Get-PublicFolderClientPermission | Where-Object { $PSItem.AccessRights -contains "Owner" } | Export-CSV .\PF_Owners.csv -NoTypeInformation |
OlderNewer