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 /usr/local/ispconfig/server/cron_debug.php --cronjob=500-backup.inc.php | |
100-mailbox_stats.inc.php 100-monitor_mail_queue.inc.php 150-webalizer.inc.php | |
100-monitor_clamav_log.inc.php 100-monitor_mem_usage.inc.php 200-ftplogfiles.inc.php | |
100-monitor_cpu.inc.php 100-monitor_mongodb.inc.php~ 200-logfiles.inc.php | |
100-monitor_database_size.inc.php 100-monitor_openvz.inc.php 300-quota_notify.inc.php | |
100-monitor_disk_usage.inc.php 100-monitor_os_version.inc.php 400-openvz.inc.php | |
100-monitor_email_quota.inc.php 100-monitor_raid.inc.php 500-backup.inc.php | |
100-monitor_fail2ban.inc.php 100-monitor_rkhunter.inc.php 500-backup_mail.inc.php |
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 Yibo Jiang | |
# Contact: yibojiang00@gmail.com | |
# Assimp | |
# License 3-clause BSD-License. Copyright (c) 2006-2015 assimp team All rights reserved.. | |
function list { |
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
$debug_tags = array(); | |
add_action( 'all', function ( $tag ) { | |
global $debug_tags; | |
if ( in_array( $tag, $debug_tags ) ) { | |
return; | |
} | |
echo "<pre>" . $tag . "</pre>"; | |
$debug_tags[] = $tag; | |
} ); |
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
add_filter( 'register_post_type_args', 'portfolio_args', 10, 2 ); | |
function portfolio_args( $args, $post_type ) { | |
if ( 'la_portfolio' === $post_type ) { | |
$args['rewrite']['slug'] = 'collectie'; | |
$args['label'] = 'Collecties'; | |
$args['name'] = 'Collecties'; | |
$args['singular_name'] = 'Collectie'; | |
} | |
return $args; |
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 patricks_wc_terms( $terms_is_checked ) { | |
return true; | |
} | |
add_filter( 'woocommerce_terms_is_checked', 'patricks_wc_terms', 10 ); | |
add_filter( 'woocommerce_terms_is_checked_default', 'patricks_wc_terms', 10 ); |
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
[git-ftp] | |
url = sftp://gamerleague.nl:22/www/test | |
user = gamerleague.nl | |
password = test | |
syncroot = dist/ | |
git ftp init --insecure | |
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
/*Horizontal*/ | |
background-image: linear-gradient(to right, black 33%, rgba(255,255,255,0) 0%); | |
background-position: bottom; | |
background-size: 3px 1px; | |
background-repeat: repeat-x; | |
/*Vertical*/ | |
background-image: linear-gradient(black 33%, rgba(255,255,255,0) 0%); | |
background-position: right; | |
background-size: 1px 3px; |
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
Create a file in /etc/pure-ftpd/conf/PassivePortRange, inside, just write the port range separated with a space. | |
echo "29799 29899" > /etc/pure-ftpd/conf/PassivePortRange | |
(for max 50 connected clients) | |
pure-ftpd uses files in conf dir as parameters. Be carefull setting your ports, they must NOT be used by the kernel. | |
You must have 2 ports for every client (max 100 clients, you need 200 ports). | |
If you need more or less than 50 default clients allowed, you must: |
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
$subdir = "/modules/"; | |
foreach (scandir(dirname(__FILE__) . $subdir) as $filename) { | |
$path = dirname(__FILE__) . $subdir . $filename; | |
if (is_file($path)) { | |
require_once $path; | |
} | |
} |
NewerOlder