"https://vimeo.com/528989174/14cb949868".match(/(htt.*\.com\/)([a0-z9]*)(\/)?(.*)/).filter(each=> { return each && /^[a0-z9]*$/.test(each) })
["528989174", "14cb949868"]
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
[ | |
{ | |
"id": 36, | |
"name": "Promoçao 2 vias", | |
"description": "All you need to get in two ways", | |
"image": "0c712cc5-6caa-4650-b7f9-9f048fed104c.jpg", | |
"createdWhen": "2024-04-02T17:07:33.432945", | |
"quantity": 2, | |
"numberUsersThatGotIt": 0, | |
"quantityRemaining": 2, |
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
"breadcrumbs.showNull": false, | |
"breadcrumbs.icons": true, | |
"breadcrumbs.showArrays": false, | |
"breadcrumbs.showBooleans": false, | |
"breadcrumbs.showClasses": true, | |
"breadcrumbs.showConstants": true, | |
"breadcrumbs.showConstructors": true, | |
"breadcrumbs.showEnumMembers": true, | |
"breadcrumbs.showEnums": true, | |
"breadcrumbs.showEvents": false, |
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
import uiautomator,os,sys,datetime,time | |
from uiautomator import Device | |
def app_install(): | |
list1 = ['whatsapp messenger','facebook','uber','teewe','BookMyShow','skype','flipkart','flipboard', | |
'gaana','9gag','Dailyhunt','ndtv','cricbuzz','mx player','firefox','opera','subway surf','asphalt8','deer hunt','realracing3','clashofclans'] | |
os.system('adb shell am start -n com.android.vending/com.google.android.finsky.activities.MainActivity') | |
time.sleep(5) |
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
Ontem estive no bairro da Penha (Rio-RJ). Agradeço a oportunidade e carinho. https://t.co/OaGIthOaWu | |
A necessidade de países - mesmo que não ligados ideologicamente - de importar produtos baratos para controlar seus níveis de inflação, desfaz a narrativa de caos criada propositalmente por grande parte da mídia para tentar desestabilizar o governo que não lhe “agrada”. | |
INSCREVA-SE ou REINSCREVA-SE gratuitamente no canal com apenas um clique. https://t.co/c7nCWDoLRh https://t.co/eqFk5UVqzE | |
PÁTRIA EDUCADORA: brincadeira de estourar bola na bunda de meninas e livros impróprios; veja: http://t.co/V1i4Dx0tKi http://t.co/Eyb2uM4I9n |
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
var geohash = require('ngeohash'); | |
var opa = geohash.encode(-20.8191497,-49.3989744, 10); | |
var pair = [ -20.786449, -49.404946] | |
var encoded = geohash.encode(pair[0],pair[1]); | |
encoded; | |
var decoded = geohash.decode(encoded); |
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
const formatters = { | |
current: { | |
count: { | |
value: 'numeric', | |
percent: 'percent' | |
}, | |
sum: { | |
value: 'currency' | |
} | |
} |
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
[url "git@COMPANY.github.com"] | |
insteadOf = git@github.com | |
insteadOf = https://github.com/ | |
[alias] | |
co = checkout | |
branchh = !git for-each-ref --sort='-authordate' --format='%(refname)%09%(authordate)' refs/heads | sed -e 's-refs/heads/--' | |
lg = log --all --graph --decorate --oneline --abbrev-commit | |
ppush = !git push origin `git branch --show-current` | |
ppull = !git pull origin `git branch --show-current` |
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
server { | |
# se propriedade for default_server .. todos request que nao tive | |
listen 80; # IPV4 | |
listen [::]:80; # IPV6 | |
root /var/pwa/www; # caminho do index | |
index index.html; |
NewerOlder