Skip to content

Instantly share code, notes, and snippets.

View sorbing's full-sized avatar

Stanislav Butsenko sorbing

View GitHub Profile
{
"PharmaProduct": {
"GeneralData": {
"Source": "RxNorm",
"CountryCode": "US",
"ProductNumber": "84815",
"ProductStatus": "Active",
"ProductType": "Brand Name"
},
"ProductName": {
{
"CategoryProduct": {
"GeneralData": {
"Source": "COLA",
"Category": "Alcohol",
"CountryCode": "US",
"ProductNumber": "20075001000151",
"ApplicationNumber": "200050",
"ProductStatus": "APPROVED",
"ProductType": "STRAIGHT RYE WHISKY",
@sorbing
sorbing / speech-to-text.json
Created July 14, 2021 14:24
speech-to-text.json
{
"results": [
{
"alternatives": [
{
"transcript": "Приветствую Меня зовут Юрий бошников и в этом выпуске я покажу как продвижение интернет-магазина в YouTube может увеличить ваше обороты на 30% без",
"confidence": 0.9057327,
"words": [
{
"startTime": "0s",
// ~ ~ ~ ~ ~ ~ ~ DB Connect
require __DIR__ . '/vendor/gabordemooij/redbean/RedBean/redbean.inc.php';
R::setup('mysql:host=' . $config['db_host'] . ';dbname=' . $config['db_name'], $config['db_user'], $config['db_pass']);
R::debug(false);
R::exec('SET NAMES utf8');
R::exec('SET CHARACTER SET utf8');
// Автозагрузка моделей: http://bit.ly/13sORIP
require_once __DIR__ . "/Models/Model_User.php";
<head><script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-MP3XRF3"></script><script type="text/javascript">try { document.__defineGetter__("referrer",function(){return "https://www.boip.int/en/trademarks-register?embedded-app-path=Ym1ib25saW5lL2RldGFpbHMvdHJhZGVtYXJrL3Nob3cuZG8/bWFya051bWJlclR5cGU9QVBQJm1hcmtOdW1iZXI9MTQwOTI3MyZtYXJrSUQ9NDI1MjM3NA%3D%3D";}); } catch (exception) {try {Object.defineProperties(document, {referrer: { get: function() { return "https://www.boip.int/en/trademarks-register?embedded-app-path=Ym1ib25saW5lL2RldGFpbHMvdHJhZGVtYXJrL3Nob3cuZG8/bWFya051bWJlclR5cGU9QVBQJm1hcmtOdW1iZXI9MTQwOTI3MyZtYXJrSUQ9NDI1MjM3NA%3D%3D"; } } } );} catch (exception) {} } </script>
<base href="https://register.boip.int/bmbonline/pages/details/bnlTrademark.jsp">
<link href="/bmbonline/theme/boipregister1_3.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="/bmbonline/favi
<html lang="en" dir="ltr" prefix="og: https://ogp.me/ns#" class=" async-hide js"><head>
<!-- Page-hiding snippet (recommended) -->
<style>.async-hide { opacity: 0 !important} </style>
<script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script src="https://www.googletagmanager.com/gtm.js?id=GTM-NKQMDRD" async=""></script><script async="" src="https://www.google-analytics.com/analytics.js"></script><script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
})(window,document.documentElement,'async-hide','dataLayer',4000,
{'GTM-P8D92LJ':true});</script>
<!-- Modified Analytics tracking code with Optimize plugin -->
<script>
$ php <my-laravel-zero-app> ide-helper:generate -M
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Support\Facades\Auth::guard()
at ./vendor/illuminate/support/Facades/Facade.php:237
233| if (! $instance) {
234| throw new RuntimeException('A facade root has not been set.');
235| }
236|
> 237| return $instance->$method(...$args);
@sorbing
sorbing / no picture and description
Created July 15, 2019 07:37
prom.ua-feed-variations.yml
<offer available="true" group_id="277827992" id="500463320">
<url>
https://sawius.com.ua/p500463320-kolpachok-zolotnika-dekorativnyj.html
</url>
<price>24</price>
<currencyId>UAH</currencyId>
<categoryId>18070861</categoryId>
<picture>
https://images.ua.prom.st/1235983081_kolpachok-zolotnika-dekorativnyj.jpg
</picture>
Array
(
[TradeMark] => Array
(
[RegistrationOfficeCode] => CL
[ApplicationNumber] => 1326546
[ApplicationDate] => 2019-06-12
[ApplicationLanguageCode] => es
[MarkCurrentStatusCode] => *VER INSTANCIA
[KindMark] => Marca Comercial
@sorbing
sorbing / raspbian-stretch-php7.3-install.log
Created January 24, 2019 12:28
Raspberry Pi 3b+ install PHP 7.3 from buster repository out log.
pi@raspberry:~ $ sudo apt install -y -t buster php7.3 php-apcu php7.3-curl php7.3-gd php7.3-fpm php7.3-cli php7.3-opcache php7.3-mbstring php7.3-xml php7.3-zip php7.3-intl php7.3-mysql php7.3-sqlite3 php7.3-xmlrpc
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Следующий пакет устанавливался автоматически и больше не требуется:
netsurf-common
Для его удаления используйте «sudo apt autoremove».
Будут установлены следующие дополнительные пакеты:
curl libargon2-1 libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libcom-err2 libcomerr2 libcurl4 libgssapi-krb5-2 libicu63 libidn2-0 libk5crypto3 libkrb5-3 libkrb5support0