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 | |
set -e; | |
function es_uninstall { | |
yum remove java-1.8.0-amazon-corretto -y | |
rpm -e `rpm -qa elasticsearch` | |
} | |
function es_install { | |
# Set Environment Variables |
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 | |
set -e | |
COLOUR_GREEN="\033[0;32m" | |
COLOUR_RED="\033[0;31m" | |
COLOUR_OFF='\033[0m' | |
function echo_success { | |
echo -e "${COLOUR_GREEN}$1${COLOUR_OFF}" | |
} |
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
import piexif | |
import os | |
from shutil import copyfile | |
from datetime import datetime | |
def get_diff(path_name, alleged_date): | |
alleged_date = datetime.strptime(alleged_date, '%Y:%m:%d %H:%M:%S') | |
exif_dict = piexif.load(path_name) | |
exif_date = exif_dict['0th'][piexif.ImageIFD.DateTime].decode('ascii') |
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
$ResellerID = <ResellerID> | |
$APIKey = "<APIKey>" | |
$APIAuth = @{ | |
resellerID = $ResellerID | |
apiKey = $APIKey | |
} | |
$APISession = New-WebServiceProxy -Uri "https://api.synergywholesale.com/?wsdl" |
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
if (isServer) then { | |
private ['_unit','_speed','_animationState','_animation','_limit','_texture']; | |
_unit = 'className'; //edit class name here | |
_animation = 'animationName'; //edit animation name here | |
_speedLimit = <5; // Speed limiter, CAN use operands and irrational numbers. | |
_texture = [0, "/pbo/texture.paa"]; //[hiddenselection, path] | |
if(typeOf _unit) then | |
{ | |
while {true} do | |
{ |