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
#!/usr/bin/node | |
var Client = require('coffea'); // npm install coffea | |
var sourceChannel = '#source', | |
targetChannel = '#target', | |
target = new Client([ | |
{ | |
host: '', // target host | |
port: 6667, // default value: 6667 | |
nick: 'relaybot', // default value: 'coffea' with random number |
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
[{"name":"users","color":"Red","position":{"x":195,"y":133},"modelclass":"Bear","increment":false,"timestamp":false,"softdelete":false,"column":[{"colid":"c217","name":"id","type":"increments","length":"0","order":0,"defaultvalue":"","enumvalue":""},{"colid":"c218","name":"firstname","type":"string","length":"32","order":1,"defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false},{"colid":"c219","name":"lastname","type":"string","length":"32","order":2,"defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false},{"name":"email","type":"string","length":"128","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":true,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c232","order":3},{"name":"password","type":"string","length":"64","defaultvalue |
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 | |
class Batman | |
{ | |
public function __construct($i = 16) | |
{ | |
echo ucfirst(str_repeat('na ', $i)); | |
} | |
public function __destruct() | |
{ |
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 | |
$directory = __DIR__; | |
$output = '<!DOCTYPE html>'; | |
$output .= '<html>'; | |
$output .= '<head>'; | |
$output .= '<meta charset="utf-8">'; | |
$output .= '<title>' . basename($directory) . '</title>'; | |
$output .= '</head>'; | |
$output .= '<body>'; |
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 | |
require_once __DIR__.'/../vendor/autoload.php'; | |
$app = new Silex\Application(); | |
$app['debug'] = true; | |
// the magic part | |
new Helthe\Component\Turbolinks\StackTurbolinks($app, new Helthe\Component\Turbolinks\Turbolinks()); | |
// ... |