View php.ini
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
View ingress-rc.yaml
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: nginx-ingress-controller | |
labels: | |
k8s-app: nginx-ingress-lb | |
spec: | |
replicas: 1 | |
selector: | |
k8s-app: nginx-ingress-lb |
View OuterLambda.js
var out = Date.now(); | |
exports.handler = (event, context, callback) => { | |
// TODO implement | |
var intime = Date.now(); | |
console.log(out); | |
console.log(intime); | |
callback(null, 'Hello from Lambda'); | |
}; |
View no-optimize.js
var syncDep; | |
/** | |
assume this is a expensive(ish) HTTP call. | |
*/ | |
function getLottery() { | |
return new Promise((resolve, reject) =>{ | |
setTimeout(function() { | |
syncDep = [1,22,34,56,5]; | |
resolve(syncDep); |
View optimize.js
var syncDep; | |
function getLottery() { | |
return new Promise((resolve, reject) =>{ | |
if (syncDep === undefined) { //check of we already have this data...if not THEN go get | |
setTimeout(function() { | |
syncDep = [1,22,34,56,5]; | |
resolve(syncDep); | |
}, 2000); | |
} else { |
View basefily.js
var longvariable = "myname" | |
var longArray = [1,2,3,4,5,6] | |
//some comment about functionality perhaps? | |
for(var index = 0; index < 6; index++){ | |
console.log(longArray[index]); | |
} |
View minified.js
var index,longvariable="myname",longArray=[1,2,3,4,5,6] for(index=0;6>index;index++)console.log(longArray[index]) |
View ugly.js
for(var o="myname",a=[1,2,3,4,5,6],e=0;e<6;e++)console.log(a[e]); |
View orders.js
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["orders-orders-module"],{ | |
/***/ "./src/app/orders/order-list/order-list.component.css": | |
/*!************************************************************!*\ | |
!*** ./src/app/orders/order-list/order-list.component.css ***! | |
\************************************************************/ | |
/*! no static exports found */ | |
/***/ (function(module, exports) { | |
module.exports = "" |
View service.yaml
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: helloweb | |
labels: | |
app: hello | |
spec: | |
selector: | |
app: hello | |
tier: web |
OlderNewer