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
Que isso, jovem. PHP é um adicente que virou linguagem. | |
Sabe, acho curioso o rumo que Node tomou, servindo de facilitador pra pacotes JS, que, olhem só, justamente pra resolver comportamento de cliente. | |
Sou um cara com uma cabeça velha. Fora de moda. Não gosto de Node. Não gosto de JS. | |
Eu detesto o Node pro que ele se propôs no começo. Ser um servidor JS. | |
Ainda que a pobreza extrema do mundo acabe em 15 anos, ainda que logo tenha cura pra câncer, AIDS, etc., aparece aí o PHP, o Node e o Estado Islâmico pra provar que nem tudo são flores. | |
Node.js é tudo, menos JS |
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
<App Theme="Basic"> | |
<!-- Declare the Icon font (place in ./fonts folder) --> | |
<Font File="fonts/fontawesome-webfont.ttf" ux:Global="fa" /> | |
<!-- Example of usage --> | |
<fa-upload FontSize="50" /> | |
</App> |
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
using System; | |
using System.Reflection; | |
namespace Grapevine | |
{ | |
public enum ContentType | |
{ | |
[Metadata(Value = "application/x-authorware-bin", IsBinary = true)] | |
AAB, |
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
// Takes a credit card string value and returns true on valid number | |
function valid_credit_card(value) { | |
// Accept only digits, dashes or spaces | |
if (/[^0-9-\s]+/.test(value)) return false; | |
// The Luhn Algorithm. It's so pretty. | |
let nCheck = 0, bEven = false; | |
value = value.replace(/\D/g, ""); | |
for (var n = value.length - 1; n >= 0; n--) { |