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
| // Ultimo numero a ser testado | |
| const long BREAKPOINT = 10000; | |
| int main (string[] args) { | |
| for (int number = 0; number <= BREAKPOINT; number++) { | |
| if (prime (number)) { | |
| print (@"[$number]"); | |
| } | |
| } |
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
| # If you come from bash you might have to change your $PATH. | |
| export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| ZSH_THEME="agnoster" |
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
| void remocao() { | |
| System.out.println("\nDigite o nome da pessoa a ser removido"); | |
| String k = scan.nextLine(); | |
| PessoaContato aRemover = null; | |
| for ( PessoaContato p : lista1 ) { | |
| if (p.getNome().equals(k)) { | |
| aRemover = p; | |
| } | |
| } |
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
| #!/bin/sh | |
| # Color table | |
| red='\033[0;31m' | |
| green='\033[0;32m' | |
| blue='\033[0;34m' | |
| purple='\033[0;35m' | |
| cyan='\033[0;36m' | |
| yellow='\033[1;33m' | |
| normal='\033[0m' |
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
| // #include <cstdlib> | |
| #include <iostream> | |
| #include <boost/regex.hpp> | |
| using namespace std; | |
| using namespace boost; | |
| int main(int argc, char *argv[]) { | |
| string str = "2"; | |
| regex re("[0-9]"); |
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
| class Main { | |
| public static int main(string [] argv) { | |
| stdout.printf("Bem vindo ao Mercado Paraná!\n"); | |
| stdout.printf("O que deseja comprar?\n"); | |
| var produtos = new Produtos(); | |
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
| email@example.com | |
| firstname.lastname@example.com | |
| email@subdomain.example.com | |
| firstname+lastname@example.com | |
| email@123.123.123.123 | |
| email@[123.123.123.123] | |
| “email”@example.com | |
| 1234567890@example.com | |
| email@example-one.com | |
| _______@example.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
| class HelloWorld { | |
| public static int main(string[] args) { | |
| stdout.printf("Hello World\n"); | |
| return 0; | |
| } | |
| } |
NewerOlder