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
A0heSAAgBKXqEIJSXEJQaZaqblHKLgRVvxCU0jBCjhFYRqFnomoaJV2jxDYR+SYqxolK55SSdUqRg0phoUgPlVITReCiIhtF+ShCIwnVSaWaScFNVeyk0k8VQ6lqqSp5SpoKukrEVgQlX0XQWATFWaWotQhK5S2hdJdQ7JX+IshghToMtVjBY4omU6rLwmYqPqtSo6lyWslqBBW9RmC2SreJtBvpNzCcqI4jqLAc8hzRdNR1RW1H6DtBjSfIeaKsF1H7FXIFhVU7ZjxgRBZW2UOBubAaFA83OpSrISQPtIKaUVh1AOXqIYXxtVeFl529ulaBsVz1AAWosBoUDzc6lKs4OdDiKKwGxcONDuVy9R00EL6F1cUhNQQxbmF1cUgNQYybAcq6kqOuwFpdHFJDEONmgPKZ+S4aVfe4U7mKZwYbphly3ilxcTStOoCysuxG1T3uVMUzg1fI8UJV37CxeXpVpYsuKZYXVpcJKFlYNfENaseosEqa+EZdAeGNlqrQcRwyuK7NmFOVHcchg+vaBFtVOSAXL0Cr6YHwPIYpg+WqeTFJiuN7C6tCx3HI4LqCctW+HGeZ82VZYZU08Y26AsIbLVWh4zhkcF1rVQ7IxQvQKjz+a08Uh+Vy9QIT8wIUhhBXN9JDWFO5OgBmIPUxjduhSsR3DhNcgAqrQzNLkkVgScrnWqxbFqt1K6mOzZJTfTfLzbFsbRnz1i3B1pYlyZpbx2axVlGzLZEoR5Czld8SWQQ5RmtuHZslX66iIGeEwmQFM7U3reLLPhAOlGJUWHUAZV3JUVeQL5erUkAMRBZWp0uUZIQyYM7kNiZ5wOgBxEBVeHzDlME/XaJk9zEKyh8e3zBl8FvySd9mzclXX3jZH4wIAqUYbVDTA6gKj2+YMvglu49RUP7w+IYpg9/6bXlRUvVZdEmxPJ2ZAd2gpgdQFR7/tSeKwy/ZfYyC8ofHf+2J4vDbBLlJ32atTpcoyQhlwJxJiNE7+AHEQFV4/D9domT3MQrKHx7/G7dyvs2S |
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
function sum(a) { | |
return function (b) { | |
if(typeof(b) === 'number') | |
return sum(a + b) | |
return a | |
} | |
} | |
console.log(sum(5)()) // 5 | |
console.log(sum(5)(10)()) // 15 |
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
function diffDate(dateInit, dateEnd) { | |
const d1 = new Date(dateInit).getTime() | |
const d2 = new Date(dateEnd).getTime() | |
if (d1 === d2) { | |
return { | |
'TotalDays' : 0, | |
'Result' : 'The two dates are the same.' | |
} | |
} else { |
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
A0j0RQAhIghdIoJ0igiiWUC3iGoXEdQvAIqGUeIYRMuI9ExB0wi5JqJtCvhGSY0jonOUxDpK0kEALRTVQ0A1kQhdVGgjVX1UoJEi1UkVzSTKTRV2UvFT0VAqLYXgKWkq6CqhtgJQfSUCYwHIWQCsJYLgLUHcJUh7pb+AMliUDiMWK+kxpSaL5LKwmaLPgIymymmlVgNQeA3QbJVuU7Ab6beq4SIcB6C0HOo5pOmo60psJ/CdoMZD6DyF1ouU/aK4yMJqijBZCUYLq4GYCLyD2lFYNZ9ydaLC5KaqwjvFXh0RUlquek8fF1aDkvVG13KVpAXeHIXVoGS90bVcrgIFDUxuYZVcdl84cE5wYdV8yrrTog5yWK6uz/wGl9C4XaubwyALQdzC6uYwyEIQ13/KutOiDlJU3RwGWQji+k95Lnw3jaoznbFcFZC7hP33cWF1rS9pSQ5F1pJIkWgoElkGRDXlSVEVqL61KCm1YsXK0DJMDiClyIGa8uSwiusPWCwia8kB6YBlKBJJDqU15clhuUoWfoC2HQk+qWBzNK+aT1nZeKPqTGeskoUfIRJk46orAwjAiFA1bLoNJFFY3fZTtLBqkxs0RXBhFXGaJhpcRy61rqI2uVEHKWFpsmqcpokG15EjrVQTj27eT6v5hHAestGH5ap9CYqmk3sLq4jTNNHgOshyNbVNc9vLZWNhFbXJjTpICUuTVcRpmmhwHVE18ejm/bQKp4twDqbDcrl63ya8n8JA5CrAfAL4WC5XDS8IjBZWxysQ+8D8txcUOEF5Jfh4QeAqnK5s9CE4XoH4dAkOyiCcrmz0IZgcDoBykfWwikB26iAYMHBOMEBqe4+rcLqy0YfgeAXi0yU4KINwurLRh6AIlIuqx6bbQBL5wvwUILW9x1U4XYRzMB2C4tMlOCiDcLoI52A6BOVISREoH0hWxysQ+8D8txcUEgwUfLwgcBVOFxyvQHy6BAdlEE4XlFqxBuXJobSaL6aJHi8IXM0nhPOQjT4ExadLcFAG8wnh |
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
let interval = null | |
let count = 10000 | |
let ntt = function(){ | |
interval = setInterval(function(){ | |
document.querySelectorAll('[data-testid=unlike]').forEach((t)=> { | |
t.click() | |
}) | |
count += 1000 | |
window.scrollTo(0, count); |
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
A0ewRwAhglC6RBBiFsQtKtpFEPlFEFLDiDgGZBkhzyRqGpVcoyrbiNI3UWmcqDhHFK0DkIMALBTpIQEmUiEXJWwU8ZGqMpIKTqowk6huSmonJT+lDBVlKUBPSVNBVwm1lSDqK4AaSxCcpUKtJQjFW6JwlyDtVf4S0GCJHEYsVtFjSk2mUpeFzRR9BtRoqpyWajVBSF4DMlul2xTsRvqtajiFjhOEajnUc0jTUdcl2Q7Ud4IaT6DzRFpPVbVfVD3Q4NRNmJwEo4PTEDQG7kHtGJyaT3naUGFy3VPh7mZvlgskGk+9p48Hp0HJeWPneEr8A3eOwWlQct7YOR5PgYMGJndwSi5nLxw4JXhwaj5l7f4xC1QeT89nfkNGaNyd085hkAc47uC0cxjkAY6bPGXt/jEL5Jp2DoM8wHGTp9wqvp3G1GpWMZ6Cya3C/vt4cHoukfXJypTpEuX6yiKQyyXrmun0lafAS1wyXT4QKFdmrsRVFkkkkplOX3mKl+TIgnJkyy7Zcq4IVJaVKTvT6SuPp6TiB2DbYeSDgjvH0qn5lJWlN6ZWs4opqfgBw0g6nmZyAI4LwKmh024gxsFpt5+ig1Ob3KBuggenqE1uzAIJSeSbCjbTRINnOUW5U2kzTTR4lhMkc2p8tHN/Ok0bhK2WFwkcT+1LUNSB3Ds4FWymiQbPAo2n7m6a3a4uSwengs000eBZrilqkxuzQEIS+abGRzv3p1PYMsDDzwGOx9P7NuH+FIYgTwGkTcjFeDw1PDgwOjgtLlicCEzerlABBOWT4PrBgaewZfIigUhxweIjIzgoI7Bl8iKBiK8sizhdueUpIOnummCgwCnBAKjtPZ7ClsmLBCLiIyM4KCOwZfIigYgrF3GWc3zTutNuIMa0Yn4KgNre4ylsGeDh5wAR8ZERHJQR2DLAw88BIk5QjizidE2LCxYnApO3KxQSDBxcPzjwFLYMKS5YfGQEB2UEtgwRycxFnL6yaJpWponWDw48hS0DPPwcICI+MoKDMgJbBnj4 |
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
{ | |
"terminal.integrated.fontSize": 14, | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.tabSize": 2, | |
"editor.fontSize": 14, | |
"editor.lineHeight": 20, | |
"editor.fontLigatures": true, |
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
# ********************************************* | |
# * ~/.bashrc Personalizado para Ubuntu * | |
# * System: Ubuntu 12.04 – Precise Pangolin * | |
# * local: /home/user/.bashrc * | |
# * * | |
# * Author: Thiago Nalli Valentim * | |
# * E-Mail: thiago.nalli@gmail.com * | |
# * Date: 2012-05-24 * | |
# ********************************************* | |
# ====================================================================== |
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
https://github.com/mathiasbynens/dotfiles | |
git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh |
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
# -*- coding: utf-8 -*- | |
import binascii | |
import os | |
def to_binary(frase): | |
return bin(int(binascii.hexlify(frase), 16)) | |
def to_ascii(frase): | |
return binascii.unhexlify('%x' % int(frase, 2)) |
NewerOlder