ач
5 августа 2020 г. 11:43

(asinc func () {
	let res = await getData () // в getData запрос к серваку
    return res 
}())
A
Anonymous
28 июля 2020 г. 23:22

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks
A
Anonymous
24 июля 2020 г. 3:38

<table class="table table-striped table-sm">
          <thead>
            <tr>
              <th>#</th>
              <th>Название</th>
              <th>Статус</th>
              <th>Дата</th>

import React from 'react';
import { Root, View, Panel, PanelHeader } from '@vkontakte/vkui/';
import '@vkontakte/vkui/dist/vkui.css';
import './App.css';

const view1 = 'view1';
const view2 = 'v

import bridge from '@vkontakte/vk-bridge';

export function openingStoryEditor (dataStory) {
    console.log(dataStory);
    
    bridge.send("VKWebAppShowStoryBox", {
        "background_type":
A
Anonymous
29 июня 2020 г. 1:33

std::cout << "Hello world" << std::endl;
A
Anonymous
17 июня 2020 г. 18:05

from django.views.generic import  TemplateView

class HomeIndex(TemplateView):
    template_name = 'index.html'

class HomeLogin(TemplateView):
    template_name = 'login.html'
Evgenii Legotckoi
15 июня 2020 г. 2:21

{% with url_str='modules:'|add:module.machine_name|add:':index' %}
    <a href="{% url url_str %}">
{% endwith %}

;
 ValueCallback<Uri[]> uploadMessage;
public static final int REQUEST_SELECT_FILE = 100;age;
public static final int REQUEST_SELECT_FILE = 100;





private final static int FILECHOOSER_RESU

break;

case REQUEST_SELECT_FILE:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
if (uploadMessage == null) return; uploadMessage.onReceiveValue(WebChromeClient.FileChooserParams.par

+ 
public boolean onShowFileChooser(WebView mWebView, ValueCallback<Uri[]> filePathCallback, WebChromeClient.FileChooserParams fileChooserParams) {
if (uploadMessage != null) {
;
uploadMessage = n

url = currentfile;

try {
m.setDataSource(url);
}catch (IllegalArgumentException e){} 
catch (SecurityException e2) {}
catch (IllegalStateException e3) {String url = currentfile;

try {
m.set

order.stop(); myAudioRecorder.release(); myAudioRecorder = null; } catch(Exception e) {}
A
Anonymous
26 мая 2020 г. 1:32

onLongClick(View v){

 = new MediaRecorder(); myAudioRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); myAudioRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); myAudioRecorder.se
A
Anonymous
19 мая 2020 г. 14:07

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define LAST_MESSAGE 255 

int main() {
    int msqid; 
    char p
A
Anonymous
19 мая 2020 г. 14:06

#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#define LAST_MESSAGE 255 

int main() {
    int msqid; 
    char p
A
Anonymous
15 мая 2020 г. 10:09

#include <sys/types.h>
#include <sys/stat.h> 
#include <fcntl.h> 
#include <unistd.h> 
#include <stdlib.h> 
#include <stdio.h> 

int main() {
    int fd, result_fork;
    pid_t pid_fork, ppid
A
Anonymous
14 мая 2020 г. 19:46

#include <sys/types.h>
#include <sys/stat.h> 
#include <fcntl.h> 
#include <unistd.h> 
#include <stdlib.h> 
#include <stdio.h> 

int main() {
    int fd, fork_res;
    ssize_t size;
    char
A
Anonymous
14 мая 2020 г. 10:26

#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>

int main() {
    int fd;
    ssize_t size;
    char str20bits[20];
    (void)umask(0);

    fd = open("file
Р
11 мая 2020 г. 14:10

from PyQt5.QtWidgets import QApplication, QMainWindow, QLabel, QGridLayout, QWidget, QCheckBox, QSystemTrayIcon, \
    QSpacerItem, QSizePolicy, QMenu, QAction, QStyle, qApp
from PyQt5.QtCore import