Badoo Tech Blog: https://tech.badoo.com/ru/
Double VS single quotes: https://habr.com/ru/company/alfa/blog/447416/
Badoo Tech Blog: https://tech.badoo.com/ru/
Double VS single quotes: https://habr.com/ru/company/alfa/blog/447416/
# fish completion for buffalo | |
function __fish_buffalo_grifts | |
command grift list $argv ^/dev/null | string match -r '\s.*?#' | string trim -c ' #' | string trim | |
end | |
# general | |
complete -xc 'buffalo' -n '__fish_use_subcommand' -s h -l help -d 'help for buffalo' | |
# build |
var BASE64_MARKER = ';base64,'; | |
function convertDataURIToBinary(dataURI) { | |
var base64Index = dataURI.indexOf(BASE64_MARKER) + BASE64_MARKER.length; | |
var base64 = dataURI.substring(base64Index); | |
var raw = window.atob(base64); | |
var rawLength = raw.length; | |
var array = new Uint8Array(new ArrayBuffer(rawLength)); | |
for(i = 0; i < rawLength; i++) { |