This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC2NxoD8XcARl7bau1/HqeZkeRqNvOJJ+e1RpU1rtVjwuM0FRvN/JCWA/tAJN+PfTPydUPS4RR3fv4BWyhS3aS4Ap6wU1EMsSCu5hepRwv8hwleWK+G3kf+gOY/H3Zv95zI6hdRyGYfcvFpm6gBhrIzk11blySsZQs9tLGCaObOk8kyaheyS6UIcFb+clXxY+0MUv92BRPXQ8AAatwLdj0PxlaEWJXTPzoIvascy6GhcuqQDD8lix8zdYQDPW8yW8bZOdEmeNOxLceqHP4IuRs2cQ8Y0qvwnfDndg9lVq4jOqUvah5G5Cb/0v57EURQrQLW5EzvhJ9aTJZZFRkeZxQL1kh0yJ1bnrJ27vyeP7iDaap34AYyYp9NKOIpG+5gHre1q7wCrlq1QBExo28s0/+SykMoryKE9OwBFHK0EpA3CxeOxEDov9jVKeomAcK3dFukSy8IM5nN2+PblicAW8AFl1dcnS41IWfg1kYpxhNHn4++ImVBqWDRuB5DpAUQslD7YpVdescE6pic3/48u6r9t8rJQf9kPirrUjnndzUPmqc6SIJLpRf9nuEVSbyXkO3heX9y6I8pCpYIw2eo6E82ub11FPywOCJYV6ReVD1cNLsw23GKDF6uN5/KPFwy5sD5Ezv3pfNjNopnltizagUhJNyKr6m84fLiuGXQf4dEgw== vd@hp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package vd.myhome.cheque; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.net.Uri; | |
import android.os.AsyncTask; | |
import android.util.Log; | |
import android.widget.TextView; | |
import com.android.volley.AuthFailureError; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const from_Myhome_to_NEC = (x) => { | |
const s = Number(x).toString(2).split("").reverse(); | |
while (s.length < 32) s.push("0"); | |
return parseInt(s.join(""), 2).toString(16); | |
} | |
/* | |
0xdb24f708 => 10ef24db | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------ | |
-- Redis publication | |
-- | |
-- LICENCE: http://opensource.org/licenses/MIT | |
-- Vladimir Dronnikov <dronnikov@gmail.com> | |
------------------------------------------------------------------------------ | |
local db = assert(require("resty.redis"):new()) | |
db:set_timeout(1000) -- 1000 sec | |
assert(db:connect("127.0.0.1", 6379)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint32_t _rand(void) | |
{ | |
static uint32_t Z; | |
if (Z & 1) { | |
Z = (Z >> 1); | |
} else { | |
Z = (Z >> 1) ^ 0x7FFFF159; | |
} | |
return Z; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env le-lua-interpreter | |
if #arg < 1 then | |
-- TODO: help | |
os.exit(1) | |
end | |
local DEFAULT_ITERATIONS = 1e6 | |
local bench_file = arg[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var i = 1; i <= 100; ++i) { | |
var i3 = (i % 3) === 0; | |
var i5 = (i % 5) === 0 | |
var r = i; | |
if (i3 && i5) { | |
r = 'MissKiss'; | |
} else if (i3) { | |
r = 'Miss'; | |
} else if (i5) { | |
r = 'Kiss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(pecypc_session). | |
-author('Vladimir Dronnikov <dronnikov@gmail.com>'). | |
-include_lib("stdlib/include/qlc.hrl"). | |
%% ----------------------------------------------------------------------------- | |
%% API exports | |
%% ----------------------------------------------------------------------------- | |
-export([ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# windows | |
if test "x$USERPROFILE" != x; then | |
DIRSEP=';' | |
ERL='start werl' | |
# *nix | |
else | |
DIRSEP=':' | |
ERL=erl | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code:load_abs(os:getenv("HOME") ++ "/.ebin/user_default"), | |
io:format("You may use r() to recompile the code, t() to recompile templates under priv/templates.~n", []). |
NewerOlder