Skip to content

Instantly share code, notes, and snippets.

View rflmyk's full-sized avatar

Mayrink rflmyk

View GitHub Profile
@rflmyk
rflmyk / gist:6f4c233a7dfe0535bc7a3be0ccbfa3c7
Created October 27, 2020 21:37
Solução do problema do uso do cartão de memória da XIAOMI MIJIA 1080P 170°
Descrição do problema:
- após realizar a compra da camera, percebi q ao inserir o cartão de memória após algumas poucas horas de gravação ela começava a travar e não funcionava mais
Solução do problema (disponibilidade por um vendedor chinês):
em inglês como ele enviou:
```
the attachment fil,after you unzip files,the first and second is Firmware flash package,the third is how to flash ,
/* Foca no código
oo
o" $
" o $
" $
$ $$
o" "$o
$oo $ "$$$
$"$oo " "o$$
"$$o$"o"o o" $"$$$
@rflmyk
rflmyk / array.filter.js
Last active April 27, 2017 13:59
Polyfills to functional javascript
if (!Array.prototype.filter) {
Array.prototype.filter = function(fn) {
var rv = [];
for(var i=0, l=this.length; i<l; i++)
if (fn(this[i])) rv.push(this[i]);
return rv;
};
}