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 _ = require('underscore'); // http://underscorejs.org | |
| function get_m(x) { | |
| return x.length; | |
| } | |
| function check(x) { | |
| if(!x.length) | |
| return false; | |
| for(var i=0; i<x.length; 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
| PANEL_RIGTHS_FILE="panel_rights.sql" | |
| if [ -n "$UBER_STANDALONE" ]; then | |
| PANEL_RIGTHS_FILE=panel_rights.uber.sql | |
| fi | |
| cp -v google.sql models.sql updates.sql \ | |
| "$PANEL_RIGTHS_FILE" plugins_records.sql \ | |
| quartz_tables_mysql_innodb.sql \ | |
| config.sh init-db.sh VERSION \ | |
| "$DIST/db" |
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
| допустим есть такое дерево: | |
| * 1b9ea28 2015-04-02 anton0xf Merge branch 'f1' (HEAD, merge) | |
| |\ | |
| | * 7ad0246 2015-04-02 anton0xf feature1 commit 2 (f1) | |
| | * 7518c1c 2015-04-02 anton0xf feature1 commit 1 | |
| * | bc03f8d 2015-04-02 anton0xf feature2 commit 1 (f2) | |
| |/ | |
| * b68b2f6 2015-04-02 anton0xf base (origin/master, origin/HEAD, master) | |
| т.е. есть feature1 и feature2 в ветках f1 и f2 соответственно, смердженные в ветке merge. |
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
| anton0xf $ git --version | |
| git version 2.0.4 | |
| anton0xf $ gfg | |
| * 95002c1 2015-04-12 anton0xf update submodule (feature) | |
| * d36a796 2015-04-12 anton0xf some work in feature | |
| | * 77b64be 2015-04-12 anton0xf some changes in trunk (HEAD, trunk) | |
| |/ | |
| * 133aca2 2015-04-12 anton0xf add submodule1 (master) | |
| * 2e8fe6f 2015-04-12 anton0xf init | |
| anton0xf $ git submodule status |
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
| import java.lang.reflect.Method; | |
| public class TypeCheck { | |
| public static void main(String args[]) throws Exception { | |
| A o = new A(); | |
| Method f = A.class.getMethod("f", int.class); | |
| f.invoke(o, 1.0); | |
| } | |
| } |
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
| WARNING on line 85 of metromorph/components/map/map-tools.scss: ".bubble_window" failed to @extend ".x-tip". | |
| The selector ".x-tip" was not found. | |
| This will be an error in future releases of Sass. | |
| Use "@extend .x-tip !optional" if the extend should be able to fail. | |
| WARNING on line 86 of metromorph/components/map/map-tools.scss: ".bubble_window" failed to @extend ".x-tip-default". | |
| The selector ".x-tip-default" was not found. | |
| This will be an error in future releases of Sass. | |
| Use "@extend .x-tip-default !optional" if the extend should be able to fail. |
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
| 2015-07-02 11:28:57,485 ERROR [qtp1035740155-327 - POST /geocoder/search_location] com.google.code.geocoder.Geocoder [Geocoder.java:61] uid=21171 Remote host closed connection during handshake | |
| javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake | |
| at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946) ~[na:1.7.0_67] | |
| at sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1705) ~[na:1.7.0_67] | |
| at sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:122) ~[na:1.7.0_67] | |
| at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:972) ~[na:1.7.0_67] | |
| at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1087) ~[na:1.7.0_67] | |
| at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1006) ~[na:1.7.0_67] | |
| at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:285) ~[na:1.7.0_67] | |
| at sun.security.ssl.Handshaker.processL |
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
| 2015-11-05 11:05:00,658 WARN [TestScheduler_Worker-1] c.n.a.jobs.CheckVehicleServiceTasksJob [CheckVehicleServiceTasksJob.java:86] uid=3 Service task check failed VehicleServiceTaskToCheck{trackerId=15565, userI | |
| d=3}VehicleServiceTask{comment=, start=ServiceTaskStartPosition{mileage=0, date=2015-11-02T05:16:56.000Z, engineHours=0}, conditions=ServiceTaskConditions{mileage=null, date=DateServiceTaskCondition{end=2015-11- | |
| 07T19:00:00.000Z, notificationInterval=3} , engineHours=null}, notifications=ServiceTaskNotificationSettings{smsPhones=[], emails=[], pushEnabled=false}} VehicleServiceTaskBase{vehicleId=18, status=notified, pre | |
| diction=null, description=Почистить пепельницу, cost= 1000000.0000} Identifiable{id=51} | |
| com.navixy.common.storage.StorageException: Failed calling com.navixy.apiserver.storage.dao.VehicleDao.changeServiceTaskStatus | |
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_67] | |
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstr |
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
| function Node(data, left, right) { | |
| this.data = data; | |
| this.left = left || null; | |
| this.right = right || null; | |
| this.neighbour = null; | |
| } | |
| Node.prototype.toString = function() { | |
| return "(" + this.data | |
| + " [" + (this.left || ".") + " " + (this.right || ".") + "]" |
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
| dao.query count (times/s, m1) duration (ms, mean) count*duration | |
| --- --- --- --- | |
| com.navixy.apiserver.storage.dao.HistoryDao.getUnreadCountTrackers 16.910988115064935 34.52788928728147 583.9007253754947 | |
| com.navixy.apiserver.storage.dao.ChatMessagesDao.getUnreadIncomingCounts 23.00383369376803 19.755927569260955 454.4620722694059 | |
| com.navixy.apiserver.storage.dao.TrackerDao.getTrackerInfo 20.156757997465466 21.37336715330609 430.8177893001683 | |
| com.navixy.apiserver.storage.dao.SensorDao.getDiscreteInputs 16.539122047415464 24.782417269824435 409.8794238556031 | |
| com.navixy.apiserver.storage.dao.HistoryDao.getTrackersHistory 10.926893378445559 33.5619322390539 366.7276551507566 | |
| com.navixy.apiserver.storage.dao.SensorDao.getSensors |