Skip to content

Instantly share code, notes, and snippets.

View Decipher's full-sized avatar
💻
Doing Druxt

Stuart Clark Decipher

💻
Doing Druxt
View GitHub Profile
<template>
<b-container class="d-flex flex-column min-vh-100">
<b-navbar fixed>
<b-navbar-brand>
<Logo class="float-left w-25 h-25 mr-3" />
<strong>Druxt Me'n'U</strong><br />
<small>A Personal Shopping Experience</small>
</b-navbar-brand>
</b-navbar>
diff --git a/fpdf_tpl.php b/fpdf_tpl.php
index 8482ba3..1ff89a8 100644
--- a/fpdf_tpl.php
+++ b/fpdf_tpl.php
@@ -272,7 +272,7 @@ class FPDF_TPL extends FPDF {
/**
* See FPDF/TCPDF-Documentation ;-)
*/
- public function SetFont($family, $style = '', $size = 0) {
+ public function SetFont($family, $style = '', $size = 0, $fontfile = '', $subset = 'default', $out = true) {
diff --git a/fpdf_tpl.php b/fpdf_tpl.php
new file mode 100644
index 0000000..86e38b7
--- /dev/null
+++ b/fpdf_tpl.php
@@ -0,0 +1,460 @@
+<?php
+//
+// FPDF_TPL - Version 1.2.3
+//
@Decipher
Decipher / stub.make
Created February 24, 2013 05:45
Make file for stuar.tc server migration.
core = 6.x
api = 2
; Drupal core
projects[drupal][type] = core
projects[drupal][version] = 6.28
@Decipher
Decipher / stub.make
Created February 23, 2013 11:58
Make file for Deciphered.net server migration.
core = 6.x
api = 2
; Drupal core
projects[drupal][type] = core
projects[drupal][version] = 6.28
@Decipher
Decipher / divide_by_zero-47-1.patch
Created October 8, 2012 00:53
phpsass issue #47
diff --git a/script/literals/SassNumber.php b/script/literals/SassNumber.php
index bf59044..0e84820 100755
--- a/script/literals/SassNumber.php
+++ b/script/literals/SassNumber.php
@@ -207,7 +207,7 @@ class SassNumber extends SassLiteral {
));
}
else {
- return new SassNumber(($this->value / $other->value).$this->unitString(
+ return new SassNumber(($this->value == 0 ? 0 : ($this->value / $other->value)).$this->unitString(
@Decipher
Decipher / homebox-1776062+1781742+1781796.patch
Created September 12, 2012 03:25
Combination patch for Homebox module: 1776062 + 1781742 + 1781796
diff --git a/homebox.install b/homebox.install
index 20f0b91..43eb740 100644
--- a/homebox.install
+++ b/homebox.install
@@ -148,3 +148,162 @@ function homebox_update_6003() {
return $return;
}
+
+/**
@Decipher
Decipher / devel_image_provider-1516854+1539208.patch
Created August 26, 2012 03:31
Combination patch for Devel Image Provider module: 1516854 + 1539208
diff --git modules/flickholdr_image_provider/flickholdr_image_provider.module modules/flickholdr_image_provider/flickholdr_image_provider.module
index 75649a2..b931367 100644
--- modules/flickholdr_image_provider/flickholdr_image_provider.module
+++ modules/flickholdr_image_provider/flickholdr_image_provider.module
@@ -34,9 +34,11 @@ function _flickholdr_image_provider_generate_image($object, $field, $instance, $
$min = explode('x', $min_resolution);
$max = explode('x', $max_resolution);
+ $max[0] = $max[0] < $min[0] ? $min[0] : $max[0];
+ $max[1] = $max[1] < $min[1] ? $min[1] : $max[1];
@Decipher
Decipher / drupal-delete_core_profiles-1.patch
Created June 22, 2012 05:44
Drupal patch: Delete core profiles
diff --git profiles/minimal/minimal.info profiles/minimal/minimal.info
deleted file mode 100644
index 1fd9bdd..0000000
--- profiles/minimal/minimal.info
+++ /dev/null
@@ -1,12 +0,0 @@
-name = Minimal
-description = Start with only a few modules enabled.
-version = VERSION
-core = 7.x
@Decipher
Decipher / custom_formatters-7.x.make
Created June 14, 2012 00:59
Custom Formatters 7.x module makefile
core = 7.x
api = 2
projects[ctools][subdir] = "contrib"
projects[ctools][version] = "1.0"
projects[custom_formatters][type] = "module"
projects[custom_formatters][download][type] = "git"
projects[custom_formatters][download][url] = "git://github.com/Decipher/custom_formatters.git"
projects[custom_formatters][download][revision] = "756bdc1b48ce84939fd3ca136561c8df2270fbcb"