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
Index: appendices/resources.xml | |
=================================================================== | |
--- appendices/resources.xml (revision 335261) | |
+++ appendices/resources.xml (working copy) | |
@@ -1,15 +1,11 @@ | |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- $Revision$ --> | |
<appendix xml:id="resource" xmlns="http://docbook.org/ns/docbook"> | |
- <title>List of Resource Types</title> | |
+ <title>Lista de tipos de recursos no PHP</title> |
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
Index: appendices/configure/servers.xml | |
=================================================================== | |
--- appendices/configure/servers.xml (revision 335261) | |
+++ appendices/configure/servers.xml (working copy) | |
@@ -1,5 +1,5 @@ | |
<?xml version="1.0" encoding="UTF-8"?> | |
-<!-- EN-Revision: 304722 Maintainer: klaussilveira Status: ready --> | |
+<!-- EN-Revision: 304722 Maintainer: klaussilveira Status: ready --><!-- CREDITS: Felipe Signorini --> | |
<sect3 xml:id="configure.options.servers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<title>Opções SAPI</title> |
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
Index: features/safe-mode.xml | |
=================================================================== | |
--- features/safe-mode.xml (revision 335261) | |
+++ features/safe-mode.xml (working copy) | |
@@ -4,11 +4,7 @@ | |
<title>Safe Mode</title> | |
<para> | |
- The PHP safe mode is an attempt to solve the shared-server security | |
- problem. It is architecturally incorrect to try to solve this |
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 App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Response; | |
class Cors | |
{ | |
/** |
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
# Installing Docker | |
apt-get update | |
apt-get install apt-transport-https ca-certificates | |
## Install apt-key for docker | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-get update | |
apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual |
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
import Bootue from './bootue'; | |
Vue.use(Bootue); |
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
import './_core/Core.vue' | |
import './grid/Grid.vue' | |
import './grid_bulma/Grid.vue' // my new future grid component | |
import alert from './alert/Alert.vue' | |
let components = { | |
alert |
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
<div class="container"> | |
<div class="columns"> | |
<div class="column"> | |
<alert type="success"> | |
<strong>column</strong> | |
<p>You successfully read this important alert message.</p> | |
</alert> | |
</div> | |
<div class="column"> | |
<alert type="warning"> |
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
var cursor = db.getCollection('servers').aggregate([ | |
{ $group: { | |
_id: { name: "$hostname" }, // replace `name` here twice | |
uniqueIds: { $addToSet: "$_id" }, | |
count: { $sum: 1 } | |
} }, | |
{ $match: { | |
count: { $gte: 2 } | |
} }, | |
{ $sort : { count : -1} }, |
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
db.applications.aggregate([ | |
{ "$unwind": "$servers" }, | |
{ "$lookup": { | |
"from": "servers", | |
"localField": "servers", | |
"foreignField": "_id", | |
"as": "servers_details" | |
}}, | |
// Unwind the result arrays ( likely one or none ) | |
{ "$unwind": "$servers_details" }, |
OlderNewer