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/sh | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
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
Please fix your website. | |
On this page | |
* http://welcome.hp.com/country/uk/en/cs/support-drivers.html | |
Click 'DETECT YOUR PRODUCT'. | |
* http://h20270.www2.hp.com/ediags/gmn2/index.aspx?detectProducts=Start+Detection+%BB&lc=en&cc=uk |
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 | |
$string = 'abc123'; | |
$string = str_replace(range(0,9), '', $string); | |
echo $string; | |
/* http://codepad.org/AYECJrbZ */ | |
?> |
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 | |
function ashuffle (&$array) { | |
$shuffle = $array; | |
shuffle($shuffle); | |
return $array = array_combine(array_keys($array), $shuffle); | |
} | |
?> |
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 | |
function ashuffle (&$array) { | |
$shuffle = $array; | |
shuffle($shuffle); | |
return $array = array_combine(array_keys($array), $shuffle); | |
} | |
?> |
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
VirtualBox VM 4.3.14 r95030 win.x86 (Jul 15 2014 18:13:31) release log | |
00:00:00.841817 Log opened 2014-07-29T10:45:04.687000000Z | |
00:00:00.841860 Build Type: release | |
00:00:00.841871 OS Product: Windows 7 | |
00:00:00.841874 OS Release: 6.1.7601 | |
00:00:00.841876 OS Service Pack: 1 | |
00:00:01.008464 DMI Product Name: Dimension E521 | |
00:00:01.015123 DMI Product Version: | |
00:00:01.015136 Host RAM: 3326MB total, 940MB available | |
00:00:01.015139 Executable: C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe |
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 | |
# setup_cpanel - Setup new cPanel Server. | |
# @see https://gist.github.com/jpswade/4e2826d5c88cee4eac72 | |
# @see https://docs.cpanel.net/installation-guide/cpanel-dnsonly-installation/ | |
set -e | |
### Settings | |
CPANEL_SCRIPT_URL=http://httpupdate.cpanel.net/ | |
CPANEL_SCRIPT=latest |
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
vagrantfile: | |
target: local | |
vm: | |
box: puphpet/centos65-x64 | |
box_url: puphpet/centos65-x64 | |
hostname: '' | |
memory: '512' | |
cpus: '1' | |
chosen_provider: virtualbox | |
network: |
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
# ========================================================================== | |
# | |
# ZoneMinder IPCAM Control Protocol Module, $Date: 2009-11-25 09:20:00 +0000 (Wed, 04 Nov 2009) $, $Revision: 0001 $ | |
# Copyright (C) 2001-2008 Philip Coombes | |
# Modified for use with Foscam FI8918W IP Camera by Dave Harris | |
# Modified Feb 2011 by Howard Durdle (http://durdl.es/x) to: | |
# fix horizontal panning, add presets and IR on/off | |
# use Control Device field to pass username and password | |
# Modified June 5th, 2012 by Chris Bagwell to: | |
# Rename to IPCAM since its common protocol with wide range of cameras. |
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
sleep 1 | |
t app key mode | |
sleep 1 | |
t app key record | |
sleep 1 | |
d:\autoexec2.ash |
OlderNewer