Feature branch feature1 is cut from development:
---o---o---o <-- development
\
A---B---C <-- feature1| // Chapter 12, exercise 01: draw rectangle as Rectangle and Polygon | |
| #include "../lib_files/Simple_window.h" | |
| #include "../lib_files/Graph.h" | |
| // draw rectangle as Rectangle (blue) and as Polygon (red) | |
| void ex01(Simple_window& win) | |
| { | |
| Graph_lib::Rectangle rect(Point(100,100),150,100); | |
| rect.set_color(Color::blue); |
| #!/usr/bin/perl | |
| # Reads number of words $n from first line of input, the $n words and finally | |
| # the scrabble letters provided. Using a smart grep and a Schwartzian Transform, | |
| # the list of words is filtered (possible to be built from letters provided?) | |
| # and then sorted by a) scrabble score and b) order of appearance in list. | |
| use strict; | |
| use warnings; | |
| use 5.020; |
| % Solarized colours for slrn | |
| color article default default | |
| color author default default bold | |
| color boldtext default default bold | |
| color box default black | |
| color cursor brown black | |
| color date green default | |
| color description brightblue default | |
| color error red default | |
| color frame white blue |
| #!/usr/bin/env bash | |
| while getopts 'l:' opt; do | |
| case $opt in | |
| l) branch=$OPTARG ;; | |
| *) exit 1 ;; | |
| esac | |
| done | |
| if [[ -n $branch ]]; then |
| on: | |
| push: | |
| jobs: | |
| print: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "Running!" |