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
# Export dump as .sql | |
mysqldump -u [username] -p [database_name] > [dump_name].sql | |
# Enter database password | |
# Import dump to new databse | |
mysql -u [username] -p -h [databse_host] [database_name] < [dump_name].sql | |
# Enter database password |
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 | |
# ========================================= | |
# === Part 1: Variablen === | |
# ========================================= | |
echo " - Variablen werden gesetzt" | |
# Argument Variables | |
arg=$1 |
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
on adding folder items to this_folder after receiving these_items | |
repeat with i from 1 to number of items in these_items | |
set this_item to item i of these_items | |
set the item_info to info for this_item | |
set the item_size to size of (info for this_item) | |
set delay_time to ((item_size / 1024 / 30) as integer) | |
set file_type to name extension of (info for this_item) | |
if file_type is equal to "pdf" then |
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
#################################################################################### | |
# Copyright © 2018 Lisk Foundation | |
# | |
# See the LICENSE file at the top-level directory of this distribution | |
# for licensing information. | |
# | |
# Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, | |
# no part of this software, including this file, may be copied, modified, | |
# propagated, or distributed except according to the terms contained in the | |
# LICENSE file. |