🚀 Awesome Rocketseat Resources
Lista caprichada de vetores e ilustrações que deixam qualquer site moderno e bonito:
🚀 Awesome Rocketseat Resources
Lista caprichada de vetores e ilustrações que deixam qualquer site moderno e bonito:
const rp = require('request-promise'); | |
const cheerio = require('cheerio'); | |
const functions = require('firebase-functions'); | |
const admin = require('firebase-admin'); | |
admin.initializeApp(); | |
const db = admin.firestore(); | |
exports.allyPallyFarmersMarket = functions.https.onRequest((request, response) => { |
import requests | |
from bs4 import BeautifulSoup as bs | |
import string | |
pets = [] | |
for pet in ('Gatos', 'Caes'): | |
for letra in string.ascii_uppercase: | |
for k in (1, 2, 3): | |
u = 'https://www.bayerpet.com.br/%s/lista-nomes/%s%s' %(pet, letra, str(k)) | |
p = requests.get(u) |
{% comment %} | |
# | |
# I modified the original code from http://anjesh.github.io/2015/01/25/collection-pagination-working-github-pages/ | |
# | |
# Make a collection in _config.yml and create the folder _your_collection in your root. | |
# | |
# collections: | |
# your_collection: | |
# output: true | |
# permalink: /:collection/:title/ |
# http://blog.konstantinpavlov.net/2015/01/17/hexo-useful-tips/ | |
# If you want your tags and categories on your language and the URLs still look nice in ASCII, | |
# you may use tag_map and category_map parameters in _config.yml file of your blog. | |
# You can even set one URL prefix for two different tags. | |
tag_map: | |
tag1: supertag | |
по-русски: in-russian | |
fun: fun and jokes | |
jokes: fun and jokes |
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
'use strict'; | |
var adSenseTpl = '<div id="adsenses-ad-1"><ins class="adsbygoogle"' + | |
'style="display:inline-block;width:336px;height:280px"' + | |
'data-ad-client="ca-pub-000000000000000000"' + | |
'data-ad-slot="00000000000"></ins></div>'; | |
var adsenseAd1; | |
angular.module('MyApp') |
/** | |
* Converts an XML string to a JSON object, using logic similar to the | |
* sunset method Xml.parse(). | |
* @param {string} xml The XML to parse. | |
* @returns {Object} The parsed XML. | |
*/ | |
function xmlToJson(xml) { | |
var doc = XmlService.parse(xml); | |
var result = {}; | |
var root = doc.getRootElement(); |