Skip to content

Instantly share code, notes, and snippets.

View knownasilya's full-sized avatar
🦾
Working on Archegos

Ilya Radchenko knownasilya

🦾
Working on Archegos
View GitHub Profile
@knownasilya
knownasilya / index.html
Last active November 6, 2023 18:45 — forked from Hagith/drawing-tools.html
Google Maps Advanced Drawing
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="UTF-8">
<title>Drawing Tools</title>
<script type="text/javascript"
src="http://maps.google.com/maps/api/js?sensor=false&libraries=drawing"></script>
<style type="text/css">
#map, html, body {
@knownasilya
knownasilya / index.html
Last active September 3, 2015 20:51 — forked from zross/index.html
HTML: test infowindow with gmaps
<!DOCTYPE html>
<html>
<head>
<title>HTML5</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=650, user-scalable=yes">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@knownasilya
knownasilya / index.html
Last active November 12, 2015 17:44 — forked from d3noob/index.html
Testing Leaflet.js GridLayer
<!DOCTYPE html>
<html>
<head>
<title>GridLayer Test</title>
<meta charset="utf-8" />
<link
rel="stylesheet"
href="http://cdn.leafletjs.com/leaflet/v1.0.0-beta.2/leaflet.css"
/>
<style>
@knownasilya
knownasilya / application.route.js
Last active March 9, 2016 20:25 — forked from anonymous/community.js
promiseproxy service
export default Ember.Route.extend({
model() {
return this.get('community');
}
});
import Ember from 'ember';
let Animal = Ember.Object.extend({
bark() {
return 'aurf!';
},
willDestroy() {
this._super(...arguments);
alert('hi');
import Ember from 'ember';
export default Ember.Controller.extend({
ui: Ember.inject.service(),
appName: 'Ember Twiddle',
routeNameChanged: Ember.observer('currentRouteName', function () {
var name = this.get('currentRouteName');
this.set('ui.currentRouteName', name);
})
<!doctype html>
<html>
<head>
<title>createLayer</title>
<link href='https://fonts.googleapis.com/css?family=Alike' rel='stylesheet' type='text/css'>
<style>
html, body, #map {
height: 100%;
padding: 0;
margin: 0;
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['my-editor'],
didInsertElement() {
let editor = new Mobiledoc.Editor({
html: 'hi',
autofocus: true,
atoms: [
@knownasilya
knownasilya / components.template-tag.js
Last active April 6, 2017 21:19 — forked from bantic/components.template-tag.js
mobiledoc template fill in
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNames: ['template-tag'],
click() {
let tag = this.get('tag');
let promise = this.get('onClick')(tag);
@knownasilya
knownasilya / components.template-tag.js
Last active April 12, 2017 18:33 — forked from bantic/components.template-tag.js
mobiledoc template fill in
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'span',
classNames: ['template-tag'],
click() {
let tag = this.get('tag');
let promise = this.get('onClick')(tag);