Skip to content

Instantly share code, notes, and snippets.


korya korya

  • KW, ON
View GitHub Profile


Constructor for the API: new IGuideViewer(iframeElement)


  • ready() - Returns a Promise that resolves when the iGUIDE is ready to be used.
  • tour.move(position, camera, transitionType) - Transition to a different pano.
  • tour.moveCamera(camera) - Change the user's camera.
  • addEventListener(event, cb) - Subscribe to an event.
  • removeEventListener(event, cb) - Unsubscribe from an event. The cb must be the same reference to a function passed earlier to addEventListener().
korya / Engineering
Created Mar 17, 2020
Interesting Engineering Articles
View Engineering
korya /
Created Dec 10, 2018
Git submodule operations: merge into subdir, remove
#!/usr/bin/env bash
# The scripts receives a name of a git submodule and removes it from the current
# repository.
# The script is derived from
function usage() {
echo "Usage: $0 <submodule-name>"
echo ""
echo "Remove <submodule-name> from a repo."
View gist:55077c63e5f4a999e25b97523a63546c
Google Manager Behaviours:
1. Is a good coach.
2. Empowers team and does not micromanage.
3. Creates an inclusive team environment, showing concern for success and well-being.
4. Is productive and results-oriented.
5. Is a good communicator - listens and shares information.
6. Supports career development and discusses performance.
7. Has a clear vision/strategy for the team.
8. Has key technical skills to help advise the team.
9. Collaborates across Google.
korya /
Created Feb 27, 2018
Control Theory

Q: What course do you take to learn control theory?


First of all you need to know differential equations. From that you can move to Laplace Transform and Z transform. That is the math you need for basic control theory.

Regarding the courses during my BSc and my MSc I have attended multiple courses:

  • Systems theory :useful to understand the basics of how a dynamical system works
  • Automatic control: basics of control theory (loop-shaping, disturbances rejection, sensors, PID, nyquist, root locus, and many other things)
  • Digital control: how to deal with discrete systems or continuous systems being sampled
  • Discrete event systems : how to model the dynamics of a discrete event systems (such as a manufacturing line)
korya / Professional
Created Aug 15, 2017
A joke about professional consultants
View Professional

A shepherd is looking after his herd when suddenly a young man in a sports car stops by. The young man asks the shepherd, “If I can guess how many sheep you have, can I keep one of them?” The shepherd agrees. The young man starts running calculations using the latest and greatest technology. “You have 280 sheep,” he says.

The shepherd sighs and tells the young man, “If I guess what your profession is, can I get my sheep back?” The young man agrees. “You are a consultant,” he says. Surprised, the young man asks, “How did you know!” “Well, you are charging me a steep price, you are telling me something I already know, and obviously you know nothing about my business because you are taking away my dog!”

korya / Software Architecture
Last active Mar 17, 2017
Software Architecture Articles
View Software Architecture
korya / Mercator Projection.js
Created Mar 8, 2017
Mercator Projection for Google Maps JS SDK
View Mercator Projection.js
// Base tile size used in Google Javascript SDK
// MercatorProjection implements the Projection interface defined in Google Maps
// Javascript SDK.
// Google Maps Javascript SDK docs:
// For more details about the convertions see
korya / service-registry-example.go
Last active Dec 15, 2016
An example demonstrating basic service registry implemented in Go
View service-registry-example.go
// Go play example:
package main
import (
type Policy interface {
IsAllowed() bool
You can’t perform that action at this time.