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 Keevitaja\TestModule; | |
use Closure; | |
use Illuminate\Http\Request; | |
use Illuminate\Translation\Translator; | |
class LoadTranslations | |
{ | |
protected $trans; |
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 Acty\ClassifiedsModule; | |
use Acty\ClassifiedsModule\Advert\Form\AdvertFormBuilder; | |
use Acty\ClassifiedsModule\Advert\Form\PublicAdvertFormBuilder; | |
use Acty\ClassifiedsModule\Entry\Form\EntryFormBuilder; | |
use Acty\ClassifiedsModule\Type\Contract\TypeRepositoryInterface; | |
use Anomaly\Streams\Platform\Addon\Plugin\Plugin; | |
use Twig_SimpleFunction; |
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
'use strict'; | |
const Queue = require('./../libs/queue'); | |
const def = (str)=> { | |
return /^[wesndu]$/.test(str); | |
}; | |
const raw = (start, goal, rooms, level, portals)=> { | |
let que = new Queue(); |
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
'use strict'; | |
class Transformable { | |
constructor(element) { | |
this.element = element; | |
this.dragging = false; | |
this.resizing = false; | |
} | |
offsetX(event) { |
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
"use strict"; | |
const trigger = require('./trigger'); | |
const system = require('./system'); | |
let results = []; | |
trigger.set({ | |
event: 'plugin.start', | |
pattern: 'Listing all areas in range 1 to 210', |
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
"use strict"; | |
/* | |
data.txt: | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 |
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
"use strict"; | |
const net = require('net'); | |
// const REMOTE_ADDR = 198.178.123.109; | |
// const REMOTE_PORT = 6555; | |
const REMOTE_ADDR = 'aardmud.org'; | |
const REMOTE_PORT = 4000; |
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
<?xml version="1.0" encoding="iso-8859-1"?> | |
<!DOCTYPE muclient> | |
<muclient> | |
<plugin | |
name="jedhi_pup_tracker" | |
author="Jedhi" | |
id="c364d2e34c3fca301b9b5d03" | |
language="Lua" |
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
if ($filter == 'min') { | |
if ($hint == 'js') { | |
$filter = new JsMinFilter(); | |
} elseif ($hint == 'css') { | |
$filter = new CssMinFilter(); | |
} | |
} elseif ($filter == 'less') { | |
if ($this->config->get('streams::assets.filters.less') == 'php') { | |
$filter = new LessFilter($this->parser); | |
} else { |
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
#!/bin/bash | |
# you need pdftk pdfseparate inkscape | |
tmp_folder="tmp_folder" | |
files="" | |
output="" | |
mkdir $tmp_folder | |
echo "Splitting files ..." |