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
/* | |
eyeGrid v1.0 - Simple Easy 12 column CSS grid | |
based on percentages. | |
Author: Magnus Bonnevier | |
www.magnusbonnevier.se | |
This grids purpose is to be simple and easy to | |
customize for your own use. A boilerplate. | |
A base to build on. It´s not ment to be the encompasing solution. |
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
/* | |
eyeGrid topbar v1.0 component | |
Usefull to add a simple topbar. | |
load after the 'eyeGrid_1.0.css' file. | |
*/ | |
.eyeGrid-topbar-container { | |
position: relative; | |
display: block; |
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 | |
/* | |
Example copied from: | |
http://php.net/manual/en/pdo.prepared-statements.php | |
I altered it slightly to my taste of coding. | |
*/ | |
// insert one row of data contained in these vars | |
$name = 'one'; |
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
<script type="text/javascript"> | |
/* | |
NOTE: | |
This is only an example of how to call the plugin. | |
Not a ready-to-go example. | |
Create a test config object to pass to our plugin. | |
we set the startOpen setting to null so no div is | |
open at start. |
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 | |
/* some random strings and stuff for testing */ | |
$randTitle = 'test_' . mt_rand(0, 1000000); | |
$randHash = 'test_' . md5(mt_rand(0, 100000) + time()); | |
/* | |
Example: Creating a new sub page to a parent page via API | |
Author: Magnus Bonnevier | |
This example do not check if the page name allready exist it |
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 | |
/* some random strings and stuff for testing */ | |
$randTitle = 'test_' . mt_rand(0, 1000000); | |
$randHash = 'test_' . md5(mt_rand(0, 100000) + time()); | |
/* | |
Shorter less verbose example of how to add a page | |
or sub page via ProcessWire API to a parent | |
*/ |
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 | |
namespace EyeDentify\Tools; | |
class EyeKeyValueStore { | |
/* | |
EyeKeyValueStore class v1.1 | |
author: Magnus Bonnevier. | |
e-mail: magnus.bonnevier@gmail.com | |
website: www.magnusbonnevier.se |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
No entries |