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
msg := tgbotapi.NewAudioUpload(ChatID, "tests/audio.mp3") | |
msg.Title = "TEST" | |
msg.Duration = 10 | |
msg.Performer = "TEST" | |
msg.MimeType = "audio/mpeg" | |
msg.FileSize = 688 | |
_, err := bot.Send(msg) | |
if err != nil { | |
t.Error(err) |
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
#!/bin/bash | |
# This one downloading tracks from namba's playlists | |
# Need some customisation. And it fears whitespaces | |
# | |
# Author: Gen1us2k | |
# Thanks: | |
# - Romanius for support | |
# - Google for some useful methods | |
# | |
tmpfile=$(mktemp /tmp/namba_XXXXXX) |
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
{ | |
"OCR": { | |
"serial": "0241456789", | |
"firstname": "Александра", | |
"surname": "Александрова", | |
"secondname": "Александровна", | |
"pob": "Петропавловск", | |
"birthday": "22.03.1987", | |
"date1": "12.03.2013", | |
"gender": "Ж" |
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
select | |
m.source_host, | |
m.external_link, | |
m.count, | |
m.external_host, | |
m.created, | |
coalesce(t1.hosttype,'N') as 'source_host_type', | |
coalesce(t2.hosttype,'N') as 'external_host_type' | |
from monitor as m | |
LEFT OUTER JOIN types as t1 ON t1.hostname=m.source_host |
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
warning.js:36 Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `AveragePricePage`. See https://fb.me/react-warning-keys for more information. | |
in AveragePriceChoice (created by AveragePricePage) | |
in AveragePricePage | |
in div (created by PatientWizardCnt) | |
in div (created by PageTemplate) | |
in div (created by PageTemplate) | |
in PageTemplate (created by PatientWizardCnt) | |
in PatientWizardCnt (created by withApollo(PatientWizardCnt)) | |
in withApollo(PatientWizardCnt) (created by Connect(withApollo(PatientWizardCnt))) | |
in Connect(withApollo(PatientWizardCnt)) (created by Route) |
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
redbear@berloga ~/src/zentist $ ./rundev.sh up —build | |
================================== | |
|Creating symlinks for dev env...| | |
================================== | |
ATTENTION!!! | |
Please run npm install in your root folder so that linter-eslint functions properly | |
================================== | |
| Checking for dangling volumes | | |
================================== | |
There are NO dangling volumes |
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
cat types.php | |
<?php | |
function getDB() { | |
$mysqli = new mysqli("mysql", "", "", ""); | |
if (mysqli_connect_errno()) { | |
printf("Mysql connection error: %s\n", mysqli_connect_error()); | |
exit(); | |
} | |
return $mysqli; |
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://medium.com/iotsploit/faleemi-fsc-880-multiple-security-vulnerabilities-ed1d132c2cce */ | |
POST /onvif/device_service HTTP/1.1 | |
Content-Type: application/soap+xml | |
Content-Length: 1076 | |
charset: utf-8 | |
Host: 192.168.0.100 | |
Connection: close | |
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"> |
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
<!DOCTYPE html> | |
<!--[if IEMobile 7]><html class="iem7" lang="ru" dir="ltr"><![endif]--> | |
<!--[if lte IE 6]><html class="lt-ie9 lt-ie8 lt-ie7" lang="ru" dir="ltr"><![endif]--> | |
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8" lang="ru" dir="ltr"><![endif]--> | |
<!--[if IE 8]><html class="lt-ie9" lang="ru" dir="ltr"><![endif]--> | |
<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html lang="ru" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema#"><!--<![endif]--> | |
<head> |
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
{ | |
"python.linting.pylintArgs": ["--load-plugins", "pylint_django"] | |
} |
OlderNewer