PBP comes with a few modules by default. These are not mandatory in any way, you can simply remove those you don't need.
The core module doesn't do much.. yet.
You can declare groups as global variables with the following syntax:
package react | |
import scala.annotation.implicitNotFound | |
import scala.util.NotGiven | |
object Domain { | |
sealed trait Observable[T] { | |
def observe(op: => T): Unit | |
} | |
} |
/* | |
Much better approach than trying to connect to a range of ports. | |
*/ | |
var net = require('net'); | |
getFreePort(function(err, port) { | |
if (err) throw err; | |
console.log('Port: ' + port); |
<?php | |
function utf8_encode_deep(&$input) { | |
if (is_string($input)) { | |
$input = utf8_encode($input); | |
} else if (is_array($input)) { | |
foreach ($input as &$value) { | |
utf8_encode_deep($value); | |
} | |
unset($value); |
#include <a_samp> | |
// Enclose statement | |
#define ENC: \ | |
(_:E1:E2:E3:E4:E5:E6:E7:E8:E9:E10:E11:E12:E13:E14:E15:E16:E17:E18:0, | |
#define ENC_END: \ | |
) | |
#define E1:E2:E3:E4:E5:E6:E7:E8:E9:E10:E11:E12:E13:E14:E15:E16:E17:E18:0,%1\32;%2 ENC_2:%1 ENC_END: |
;; Put inside dotspacemacs/user-config | |
(defun set-tab-width (n) | |
(dolist (var '(evil-shift-width | |
default-tab-width | |
tab-width | |
c-basic-offset | |
cmake-tab-width | |
coffee-tab-width | |
cperl-indent-level |
#include <a_samp> | |
#tryinclude "amx_assembly\amx_header" | |
#if !defined _inc_amx_header | |
#error amx_assembly is required. Get it here: github.com/zeex/amx_assembly | |
#endif | |
#include "amx_assembly\dynamic_call" | |
#include "amx_assembly\phys_memory" |
<?php | |
function mysqli_fetch_all_typed($result, $resulttype = MYSQLI_NUM) | |
{ | |
if (!$result) | |
return null; | |
$fields = $result->fetch_fields(); | |
if (method_exists($result, 'fetch_all')) { | |
$rows = $result->fetch_all($resulttype); |
<?php | |
// Requires PAWN-Scanner | |
// Get it here: https://github.com/oscar-broman/PAWN-Scanner | |
// Include path to scan | |
define('INCLUDE_PATH', './', 'a_npc.inc'); | |
// Where to save the files | |
define('PAWN_XML', './PAWN.xml'); | |
define('USER_DEF_LANG', './userDefineLang.xml'); |
/*----------------------------------------------------------------------------*\ | |
============================== | |
y_hooks - Hook any callback! | |
============================== | |
Description: | |
Automatically hooks any callbacks with a very simple syntax. | |
Legal: | |
Version: MPL 1.1 | |
The contents of this file are subject to the Mozilla Public License Version |