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
Функция ПолучитьОтветЗадачи(Запрос) Экспорт | |
Метод = Запрос.Параметры.Получить("метод"); | |
Token = Запрос.ПараметрыЗапроса.Получить("token"); | |
ДанныеАвторизации = ПолучитьДанныеАвторизации(Token); | |
Если ДанныеАвторизации.Пользователь.Пустая() Тогда | |
Возврат СформироватьОтвет(ДанныеАвторизации.ЗаголовокОтвета); | |
КонецЕсли; | |
Если Метод = "list" Тогда |
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
{ | |
"stock": [ | |
{ | |
"label": "Москва", | |
"location": "Московская обл., село Домодедово, ул. Зорин Лес стр. 1", | |
"containers": [ | |
{ | |
"type": "20'", | |
"count": 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
https://www.dropbox.com/s/k1vgxxqhps9ssh7/app-debug.apk?dl=0 |
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
Вот инструкция: | |
https://disk.yandex.ru/d/RT9uAJXefmk5uA — вот здесь сама прошивка. | |
Предварительно стоит установить USBLogView, он позволит легко узнать VID (Vendor ID) и PID (Product ID) клавиатуры: https://www.nirsoft.net/utils/usb_log_view.html | |
По стандарту должно быть VID: 04D9 и PID: A0D1 или VID: 05AC и PID: 024F | |
Во время подключения клавиатуры к ПК, программа покажет информацию о подключенном устройстве. | |
В процессе установки прошивки проверьте, пожалуйста — пути до файла, в названии папки, где хранится прошивка остались китайские символы? Если да, их необходимо удалить. |
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
<?php | |
// Предположим мы достали данные из базы: | |
$goods = [ | |
1002 => [ | |
'Price' => 1000, | |
'Weight' => 12, | |
'Color' => 'red', | |
'Rating' => 3, | |
], | |
3300 => [ |
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
su appuser | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
curl -sSL https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
rvm requirements | |
rvm install 2.4.1 | |
rvm use 2.4.1 --default | |
gem install bundler -V --no-ri --no-rdoc |
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
wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | sudo -u appuser -i bash | |
wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash | |
wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | sudo -u appuser -i bash |
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
<?php | |
require 'vendor/autoload.php'; | |
$callStartTime = microtime(true); | |
$filename = "multipage.xls"; | |
$objReader = PHPExcel_IOFactory::createReaderForFile($filename); | |
$objReader->setReadDataOnly(true); | |
$objPHPExcel = $objReader->load($filename);; |
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
(require '[leiningen.exec :as le]) | |
(ns foo | |
(:require [clojure.string :as str])) | |
(def source-text "https://gist.githubusercontent.com/pqr/0cf155de6b8f95c3c400/raw/56fc9aa6c06bf3e55a2a02d3e4a857580feff2bc/haskell_vs_php_example.txt") | |
(defn get-lines [text] (map str/trim (str/split-lines text))) | |
(defn drop-header-line [lines] | |
(if (re-find #"Container No\\." (first lines)) |
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
Нфк код физики 075 | |
Писалось сами знаете когда ;) в детстве. Мне стыдно :) но сами просили... | |
// ----------------------------------------------------------------------------- | |
procedure playermove(i : byte); | |
var Msg: TMP_IamRespawn; | |
Msg2: TMP_GauntletState; | |
Msg3: TMP_SoundData; | |
Msg4: TMP_049t4_ShaftEnd; | |
Msg5: TMP_SV_PlayerRespawn; |
NewerOlder