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
$countrys = array( | |
"ae", | |
"ag", | |
"ai", | |
"al", | |
"am", | |
"ao", | |
"ar", | |
"at", | |
"au", |
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
var countries = { | |
ae: 'United Arab Emirates', | |
ag: 'Antigua and Barbuda', | |
ai: 'Anguilla', | |
al: 'Albania', | |
am: 'Armenia', | |
ao: 'Angola', | |
ar: 'Argentina', | |
at: 'Austria', | |
au: 'Australia', |
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 | |
//Add metabox with dynamically added key-value (with more values possible) custom fields | |
//Based on http://wordpress.stackexchange.com/questions/19838/create-more-meta-boxes-as-needed/19852#19852 | |
// Caution, there're 2 set of options below | |
//Variables used in the following functions should be mentioned in the 'global' statement of each of them appropriately | |
//=======Options 1======= | |
$dmb_post_type = 'post'; | |
$dmb_metabox_label = 'Other information'; | |
$dmb_cf_name = 'tribe_events_miscinfo'; |
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
# Answers question Generated here: https://community.sharefilesupport.com/citrixsharefile/topics/sync-sfitem-command-not-working | |
Add-PSSnapin ShareFile | |
$sfClient = Get-SfClient -Name "$env:Temp\sfclient.sfps" | |
New-PSDrive -Name sfDrive -PSProvider ShareFile -Client $sfClient -Root "\" | |
# Name Used (GB) Free (GB) Provider Root | |
# ---- --------- --------- -------- ---- | |
# sfDrive ShareFile \ | |
Sync-SfItem -LocalPath "C:\PowerShell\ShareFile\TEST\*.txt" -Upload -ShareFilePath "sfDrive:\Folder Example" -OverWrite | |
# Sync operation successfully completed. |