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
<!-- Approach 1 --> | |
<div class="card"> | |
<a href="/user/123" class="mp-card-user">Steve</a> | |
<a href="/business/456" class="mp-card-business">Apple</a> | |
</div> | |
<!-- Approach 2 --> | |
<div class="card mp-card"> | |
<a href="/user/123">Steve</a> | |
<a href="/business/456">Apple</a> |
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
#!/usr/bin/env python | |
import time | |
import sh | |
import redis | |
from selenium import webdriver | |
fake_queue = [ | |
{ | |
'course': 'Processo do Trabalho - Marcelo Moura', |
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
# Track changes to a website, dude! | |
require 'open-uri' | |
require 'digest/md5' | |
require 'tempfile' | |
############### Dem helper methods yo | |
def write_md5(md5, filename) | |
File.open(filename, 'w') { |f| f.write(md5) } | |
end |