Skip to content

Instantly share code, notes, and snippets.

View paulovargatt's full-sized avatar
🔗
codesnip.net

Paulo paulovargatt

🔗
codesnip.net
View GitHub Profile
@paulovargatt
paulovargatt / French translated JSON file
Created October 20, 2022 16:48 — forked from cotiga/French translated JSON file
De Laravel 6 à 9 - Traductions françaises des termes statiques - Enregistrer sous resources/lang/fr.json ou lang/fr.json (v9)
{
"30 Days": "30 jours",
"60 Days": "60 jours",
"90 Days": "90 jours",
":amount Total": ":amount Total",
":days day trial": ":days jours d'essai",
":resource Details": "Détails :resource",
":resource Details: :title": " Détails :resource :title :",
"A fresh verification link has been sent to your email address.": "Un nouveau lien de vérification a été envoyé à votre adresse e-mail.",
"A new verification link has been sent to the email address you provided during registration.": "Un nouveau lien de vérification a été envoyé à l'adresse e-mail que vous avez indiquée lors de votre inscription.",
background: linear-gradient(42deg, #8e0489, #042b8e);
background-size: 400% 400%;
-webkit-animation: PrimeColor 10s ease infinite;
-moz-animation: PrimeColor 10s ease infinite;
-o-animation: PrimeColor 10s ease infinite;
animation: PrimeColor 10s ease infinite;
@-webkit-keyframes PrimeColor {
0%{background-position:56% 0%}
50%{background-position:45% 100%}
100%{background-position:56% 0%}
@paulovargatt
paulovargatt / ethcalc.js
Last active January 10, 2018 15:14
ETH Calc Miner Day
var netHash = 126428245166274;
var dificult = 2025026488477250
var dificult24 = 1987044737794760,
netHash = (netHash/dificult) * dificult24;
var hashPower = (10.8 * 1e6) / netHash
var blockTime = 16.0172;
var blockReward = 2.91;
var blocksPerMin = 60.0 / blockTime
var coinPermine = blocksPerMin * blockReward;
var ganho = hashPower * coinPermine
@paulovargatt
paulovargatt / rotate.js
Created July 31, 2017 13:55
Rotate Imgs - Example porn sites
$(document).on("mouseover", ".rotate", function() {
var a = $(this),
b = $(this).attr("src"),
c = b.substr(0, b.length - 5);
StartImageRotate(a, c, ".png"), $(this).mouseout(function() {
a.attr("src", b), stopImageRotate()
})
});