Your composer.json file:
{
"require": {
"slim/slim": "^2.6",
"illuminate/database": "^5.1",
"symfony/var-dumper": "^2.7",
"yajra/laravel-oci8": "^2.4"
}
| #!/usr/bin/python | |
| from os import devnull | |
| from distutils import spawn | |
| from pip import get_installed_distributions | |
| from cement.core.foundation import CementApp | |
| from subprocess import call, check_output, PIPE, Popen | |
| from cement.core.controller import CementBaseController, expose | |
| class BaseController(CementBaseController): |
| # EditorConfig is awesome: http://EditorConfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # Base | |
| [*] | |
| indent_style = space | |
| indent_size = 2 | |
| end_of_line = lf |
| <?php | |
| namespace Alpha; | |
| use GuzzleHttp\Client; | |
| class Wrapper | |
| { | |
| protected static $client; |
| // npm install "i" "cheerio" "stopword" "console.table" | |
| // Configuration | |
| const limit = 20 | |
| const lowest = 3 | |
| const highest = 20 | |
| const query = 'webcrawl' | |
| const url = 'https://google.com/search?q=' + query | |
| // Dependency | |
| const inflect = require('i')() |
| <?php | |
| $pdo = DB::getPdo(); | |
| $tables = $pdo->query("SHOW FULL TABLES;")->fetchAll(); | |
| $sql = 'SET FOREIGN_KEY_CHECKS=0;'; | |
| foreach ($tables as $tableInfo) { | |
| if('BASE TABLE' !== $tableInfo[1]) continue; |
| <?php | |
| namespace App\Http\Controllers\Cart; | |
| use Illuminate\Support\Facades\View; | |
| use App\Http\Requests\Cart\StoreRequest; | |
| use Illuminate\Support\Facades\Redirect; | |
| use App\Http\Requests\Cart\UpdateRequest; | |
| use App\Cart\Persistances\Cart as Persistant; | |
| use App\Cart\Repositories\Cart as Repository; |
| --- pdo_oci.c.orig 2015-11-30 10:45:22.000000000 +0700 | |
| +++ pdo_oci.c 2015-11-30 10:45:33.000000000 +0700 | |
| @@ -31,7 +31,7 @@ | |
| #include "php_pdo_oci_int.h" | |
| /* {{{ pdo_oci_functions[] */ | |
| -function_entry pdo_oci_functions[] = { | |
| +zend_function_entry pdo_oci_functions[] = { | |
| {NULL, NULL, NULL} | |
| }; |
Your composer.json file:
{
"require": {
"slim/slim": "^2.6",
"illuminate/database": "^5.1",
"symfony/var-dumper": "^2.7",
"yajra/laravel-oci8": "^2.4"
}
| --- config.m4 2005-09-25 06:23:24.000000000 +0700 | |
| +++ config.m4.new 2015-10-02 15:42:52.000000000 +0700 | |
| @@ -8,15 +8,15 @@ | |
| PDO_OCI_VERSION=`grep '"ocommon"' $PDO_OCI_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4` | |
| test -z "$PDO_OCI_VERSION" && PDO_OCI_VERSION=7.3 | |
| elif test -f $PDO_OCI_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then | |
| - PDO_OCI_VERSION=10.1 | |
| + PDO_OCI_VERSION=10.1 | |
| elif test -f $PDO_OCI_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then | |
| PDO_OCI_VERSION=9.0 |
| { | |
| "rulers": [80, 120], | |
| "draw_white_space": "all", | |
| "ensure_newline_at_eof_on_save": true, | |
| "show_encoding": true, | |
| "show_line_endings": true, | |
| "translate_tabs_to_spaces": true, | |
| "trim_trailing_white_space_on_save": true, | |
| "word_wrap": false | |
| } |