dhcp-script=/etc/detect_new_device.sh
Reference:
# Please make this file available to others | |
# by sending it to <[email protected]> | |
# | |
# this config file was automatically generated | |
# using lirc-0.9.0-pre1(default) on Wed Nov 8 22:02:12 2017 | |
# | |
# contributed by Ron Battles ([email protected]) | |
# | |
# brand: General Electric | |
# model no. of remote control: YK4EB1 |
dhcp-script=/etc/detect_new_device.sh
Reference:
With the default mysqldump format, each record dumped will generate an individual INSERT command in the dump file (i.e., the sql file), each on its own line. This is perfect for source control (e.g., svn, git, etc.) as it makes the diff and delta resolution much finer, and ultimately results in a more efficient source control process. However, for significantly sized tables, executing all those INSERT queries can potentially make restoration from the sql file prohibitively slow. | |
Using the --extended-insert option fixes the multiple INSERT problem by wrapping all the records into a single INSERT command on a single line in the dumped sql file. However, the source control process becomes very inefficient. The entire table contents is represented on a single line in the sql file, and if a single character changes anywhere in that table, source control will flag the entire line (i.e., the entire table) as the delta between versions. And, for large tables, this negates many of the benefits of using a formal sourc |
#define _CRT_SECURE_NO_WARNINGS | |
#define _SCL_SECURE_NO_WARNINGS | |
#include <cstdio> | |
#include <cstdlib> | |
#include <iostream> | |
#include <algorithm> | |
#include <cstdint> | |
using namespace std; |
public bool VerifyLicense(string licenseKey, string email) | |
{ | |
if (string.IsNullOrEmpty(licenseKey) || string.IsNullOrEmpty(email)) | |
{ | |
return false; | |
} | |
try | |
{ | |
this.License = this.Decrypt(licenseKey); | |
this.LicenseProcessed = true; |
import csv | |
import sys | |
from collections import namedtuple | |
rows = csv.reader(sys.stdin) | |
fields = [field.strip().lower().replace(' ', '_').replace('/', '_') | |
for field in rows.next() if field.strip() != ''] | |
PaypalRecord = namedtuple('PaypalRecord', fields) |