This file contains hidden or 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 webbrowser | |
| webbrowser.open("https://devgiordane.com") |
This file contains hidden or 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 http.server | |
| import socketserver | |
| PORTA = 8000 | |
| Handler = http.server.SimpleHTTPRequestHandler | |
| with socketserver.TCPServer(("", PORTA), Handler) as httpd: | |
| print(f"servindo na porta {PORTA}") | |
| httpd.serve_forever() |
This file contains hidden or 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
| alfabeto =[] | |
| for letra in range(97, 123): | |
| alfabeto.append(chr(letra)) | |
| print(alfabeto) |
This file contains hidden or 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
| characters = [] | |
| for character in range(0, 1114111): | |
| characters.append(chr(character)) | |
| f = open('unicode.txt','w') | |
| f.write(str(characters)) | |
| f.close() |
This file contains hidden or 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
| // Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible). | |
| // Tweak the makePrettyJSON_ function to customize what kind of JSON to export. | |
| var FORMAT_ONELINE = 'One-line'; | |
| var FORMAT_MULTILINE = 'Multi-line'; | |
| var FORMAT_PRETTY = 'Pretty'; | |
| var LANGUAGE_JS = 'JavaScript'; | |
| var LANGUAGE_PYTHON = 'Python'; |
This file contains hidden or 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
| [ | |
| { | |
| "nome":"Palmeiras", | |
| "silga":"PAL", | |
| "pontos":"80", | |
| "jogos":"38", | |
| "vitorias":"23", | |
| "empates":"11", | |
| "derrotas":"4", | |
| "gols_pro":"64", |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="pt-br"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
| <title>CSS load API</title> | |
| <style> | |
| body { |
This file contains hidden or 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
| app.get('/l/:url', async function (req, res) { | |
| try { | |
| await getInfo(req.params.url) // não tem haver com 301 | |
| await sendClick(req.params.url) // não tem haver com 301 | |
| await res.status(301).redirect(linkredir) | |
| } catch (error) { | |
| // Passes errors into the error handler | |
| return next(error) | |
| } | |
| }); |
This file contains hidden or 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 nome = document.getElementsByClassName("field-nome"); | |
| var operounabolsa = document.getElementsByClassName("field-operounabolsa"); | |
| var email = document.getElementsByClassName("field-email"); | |
| var sonho = document.getElementsByClassName("field-sonho"); | |
| var telefone = document.getElementsByClassName("field-telefone"); | |
| var botao = document.getElementsByClassName("fl-optin-button"); | |
| operounabolsa[0].style.display = "none"; | |
| email[0].style.display = "none"; | |
| sonho[0].style.display = "none"; |
This file contains hidden or 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
| <!-- item will be appened to this layout --> | |
| <div id="log" class="sl__chat__layout"> | |
| </div> | |
| <!-- chat item --> | |
| <script type="text/template" id="chatlist_item"> | |
| <div data-from="{from}" data-id="{messageId}"> | |
| <span class="meta" style="color: {color}"> | |
| <span class="badges"> | |
| </span> |
OlderNewer