FizzBuzz in different languages, just for fun.
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
html{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,Helvetica,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";box-sizing:border-box;overflow:auto;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{font-family:inherit;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}*,:after,:before{box-sizing:inherit;margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}b,strong{font-weight:700}cite,em,i{font-style:oblique}small{font-size:80%}code,kbd,pre,samp,var{font-family:"SF Mono",Menlo,Consolas,"Lucida Console","Ubuntu Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace;font-size:1rem}pre{word-wrap:break-word;white-space:pre-wrap}pre code{color:inherit;background:0 0;border:0;margin:0;padding:0}sub,sup{font-size:75%;line-height:0;vertical-align:baseline;positi |
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
'use strict'; | |
export class Facebook { | |
getScript() { | |
return new Promise((resolve) => { | |
if (window.FB) { | |
resolve(window.FB); | |
} | |
const id = 'facebook-jssdk'; |
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
/** | |
* SIXSIDED : a general-purpose Markdown stylesheet | |
* ---------------------------------------------------------------------- | |
* Originally made for use with MarkdownPad (http://markdownpad.com). | |
* | |
* Mostly based on Nicolas Hery's stylesheet for MDPad2, available at: | |
* https://github.com/nicolashery/markdownpad-github | |
* | |
* Author: Fabio Y. Goto - https://yuiti.com.br | https://github.com/yuigoto | |
* Version: 1.0.0 |
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
/** | |
* YX : HANDLEBARS : cleanTrailingHtml | |
* ---------------------------------------------------------------------- | |
* Clears the trailing `index.html` from path strings. | |
* | |
* @author Fabio Y. Goto <[email protected]> | |
* @copyright 2018 Fabio Y. Goto | |
* @since 0.0.1 | |
* | |
* @param {string} string |
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
<?php | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |
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
/// @description Inicializa parâmetros do objeto | |
// Inicializa a surface como noone | |
surface = noone; | |
// Prefiro ter a variável inicializada no create, por segurança, | |
// na hora de checar depois |
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
/** | |
* ESTIMANDO PI COM MONTECARLO | |
* ============================================================ | |
* | |
* Baseado no vídeo e no sketch P5.js feitos pelo Guilherme Rey | |
* (Yarquen) em https://www.youtube.com/watch?v=VQvw3u-zSZg. | |
* | |
* Assista! É importante para entender bem o que acontece aqui! | |
* | |
* Apesar do P5.js ser uma versão do processing, pelo fato de |
NewerOlder