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
| int E1 = 3; // This will set the speed from 0 to 255 via analog Write | |
| int E2 =11; | |
| int M1 = 12; // This pin sets the direction /1 rotates CW / 0 rotates CCW | |
| int M2 = 13; | |
| void setup() | |
| { | |
| pinMode(M1, OUTPUT); | |
| pinMode(M2, OUTPUT); |
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
| # | |
| # makefile | |
| # | |
| # Based on Anthonys Editor January 93 | |
| # | |
| # Public Domain 1991, 1993 by Anthony Howe. No warranty. | |
| # | |
| # Slight changes from the one at https://github.com/hughbarney/atto | |
| # to compile in MacOS (Silicon) |
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
| function setup() { | |
| createCanvas(500, 500); | |
| rectMode(CENTER); | |
| noLoop(); | |
| } | |
| function draw() { | |
| background(255); |
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
| CF::Background = [hue 163 b 0 saturation .75] | |
| #CF::Symmetry = CF::Dihedral, 7 | |
| startshape aula5 | |
| shape aula5 { | |
| # loopsbasicos [alpha -0.5 ] | |
| loops (8) [alpha -0.5 ] | |
| loops (3) [alpha -0.5 s 0.5 r 90] |
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
| <!DOCTYPE html> | |
| <html lang="pt-PT"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Exemplo de HTML Semântico</title> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>O Meu Blog</h1> |
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/bash | |
| set -euo pipefail | |
| __usage="usage: new_project name <type> | |
| type can be one of md, r, or any other... and accordingly it should open | |
| and setup different folder structures | |
| name will be the folder name where the project exists. | |
| " |
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/bash | |
| set -euo pipefail | |
| __usage="usage: new_project name <type> | |
| type can be one of md, r, or any other... and accordingly it should open | |
| and setup different folder structures | |
| name will be the folder name where the project exists. | |
| " |
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
| // Particles - Move around | |
| // When meeting other Particles | |
| // Reproduce or Fight | |
| ArrayList <Borg> borgs; | |
| void setup() { | |
| size(600, 600); | |
| borgs = new ArrayList(); | |
| for (int i = 0; i<150; i++) { |
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 lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
| <title>Document</title> | |
| <style> | |
| * {box-sizing: border-box;} | |
| body{ background: #ddd; | |
| display: grid; |
NewerOlder