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 custom field option on all modules. | |
* | |
* @param array $modules | |
* | |
* @return array | |
*/ | |
function smpl_extend_modules( $modules ) { | |
// Ensure we run this code only once because it's expensive. |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# مرحب بيكم معانا. هنا الكود الكتبناو مع بعض في الفيديو في قناة البعد الخامس | |
# Import the libraries (ادخال المكتبات المهمه للبرنامج حقنا) | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import mnist | |
from keras.models import Sequential | |
from keras.layers import Dense | |
from keras.utils import to_categorical |
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
# Optimized my.cnf configuration for MySQL/MariaSQL | |
# | |
# by Fotis Evangelou, developer of Engintron (engintron.com) | |
# | |
# === Updated December 2018 === | |
# | |
# The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores. | |
# If you have less or more resources available you should adjust accordingly to save CPU, | |
# RAM and disk I/O usage. | |
# The settings marked with a specific comment or the word "UPD" after the value |
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 os | |
def split(filehandler, delimiter=',', row_limit=10000, | |
output_name_template='output_%s.csv', output_path='.', keep_headers=True): | |
""" | |
Splits a CSV file into multiple pieces. | |
A quick bastardization of the Python CSV library. | |
Arguments: |
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
Mautic Cronjob Codes - Last Updated August 8, 2019 | |
_____________________________________________________ | |
I lost access to my previous account GitHub Account (@sc0rpi0n95), So i forked the code here to make modifications and keep it updated. | |
https://awah.net | |
Disclaimer: This code is not the official documentation from Mautic.org, not is it indorced by Mautic.org. Please use at your own discretion. |