INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
ideally one sentence >
| Total props to Brian Cray: http://briancray.com/posts/estimated-reading-time-web-design/ |
| <html> | |
| <head> | |
| <title>Sample Widget Page</title> | |
| </head> | |
| <body> | |
| <h1>Sample Widget Page</h1> | |
| <script type="text/javascript" src="http://localhost:81/widget-bootstrap.js"></script> | |
| <div id="widget-container"></div> |
| <?php | |
| /** | |
| * This exemple shows how to parse base64 encoded images (submitted using Summernote), save them locally | |
| * and replace the 'src' attribute in the submited HTML content | |
| * | |
| **/ | |
| use Intervention\Image\ImageManagerStatic as Image; | |
| class PostController { | |
| public function edit(){ |
| # Copy and self modified from ys.zsh-theme, the one of default themes in master repository | |
| # Clean, simple, compatible and meaningful. | |
| # Tested on Linux, Unix and Windows under ANSI colors. | |
| # It is recommended to use with a dark background and the font Inconsolata. | |
| # Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
| # http://xiaofan.at | |
| # 2 Jul 2015 - Xiaofan | |
| # Machine name. | |
| function box_name { |
| <?php namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Str; | |
| class MakeAll extends Command | |
| { | |
| /** | |
| * The name and signature of the console command. | |
| * |
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json file in /etc/docker:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
| <?php | |
| use BotMan\Drivers\Slack\SlackDriver; | |
| Route::get('/', function () { | |
| $task_id = uniqid(); | |
| // Send the message to the channel | |
| $result = app('botman')->say('example', '#botman-tests', SlackDriver::class, [ | |
| 'attachments' => json_encode([ |
Following will teach you how to play the "easter-egg" (which actually isn't, but many people describe this as an easter egg) of ASCII-Art Star Wars (or Star Wars in terminal/telnet, whatever), the one you normally starts like this:
$ telnet towel.blinkenlights.nlOk, I admit it: I generally excel at killing plants largely due to neglect. Sure, I could claim work, cooking, hobbies, etc. If I’m honest, I generally forget to water them. So, I wanted to implement an automated watering system linked to home automation. I wanted to do it on the cheap. This was also a test, so if needed a throw-away experiment. Turns out it works for few (3) herb-plants that I needed to keep alive.