Skip to content

Instantly share code, notes, and snippets.

View kornatzky's full-sized avatar

Yoram Kornatzky kornatzky

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kornatzky on github.
  • I am kornatzky (https://keybase.io/kornatzky) on keybase.
  • I have a public key ASCquw39yevA9zF72sbZI6bjsMHqUCrR3LFNIN9GnlV8Jgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kornatzky on github.
  • I am kornatzky (https://keybase.io/kornatzky) on keybase.
  • I have a public key ASCquw39yevA9zF72sbZI6bjsMHqUCrR3LFNIN9GnlV8Jgo

To claim this, I am signing this object:

@kornatzky
kornatzky / Typeahead.vue
Created January 5, 2018 13:47
Vue.js Typeahead
/* eslint no-console: ["error", { allow: ["log"] }] */
<template>
<div class="typeahead">
<input
v-model="query"
@focus="reset"
type="text"
class="search-input"
v-bind:placeholder="field.placeholder"
>
@kornatzky
kornatzky / backand-ionic2-sockets
Created September 15, 2016 15:39
Using socket.io with Ionic 2 and Backand
Add to package.json the dependency,
"socket.io-client": "^1.4.8"
Add to typings.json the global dependencies:
"node": "registry:dt/node#6.0.0+20160514165920",
"socket.io-client": "registry:dt/socket.io-client#1.4.4+20160317120654"
Do:
@kornatzky
kornatzky / popover-page-load
Created July 4, 2015 08:08
Recreate popover on page load
<body onload="createPopover()">
<script src="https://github.com/typicaljoe/taffydb/raw/master/taffy.js"/>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"/>
<script src="http://www.example.com:5000/socket.io/socket.io.js"/>
<html>
<body>
<input type ="text" id="input"</input>
<button> type="button" id="submit">Submit Bid</button>
<p id="bids"></p>
</body>
</html>
<img ng-src="{{language}}/img/view1/img1.png"></img>
<div class="row" ng-controller="revenueCtrl">
<div class="col-md-12" >
<h3>REVENUE</h3>
...
</div>
</div>