Skip to content

Instantly share code, notes, and snippets.

@nurulimamnotes
nurulimamnotes / Ispconfig3.php
Created February 15, 2015 04:07
Integrate Boxbilling to ISPConfig 3
<?php
/**
* BoxBilling Automation for ISPConfig 3
*
* This source file is additional script for Boxbilling to
* integrate automated create client and website for ISPConfig 3
* It is also available through the world-wide-web at this URL:
* https://bits.co.id/boxbilling-auto-ispconfig-3/
*
* @copyright Copyright (c) 2013-2015 Banten IT Solutions (https://bits.co.id)
@escopecz
escopecz / commands.php
Last active April 18, 2023 22:43 — forked from alanhartless/cron.php
Script to run Mautic (https://mautic.org) commands from a URL.
<?php
if (!isset($_GET['ILoveMauticReallyIDo'])) {
echo 'The secret phrase is wrong.';
die;
}
$link = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$allowedTasks = array(
'cache:clear',
@andrewroberts
andrewroberts / CreatePDFRenameAndEmail.gs
Last active October 10, 2019 15:19
A Google Apps Script that uses the values from a Google Sheet to construct a PDF from a GDoc template. It allows you to specify a name for the file and email it to someone. This is a demo sheet: https://docs.google.com/spreadsheets/d/1jLpPtmUS8__PceJx9z5iSSaLSfENojWK7hfsH6uHa9Y/edit#gid=0. It is a development of the CreatePDF script (https://gis…
/*
PDF Create - with rename and email
==================================
When you click "Create PDF>Create PDF" this script uses the data from
the active row to construct a PDF in your GDrive. The value in the
"File Name" column is used to name the file and - if there is a
value - it is emailed to the recipient in the "Email" column.
<h1>Two way binding:</h1>
<div>{{message}}</div>
<label for="new-message">Type: message</label>
<input type="text" [(ngModel)]="message" id="new-message" />
<h1>Lists:</h1>
<ul>
<li *ngFor="#item of nameList">
{{item.name}}
</li>
@ChgoChad
ChgoChad / commands.php
Last active January 5, 2024 22:18 — forked from escopecz/commands.php
Script to run Mautic (https://mautic.org) commands from a URL.
<?php
if (!isset($_GET['ILoveMautic'])) {
echo 'The secret phrase is wrong.';
die;
}
$link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$allowedTasks = array(
'cache:clear',
@RitwikGA
RitwikGA / FacebookCostDataUpload-GoogleAnalytics
Last active November 17, 2020 02:31
FacebookCostDataUpload - Google Analytics
/* Facebook Cost Data Upload in Google Analytics
* Description: Uploads Facebook (API v2.11) Cost Data in Google Analytics.
* @Ritwikga www.Digishuffle.com
*
* Updated: 23-04-2018
* - Added SideBar
* - Bugs Fix
*
* Updated: 26-01-2018
* - Currency Multiplier
@ammarshah
ammarshah / all_email_provider_domains.txt
Last active June 27, 2024 14:16
A list of all email provider domains (free, paid, blacklist etc). Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
0-mail.com
007addict.com
020.co.uk
027168.com
0815.ru
0815.su
0clickemail.com
0sg.net
0wnd.net
0wnd.org
@devhammed
devhammed / nigeria-state-and-lgas.json
Last active June 21, 2024 19:15
Nigeria States and LGAs in one JSON file
[
{
"state": "Adamawa",
"alias": "adamawa",
"lgas": [
"Demsa",
"Fufure",
"Ganye",
"Gayuk",
"Gombi",
@heathdutton
heathdutton / mautic-custom-fields-alphabetize.sql
Created August 31, 2018 14:02
Put all Mautic Custom fields into alphabetical order by label.
UPDATE lead_fields AS f
CROSS JOIN (
SELECT @cnt := 0
) AS dummy
JOIN (
SELECT (@cnt := @cnt + 1) AS cnt, id
FROM lead_fields
CROSS JOIN (SELECT @cnt := 0) AS dummy
ORDER BY label ASC
) AS c