Skip to content

Instantly share code, notes, and snippets.

#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
/*global $,Ajax,ItsmEvtListener,notificationManager,pharmacy,document*/
var RxShipping = (function () {
"use strict";
var ORDER_STATUS_APPROVED = 4,
ORDER_STATUS_FILLED = 8,
TEMPLATE_TYPE_BUNDLE = 1,
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<script language="javascript" type="text/javascript">
var wsUri = "ws://echo.websocket.org/";
var output;
function init()
{
#!/usr/bin/env perl
use strict;
use LWP::UserAgent;
use Data::Dumper;
my $browser = LWP::UserAgent->new;
my $response = $browser->post(
'https://keeper.cryptod.com/api/auth',
[
l3talka@l3talka:~/perl/up/customer/public$ grunt build-nf
Running "clean:dist" (clean) task
Cleaning .tmp...OK
Cleaning dist/.htaccess...OK
Cleaning dist/404.html...OK
Cleaning dist/about_the_service.html...OK
Cleaning dist/components...OK
Cleaning dist/contacts.html...OK
Cleaning dist/faq.html...OK
Cleaning dist/favicon32.png...OK
// сохраняем картинки для того что бы сделать видео
var video_path_dir = 'videos';
// task_id , q_id, u_id
var task_id = '1';
var q_id = '2';
var u_id = '3';
var screen_path = __dirname+'/'+video_path_dir+'/'+task_id+'/'+q_id+'/'+u_id;
mkdirp(screen_path, function (err) {});
fs.writeFile(screen_path+'/'+i+'.jpeg', frameBody, function (err) {
if(err) throw err;
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
`adb shell screenrecord --bit-rate 8000000 --time-limit 20 /sdcard/Download/test.mp4 && echo 1`;
open(my $FH , '<', '/tmp/android/Download/test.mp4') or die 'PIZDEC 1';
Use of uninitialized value in join or string at /usr/local/share/perl5/File/Slurp.pm line 399.
Attempts 10 device_id: 10.8.0.6:5555 at lib/Device.pm line 202.
Argument "" isn't numeric in numeric ge (>=) at lib/Device.pm line 211, <$fh> line 1.
Find and touch on device 10.8.0.6:5555 at lib/Device.pm line 216, <$fh> line 181.
01-20 00:52:17.712 22102 22102 I Ads : Ad finished loading.
Start 10 - Touch red bird on 10.8.0.6:5555 device_id: 10.8.0.6:5555 at lib/Device.pm line 219, <$fh> line 181.
Tknyl ot baldbl 10.8.0.6:5555 at lib/Device.pm line 229.
Waiting for the end of the advertisement on 10.8.0.6:5555
Attempts 9 device_id: 10.8.0.6:5555 at lib/Device.pm line 202.
Find and touch on device 10.8.0.6:5555 at lib/Device.pm line 216, <$fh> line 390.
01-18 16:24:23.237 842 1805 I ActivityManager: Killing 11948:com.google.android.gm.exchange/u0a76 (adj 15): empty #17
01-18 16:24:23.971 842 1306 E WifiStateMachine: WifiStateMachine L2Connected CMD_START_SCAN source -2 6148, 6152 -> obsolete
01-18 16:24:42.191 842 4383 I ActivityManager: Killing 12006:com.google.android.youtube/u0a81 (adj 15): empty #17
01-18 16:25:16.516 842 857 I art : Background partial concurrent mark sweep GC freed 112276(5MB) AllocSpace objects, 16(7MB) LOS objects, 22% free, 55MB/71MB, paused 2.676ms total 164.652ms
01-18 16:25:28.634 842 874 W BroadcastQueue: Skipping deliver [background] BroadcastRecord{380ae03c u-1 android.net.conn.CONNECTIVITY_CHANGE} to ReceiverList{175bf1c5 12545 (unknown name)/0/u-1 remote:b3c980e}: process crashing
01-18 16:25:28.653 12545 12545 I Timeline: Timeline: Activity_launch_request id:com.play2money.richsquirrel time:131449198
01-18 16:25:28.654 842 1791 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.i