summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Kaminski <kyle@kkaminsk.com>2014-05-21 22:27:43 -0500
committerKyle Kaminski <kyle@kkaminsk.com>2014-05-21 22:27:43 -0500
commite4d376db088d296dfb34b58e8b557c38107b17c8 (patch)
tree236b99505e9ae69e287f07e0331fad3bb5fe33af
downloaddrupal-quest-e4d376db088d296dfb34b58e8b557c38107b17c8.tar.gz
drupal-quest-e4d376db088d296dfb34b58e8b557c38107b17c8.tar.bz2
drupal-quest-e4d376db088d296dfb34b58e8b557c38107b17c8.zip
initial commit
-rw-r--r--delete_webform-submissions.php80
-rw-r--r--git-branching-model.pngbin0 -> 145643 bytes
-rw-r--r--git-branching-model.txt4
-rw-r--r--list-users.php12
-rw-r--r--views-templating-breakdown.pngbin0 -> 47381 bytes
5 files changed, 96 insertions, 0 deletions
diff --git a/delete_webform-submissions.php b/delete_webform-submissions.php
new file mode 100644
index 0000000..010a6d7
--- /dev/null
+++ b/delete_webform-submissions.php
@@ -0,0 +1,80 @@
+<?php
+
+define('DRUPAL_ROOT', getcwd());
+
+include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
+drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
+
+$ip_addr = array(
+ '112.111.181.181',
+ '112.111.181.98',
+ '112.111.182.76',
+ '175.42.83.192',
+ '175.42.83.237',
+ '175.42.88.183',
+ '175.42.88.7',
+ '175.44.46.155',
+ '175.44.46.55',
+ '175.44.47.19',
+ '175.44.60.200',
+ '216.178.108.232',
+ '222.77.203.202',
+ '24.43.161.10',
+ '36.248.179.118',
+ '36.248.191.42',
+ '58.22.73.69',
+ '58.22.74.199',
+ '91.236.74.246',
+ '112.111.182.79',
+ '168.161.192.17',
+ '175.44.61.56',
+ '198.188.61.154',
+ '27.159.223.6',
+ '31.133.13.244',
+ '36.248.188.85',
+ '36.248.189.70',
+ '58.22.66.31',
+ '58.22.67.102',
+ '58.22.75.85',
+ '112.111.181.183',
+ '112.111.183.72',
+ '175.44.60.215',
+ '175.44.60.243',
+ '209.249.231.249',
+ '36.250.168.154',
+ '175.42.88.141',
+ '27.159.225.93',
+ '27.159.227.212',
+ '58.22.143.197',
+ '58.22.143.9',
+ '175.42.88.247',
+ '58.22.142.127',
+ '58.22.159.67',
+ '175.44.60.174',
+ '208.105.72.134',
+ '36.250.164.235',
+ '112.111.182.220',
+ '175.42.88.74',
+ '58.22.73.20',
+ '36.248.177.121',
+ '36.250.169.18',
+ '58.22.142.113',
+ '27.159.225.126',
+ '63.141.228.2',
+ '58.22.141.222',
+ '110.85.126.88',
+ '27.159.221.80',
+ '36.248.177.69',
+ '120.40.156.139',
+ '27.159.220.44',
+ '117.26.252.215',
+ '31.41.216.109',
+ '27.159.225.188',
+ '110.89.53.251',
+ '59.58.113.134',
+ '110.89.52.243',
+ '27.153.228.27');
+
+db_delete('webform_submissions')
+ ->condition('remote_addr', $ip_addr, 'IN')
+ ->execute();
diff --git a/git-branching-model.png b/git-branching-model.png
new file mode 100644
index 0000000..3762e6c
--- /dev/null
+++ b/git-branching-model.png
Binary files differ
diff --git a/git-branching-model.txt b/git-branching-model.txt
new file mode 100644
index 0000000..2dfe7b5
--- /dev/null
+++ b/git-branching-model.txt
@@ -0,0 +1,4 @@
+- when merging use --no-ff (no fast forward)
+- you can think of xstage as master, whatever you merge to master you will merge
+ to xstage, so double the work, but this way we have xstage exclusively for
+ testing
diff --git a/list-users.php b/list-users.php
new file mode 100644
index 0000000..66cf738
--- /dev/null
+++ b/list-users.php
@@ -0,0 +1,12 @@
+<?php
+
+define('DRUPAL_ROOT', getcwd());
+
+include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
+drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
+
+$result = db_query('SELECT * from {users}');
+foreach ($result as $record) {
+ /* ToDo: call drupal_render? or theme and create a table */
+ print $record->name . PHP_EOL;
+}
diff --git a/views-templating-breakdown.png b/views-templating-breakdown.png
new file mode 100644
index 0000000..698b8cc
--- /dev/null
+++ b/views-templating-breakdown.png
Binary files differ