I hereby claim:
- I am RemeJuan on github.
- I am remejuan (https://keybase.io/remejuan) on keybase.
- I have a public key whose fingerprint is 9FE2 6A96 E3E3 34A0 E323 8ED6 A932 9EF4 E20C E8E9
To claim this, I am signing this object:
| db.getCollection('events').aggregate([ | |
| {$group:{"_id":"$name","name":{$first:"$name"},"count":{$sum:1}}}, | |
| {$match:{"count":{$gt:1}}}, | |
| {$project:{"name":1,"_id":0}}, | |
| {$group:{"_id":null,"duplicateNames":{$push:"$name"}}}, | |
| {$project:{"_id":0,"duplicateNames":1}} | |
| ]) |
| <template> | |
| <form novalidate @submit.stop.prevent="submit"> | |
| <label>Search term...</label> | |
| <input v-model="term.value"></input> | |
| </form> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'Search', |
| <template> | |
| <div> | |
| <header-bar></header-bar> | |
| <main> | |
| <search-bar :submit="search" :term="searchTerm"></search-bar> | |
| <list-data v-for="item in list" :event="item"></list-item> | |
| </main> | |
| <footer-bar></footer-bar> | |
| </div> | |
| </template> |
| // Binding data | |
| import { bindable } from 'aurelia-framework'; | |
| import { moment } from 'moment'; | |
| export class OtherComponent{ | |
| //Binding data reference | |
| @bindable data; | |
| //Change handler (not required). | |
| dataChanged(data) { |
| <template> | |
| <!--Importing a component into a template--> | |
| <require from="component/component"></require> | |
| <require from="other-component/other-component.html"></require> | |
| <!--Displaying/rendering the imported component.--> | |
| <component></component> | |
| <other-component data-bind="stuff"></other-component> | |
| </template> |
I hereby claim:
To claim this, I am signing this object:
| @media only screen and (max-width: 800px) { | |
| .enhanced-responsive-table { | |
| table, thead, tbody, th, td, tr { | |
| display: block; | |
| } | |
| thead tr { | |
| position: absolute; | |
| top: -9999px; | |
| left: -9999px; |
| box: node | |
| build: | |
| steps: | |
| - npm-install | |
| deploy: | |
| steps: | |
| - script: | |
| name: install nodemon |
| //Check browser version and apply classes to body where applicable | |
| var body = document.getElementsByTagName('body')[0], | |
| browserName, | |
| browserVersion, | |
| userAgent = navigator.appVersion.toLowerCase(); | |
| if (userAgent.indexOf("msie 8.") !== -1) | |
| { | |
| body.classList.add('ie8'); | |
| browserName = 'ie'; |
| //Function to handle database search and process results | |
| function getCustomers(searchQuery) { | |
| $.ajax({ | |
| type: 'POST', | |
| url: '/com/cfcs/SearchServices.cfc?method=searchCustomerByName&customerName=' + searchQuery + '&returnFormat=json', | |
| datatype: 'json', | |
| cache: false, | |
| success: function(response) | |
| { | |
| var searchResults = response.DATA, |