Skip to content

Instantly share code, notes, and snippets.

View ceesvanegmond's full-sized avatar

Cees van Egmond ceesvanegmond

View GitHub Profile
---
esphome:
name: esp03
platform: ESP8266
board: esp01_1m
board_flash_mode: dout
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
/*! For license information please see editor.js.LICENSE */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.EditorJS=e():t.EditorJS=e()}(window,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var
SimpleXMLElement Object
(
[orderdetails] => SimpleXMLElement Object
(
[customerdetails] => SimpleXMLElement Object
(
[email] => info@bettystoyfactory.nl
[apikey] => t1c26e07e8c5c7ctce99rw185c1111wt
[output] => advanced
)
//regel 78 -> ShapeShifter/Repository.php
if ($attr instanceof CheckboxAttribute) {
$attr->setAttributeValue( Input::get($attr->name, Input::file($attr->name) ?: ''));
}else {
$attr->setAttributeValue( Input::get($attr->name, Input::file($attr->name) ?: $this->model->{$attr->name} ?: ''));
}
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
@ceesvanegmond
ceesvanegmond / gist:4529041
Created January 14, 2013 10:04
# MAINTENANCE-PAGE REDIRECT
# MAINTENANCE-PAGE REDIRECT
RewriteCond %{REQUEST_URI} !/offline/$ [NC]
RewriteCond %{REMOTE_ADDR} !^83\.86\.239\.0
RewriteCond %{REMOTE_ADDR} !^105\.236\.161\.217
RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif|css) [NC]
RewriteRule .* /offline/ [R=302,L]
@ceesvanegmond
ceesvanegmond / gist:2020828
Created March 12, 2012 09:09
PHP: CodeIgniter Language Change
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Language extends CI_Controller
{
public function __construct()
{
parent::__construct();
is_logged_in();
}