Skip to content

Instantly share code, notes, and snippets.

View mekegi's full-sized avatar

Arsen Abdusalamov mekegi

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src='http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js'></script>
<script src="http://cdn.sencha.com/ext/gpl/4.2.0/ext-all.js"></script>
<script>
goog.require('goog.dom');
goog.require('goog.dom.classes');
goog.require('goog.style');
@mekegi
mekegi / linphone.reg
Last active December 31, 2015 06:59
fix linphone click to call
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\sip\shell\open\command]
@="\"C:\\Program files\\Linphone\\bin\\linphone.exe\" --workdir \"C:\\Program files\\Linphone\" --call \"%1\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\sip\shell\open\command]
@="\"C:\\Program Files (x86)\\Linphone\\bin\\linphone.exe\" --workdir \"C:\\Program Files (x86)\\Linphone\" --call \"%1\""
/*global Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false,
global: false, module: false, process: false, querystring: false,
require: false, setInterval: false, setTimeout: false, '__filename': false, '__dirname': false */
"use strict";
var dataArrayByCanal = [],
port = process.argv[2];
if (port === undefined) {
console.log('Error: Port is not specified. Port must be passed as first argument');
/**
* @since 04.10.13 11:56
* @author Arsen Abdusalamov
* @param {} $ jQuery
* @param {} window
* @returns void
*/
(function ($, window) {
"use strict";
window.CometClient = function () {
/*************
* colors.js *
*************
*
* You're almost at the exit. You just need to get past this
* color lock.
*
* Changing your environment is no longer enough. You must
* learn to change yourself. I've sent you a little something
* that should help with that.
/*************
* ambush.js *
*************
*
* Oh. Oh, I see. This wasn't quite part of the plan.
*
* Looks like they won't let you take the Algorithm
* without a fight. You'll need to carefully weave your
* way through the guard drones.
*
/*
* robotNav.js
*
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
*/
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the
/*************
* lasers.js *
*************
*
* Time to unleash the killer lasers! Each laser will kill you
* unless you have the appropriate color. Too bad you can't
* see which color corresponds to which laser!
*/
function getRandomInt(min, max) {
/***************
* pointers.js *
***************
*
* You! How are you still alive?
*
* Well, no matter. Good luck getting through this
* maze of rooms - you'll never see me or the Algorithm again!
*/