This file contains hidden or 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
➜ dev docker run --rm -it -p 8080:8080 monolith4 | |
Using CATALINA_BASE: /usr/local/tomcat | |
Using CATALINA_HOME: /usr/local/tomcat | |
Using CATALINA_TMPDIR: /usr/local/tomcat/temp | |
Using JRE_HOME: /usr/lib/jvm/java-8-openjdk-amd64/jre | |
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar | |
20-Jan-2017 15:18:31.126 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.11 | |
20-Jan-2017 15:18:31.131 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jan 10 2017 21:02:52 UTC | |
20-Jan-2017 15:18:31.133 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.11.0 | |
20-Jan-2017 15:18:31.134 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux |
This file contains hidden or 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
worker_processes 1; | |
events { | |
worker_connections 1024; ## Default: 1024 | |
} | |
http { | |
gzip on; | |
gzip_disable "msie6"; |
This file contains hidden or 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
➜ ~ kubectl logs shopstage-production-2487752139-1x1an | |
get api prods 0.238secs | |
http://a09c62eec848911e6b21312be7e43409-1504263141.us-east-1.elb.amazonaws.com/api/v1/entrees/categories?secret=df7df7jh4j3jkdfjd7 | |
aggregateApiProducts 0.011secs | |
get api prods 0.167secs | |
http://a09c62eec848911e6b21312be7e43409-1504263141.us-east-1.elb.amazonaws.com/api/v1/entrees/categories?secret=df7df7jh4j3jkdfjd7 | |
aggregateApiProducts 0.011secs | |
get api prods 0.169secs | |
http://a09c62eec848911e6b21312be7e43409-1504263141.us-east-1.elb.amazonaws.com/api/v1/entrees/categories?secret=df7df7jh4j3jkdfjd7 | |
aggregateApiProducts 0.012secs |
This file contains hidden or 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="utf-8"?> | |
<Application xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="fabric:/ContosoEventsApp" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |
<Parameters> | |
<Parameter Name="TicketOrderService_PartitionCount" Value="1" /> | |
<Parameter Name="TicketOrderService_MinReplicaSetSize" Value="3" /> | |
<Parameter Name="TicketOrderService_TargetReplicaSetSize" Value="3" /> | |
<Parameter Name="WebApi_InstanceCount" Value="1" /> | |
<Parameter Name="TicketOrderActorService_PartitionCount" Value="1" /> | |
<Parameter Name="EventActorService_PartitionCount" Value="1" /> | |
<Parameter Name="DataStorageEndpointUri" Value="https://db32.documents.azure.com:443/" /> |
This file contains hidden or 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
scala> hc.sql("select * from price_equities_technicals where marketdate = 1443052800000 and sid = 21438 limit 1").show() | |
15/09/25 21:35:09 INFO parse.ParseDriver: Parsing command: select * from price_equities_technicals where marketdate = 1443052800000 and sid = 21438 limit 1 | |
15/09/25 21:35:09 INFO parse.ParseDriver: Parse Completed | |
15/09/25 21:35:09 INFO columnar.InMemoryColumnarTableScan: Predicate (marketdate#0L = 1443052800000) generates partition filter: ((marketdate.lowerBound#3073L <= 1443052800000) && (1443052800000 <= marketdate.upperBound#3072L)) | |
15/09/25 21:35:09 INFO columnar.InMemoryColumnarTableScan: Predicate (sid#1 = 21438) generates partition filter: ((sid.lowerBound#3078 <= 21438) && (21438 <= sid.upperBound#3077)) | |
15/09/25 21:35:09 INFO spark.SparkContext: Starting job: runJob at SparkPlan.scala:122 | |
15/09/25 21:35:09 INFO scheduler.DAGScheduler: Got job 10 (runJob at SparkPlan.scala:122) with 1 output partitions (allowLocal=false) | |
15/09/25 21:35:09 INFO scheduler.DAGScheduler: Final stage: |
This file contains hidden or 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
scala> hc.sql("select * from price_equities_technicals where marketdate = 1443052800000 and sid = 21438 limit 1").show() | |
15/09/25 20:21:59 INFO parse.ParseDriver: Parsing command: select * from price_equities_technicals where marketdate = 1443052800000 and sid = 21438 limit 1 | |
15/09/25 20:21:59 INFO parse.ParseDriver: Parse Completed | |
15/09/25 20:21:59 INFO metastore.HiveMetaStore: 0: get_table : db=default tbl=price_equities_technicals | |
15/09/25 20:21:59 INFO HiveMetaStore.audit: ugi=hadoop ip=unknown-ip-addr cmd=get_table : db=default tbl=price_equities_technicals | |
15/09/25 20:21:59 INFO storage.BlockManager: Removing broadcast 10 | |
15/09/25 20:21:59 INFO storage.BlockManager: Removing block broadcast_10 | |
15/09/25 20:21:59 INFO storage.MemoryStore: Block broadcast_10 of size 65056 dropped from memory (free 2221338296) | |
15/09/25 20:21:59 INFO storage.BlockManager: Removing block broadcast_10_piece0 | |
15/09/25 20:21:59 INFO storage.MemoryStore: Block broadcast_10_piece0 of size 18019 dropped from memory (free 222135631 |
This file contains hidden or 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 chars = 'abcdefghijklmopquwxyz'; | |
//var c = ['block_sss', 'elem__asdf', 'footer__container', 'title', 'title__child','title__child','title__child','title__child']; | |
var parts = []; | |
function minify(classNames) { | |
var names = []; | |
for (var i = 0; i < classNames.length; i++) { | |
var className = classNames[i]; |
This file contains hidden or 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 chars = 'abcdefghijklmopquwxyz'; | |
//var c = ['block_sss', 'elem__asdf', 'footer__container', 'title', 'title__child','title__child','title__child','title__child']; | |
var prefix1 = ''; | |
var prefix2 = ''; | |
var prefix1Index = 0; | |
var prefix2Index = 0; | |
var currentIndex = 0; | |
var parts = []; |
This file contains hidden or 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
coffeeify = require 'coffeeify' | |
express = require 'express' | |
session = require 'express-session' | |
serveStatic = require 'serve-static' | |
compression = require 'compression' | |
bodyParser = require 'body-parser' | |
cookieParser = require 'cookie-parser' | |
RedisStore = require('connect-redis')(session) | |
derby = require 'derby' | |
racerHighWay = require 'racer-highway' |
This file contains hidden or 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
module.exports = | |
companies: | |
access: { view: 'employee', add: 'no', edit: 'admin', del: 'no', copy: 'no', inline: 'no' } | |
columns: | |
name: {name: 'Name'} | |
currencyId: {name: 'Base Currency', type: 'select', collection: 'currencies'} | |
materialCurrencyId: {name: 'Vendor Currency', type: 'select', collection: 'currencies'} | |
shippingAddress: {name: 'Shipping Address', type: 'textarea'} |
NewerOlder