How to find the botfather bot source code?

I'm trying to build a bot, and I have to find the source code of the botfather or similar code.

How to get value from a check box in jquery that is in a column using .map .find

How to get value from a check box in jQuery that is in a column using .map .find. I'm using this code and it does not concatenate the value of the check box.

                                                                var cols_id_servico = $ (& col_id_servico & # 39;)
.closest ("tr")
.map (function () {
returns $ (this) .find ("input: eq (0)") val () + "/" +
$ (this) .find ("input: eq (2)"). val () + "/" +
$ (this) .find ("input: eq (3)"). val () + "/" +
$ (this) .find ("input[type='checkbox']: checked: eq (4) ") length> 0?" Yes No ";
})
.toArray ()
.join (& # 39;);
alert (cols_id_servico);

raspberrypi – Can not install apache2 on Raspberry 3 B + with Raspbian Stretch, can not find /etc/apache2.conf

I'm new to Raspberry Pi, I just followed a tutorial to configure Raspberry pi 3B + with a raspberry stretch operating system. And I was trying to install apache2 with
apt-get install apache2
the following error has occurred:

apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (result: exit code) since Sun. 2019-06-23 01:06:15 CDT; 51ms ago
Process: 26477 ExecStart = / usr / sbin / apachectl start (code = left, status = 1 / FAILURE)

23 Jun 01:06:15 raspberrypi systemd[1]: Starting the Apache HTTP Server ...
23 Jun 01:06:15 apachectl raspberrypi[26477]: apache2: Can not open configuration file /etc/apache2/apache2.conf: No such file or directory
23 Jun 01:06:15 apachectl raspberrypi[26477]: The action 'start & # 39; has failed.
23 Jun 01:06:15 apachectl raspberrypi[26477]: The Apache error log may contain more information.
23 Jun 01:06:15 raspberrypi systemd[1]: apache2.service: closed control process, code = abandoned status = 1
23 Jun 01:06:15 raspberrypi systemd[1]: Unable to start the Apache HTTP Server.
23 Jun 01:06:15 raspberrypi systemd[1]: apache2.service: the unit has entered failure state.
23 Jun 01:06:15 raspberrypi systemd[1]: apache2.service: Failed output "exit code".

when cd to / etc / apache2 there is no apache2.conf file or anything else. What should I do??

calculation and analysis – How to find and plot the intersection of these three surfaces?

I know how to find the intersection region of these cylinders using integration, but how could I plot this in mathematica? That's what I've

ContourPlot3D[{x^2 + y^2 == 1, x^2 + z^2 == 1, 
  y^2 + z^2 == 1}, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}, 
 AxesLabel -> Automatic, PlotLegends -> "Expressions"]

That's what I've got up to here

Find the position of the main Mysql binary log in the Slave binary log

I have a mysql master / slave replication configuration and I like to know the bit position in the slave where it has executed the master request. I have log_slave_updates enabled on slave. So, is this the right process?

On the master, I show the status of the master and it says mysql-bin.000001, 45408621 (suppose that's the position in which I want to know its equivalent in the binary log of the slave).

Then I make a mysqlbinlog on the mysql-bin.000001 of the master, and I look for this position 45408621 which will be this one

            at 45408621
# 190620 17:39:21 server id 118 end_log_pos 45408704 CRC32 0x481aab34
# Position Type of time stamp Master ID Size Master Pos Flags
# 2b4e16d 39 27 0c 5d 02 73 00 00 00 53 53 00 00 c0 e1 b4 02 08 00
# 2b4e180 9b 87 1b 00 00 00 00 00 00 00 00 00 00 27 00 00 00 00 | ................ |
# 2b4e190 00 00 01 00 00 00 00 00 00 00 00 06 06 73 73 74 | ............. std |
# 2b4e1a0 03 02 00 01 00 04 21 00 21 00 21 00 05 06 53 59 | .............. SY |
# 2b4e1b0 53 54 45 4d 65 62 00 42 45 47 49 4th 34 ab 1a 48 | STEMeb.BEGIN4..H |
# Request thread_id = 1804187 exec_time = 0 error_code = 0
SET TIMESTAMP = 1561077561 / *! * /;
TO START

Then on the slave, I ran mysqlbinlog on its last binary log (for example, mysql-slave-bin.000001) and grep for "17:39:21" and the thread id of 1804187, and I get this.

            # to 12506
# 190620 17:39:21 server id 118 end_log_pos 12574 CRC32 0x0802ae3f
# Position Type of time stamp Master ID Size Master Pos Flags
# 30da 39 27 0c 5d 02 73 00 00 00 44 44 00 00 of 31 December 00 00 08 00
# 30ed 9b 87 1b 00 00 00 00 00 00 00 1a 00 00 00 00 | ................ |
# 30fd 00 00 01 00 00 08 00 00 00 00 00 03 02 00 01 00 | ................ |
# 310d 04 21 00 21 00 21 00 00 42 42 47 47 49 4th 3f ae 02 | ........ BEGINNING ... |
# 311d 08 | |
# Request thread_id = 1804187 exec_time = 0 error_code = 0
SET TIMESTAMP = 1561077561 / *! * /;
TO START

Can I conclude that the position of the master (mysql-bin.000001, 45408621) is equal to the position of the slave (mysql-slave-bin.000001, 12506) in the slav
The binary log of e?

And if it's the right process, is there a simpler way to do it? Maybe someone has already written a script for this?

email – Can not find the safe mode of converting OST to PST?

If you want to convert your OST files to PST conversion, then you have to try OST to PST converter. This is a very safe, fast and advanced tool for file conversion. With the help of this software you can easily format your big files.
My dad also used this software for his personal and professional use. Because he always has a big mass of files and OST to PST converter is very safe to convert, install and configure the data.
Visit here: – https://www.toolsbaer.com/ost-to-pst-conversion/

lvm – ls and find hangs on a folder. What to do?

I have a proxmox cluster with two nodes (s1 and s2). On the list s2, some directory remains stuck forever (as in this question):

$> strace -vf ls -l / etc / pve / nodes / s2
[...]
open ("/ etc / pve / nodes / s2", O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC) = 3
fstat (3, {st_dev = makedev (0, 48), st_ino = 5, st_mode = S_IFDIR | 0755, st_nlink = 2, st_uid = 0, st_gid = 33, st_blksize = 4096, st_blocks = 0, st_socks = 0, st_size = 0, st_atime = 2017-06-19T18: 59: 35 + 0300, st_mtime = 2017-06-19T18: 59: 35 + 0300, st_ctime = 2017-06-19T18: 59: 35 + 0300}) = 0
getdents (3,

Find also hangs

$> cd / etc / pve / nodes / s2
$> strace -vf find.
[...]
openat (AT_FDCWD, ".", O_RDONLY | O_NOCTTY | O_NONBLOCK | O_DIRECTORY | O_NOFOLLOW) = 4
fcntl (4, F_GETFD) = 0
fcntl (4, F_SETFD, FD_CLOEXEC) = 0
fstat (4, {st_dev = makedev (0, 48), st_ino = 5, st_mode = S_IFDIR | 0755, st_nlink = 2, st_uid = 0, st_gid = 33, st_blksize = 4096, st_blocks = 0, st_size = 0, st_size = 0, st_atime = 2017-06-19T18: 59: 35 + 0300, st_mtime = 2017-06-19T18: 59: 35 + 0300, st_ctime = 2017-06-19T18: 59: 35 + 0300}) = 0
fcntl (4, F_GETFL) = 0x38800 (flags O_RDONLY | O_NONBLOCK | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW)
fcntl (4, F_SETFD, FD_CLOEXEC) = 0
newfstatat (AT_FDCWD, ".", {st_dev = makedev (0, 48), st_ino = 5, st_mode = S_IFDIR | 0755, st_nlink = 2, st_uid = 0, st_gid = 33, st_blksize = 4096, st_blocks = 0, st_size. 0, st_atime = 2017-06-19T18: 59: 35 + 0300, st_mtime = 2017-06-19T18: 59: 35 + 0300, st_ctime = 2017-06-19T18: 59: 35: 0300}, AT_SYMLINK_NOFOLLOW = 0
fcntl (4, F_DUPFD, 3) = 5
fcntl (5, F_GETFD) = 0
fcntl (5, F_SETFD, FD_CLOEXEC) = 0
getdents (4,

I have an LVM physical volume:

$> pvdisplay
--- Physical volume ---
Name PV / dev / sda3
Name VG pve
PV Size 1.82 TiB / not usable 3.07 MiB
Yes, assignable
PE size 4.00 MB
Total PE 476859
PE 4039 free
PE 472820 allocated
PV UUID fcuPa5-Wscw-wQI2-YXjI-SoMc-nQPe-1orltO

this is part of the pve group

$> pvs
PV VG Attractive Fmt PSize PFree
/ dev / sda3 lvm2 pve a-- 1.82t 15.78g

which has logical volumes:

$> lvscan
ACTIVE & # 39; / dev / pve / swap & # 39; [8.00 GiB] to inherit
ACTIVE & # 39; / dev / pve / root & # 39; [96.00 GiB] to inherit
ACTIVE & # 39; / dev / pve / data & # 39; [1.70 TiB] to inherit
ACTIVE & # 39; / dev / pve / vm-401-disk-1 & # 39; [4.00 GiB] to inherit
  [...]

ride shows that / dev / fuse is mounted in / etc / pve

$> df / etc / pve / nodes / s2
/ dev / fuse 30720 36 30684 1% / etc / pve

I see errors in dmesg like that:

[  483.990347]    INFO: task lxc-pve-prestar: 4588 blocked for more than 120 seconds.
[  483.990554]       Contaminated: P IO 4.15.18-16-pve # 1
[  483.990721] "echo 0> / proc / sys / kernel / hung_task_timeout_secs" disables this message.
[  483.990943] lxc-pve-prestar D 0 4588 4587 0x00000000
[  483.990945] Call trace:
[  483.990947]  __schedule + 0x3e0 / 0x870
[  483.990949]  ? path_parentat + 0x3e / 0x80
[  483.990951]  calendar + 0x36 / 0x80
[  483.990953]  rwsem_down_write_failed + 0x208 / 0x390
[  483.990955]  call_rwsem_down_write_failed + 0x17 / 0x30
[  483.990957]  ? call_rwsem_down_write_failed + 0x17 / 0x30
[  483.990959]  down_write + 0x2d / 0x40
[  483.990961]  filename_create + 0x7e / 0x160
[  483.990963]  SyS_mkdir + 0x51 / 0x100
[  483.990965]  do_syscall_64 + 0x73 / 0x130
[  483.990967]  entry_SYSCALL_64_after_hwframe + 0x3d / 0xa2
[  483.990968] RIP: 0033: 0x7ff84077a687
[  483.990969] RSP: 002b: 00007fff343b4a98 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
[  483.990971] RAX: ffffffffffffffda RBX: 000055ab07c8d010 RCX: 00007ff84077a687
[  483.990972] RDX: 0000000000000014 RSI: 00000000000001ff RDI: 000055ab0b26de70
[  483.990973] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
[  483.990974] R10: 000055ab0b0e1f38 R11: 0000000000000246 R12: 000055ab084ced58
[  483.990975] R13: 000055ab0b222fd0 R14: 000055ab0b26de70 R15: 00000000000001ff

windows – Possible to find which program uses a webcam or a microphone?

On Windows, is there a way to determine which program is currently using the webcam, whether it's the camera or the microphone?

Until now, I went into Device Manager and got the names "Physical Device Object" from the webcam functions (sound / video, imaging and camera objects), then in Process Explorer and searched for open handles. I'm going to see that audiodg.exe uses it ("Windows Sound Device Graph Isolation"), but if we look at its command line, there is no indication who called it. There is also a svchost.exe that accesses it, and the command line includes "AudioEndpointBuilder". But again, I can not determine which program called for this.

Meanwhile, the light from the webcam shows that something is still accessing it. I realize that I can use the deduction by shutting down programs until the light goes out, but I was hoping more targeted troubleshooting would be needed to find out what triggers microphone / webcam access in Windows 10.

How do you write an equation to find an SI AND result in a cell and return the value of the adjacent cell in Google Sheets?

I'm trying to write an equation for a restoration form that recognizes a number of drinks that the customer wants and returns the corresponding price per cup based on a predetermined volumetric dependent value in a table. .

The prices are obviously not real in the table example.

enter the description of the image here

Ideally, I would use it to streamline our restoration quotes and get faster response time.

pandas – How to find the median after grouping the dataset on the basis of a column value?

The problem statement is: –
Draw a pie chart for all "trends" to see the relative frequency of each trend. You can use the groupby function with the trend column to group all the days with the same trend into a single group before drawing the pie chart. From the grouped data, create a BAR chart containing the mean and median values ​​of the "Total Quantity Exchanged" by trend type.

I've drawn a pie chart for the average

Average code:
df.groupby ([‘Trend’])[‘Total Traded Quantity’].mean (). plot.bar ()
Median code: I tried this
df.groupby ([‘Trend’])[‘Total Traded Quantity’].median (). plot (). bar ()

I am stuck in the search for the median.