I hereby claim:
- I am mat-0 on github.
- I am thechelsuk (https://keybase.io/thechelsuk) on keybase.
- I have a public key ASCwyTiriQCRcGS2JD99Kv4tQZQqQhs-006k-cP7SgFGKAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # read api end point | |
| func doRequest(url string) ([]byte, error) { | |
| resp, err := http.Get(url) | |
| if err != nil { | |
| return nil, err | |
| } | |
| defer resp.Body.Close() | |
| return ioutil.ReadAll(resp.Body) | |
| } |
| import turtle | |
| class Polygon: | |
| def __init__(self, sides, name, size=100, color="blue", line_thickness=4): | |
| self.sides = sides | |
| self.name = name | |
| self.size = size | |
| self.color = color | |
| self.line_thickness = line_thickness | |
| self.interior_angles = (self.sides - 2)*180 |
| # importing modules | |
| import json | |
| import os | |
| import pathlib | |
| filename = os.getenv("label") | |
| content = os.getenv("content") | |
| root = pathlib.Path(__file__).parent.parent.resolve() | |
| try: |
| name | about | title | labels | assignees |
|---|---|---|---|---|
ReadMe next activity template |
For responding to my question on my ReadMe about what I should be doing next. |
Next: |
Next |
| name: Daily Build | |
| # build | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '30 7 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest |
| for sign in signs : | |
| dic = { | |
| "#zodiac#" : sign, | |
| "#adjOrb#" : random.choice(adjOrbs), | |
| "#suffix#" : random.choice(suffixes), | |
| "#gerund#" : random.choice(gerunds), | |
| "#house#" : random.choice(houses), | |
| "#house2#" : random.choice(houses), | |
| "#planet#" : random.choice(planets), | |
| "#planet2#" : random.choice(planets) |
| <?php | |
| $string = str_replace( '#zodiac#', $go->getValueFromKey( $zodiac ) , $string ); | |
| $randHouses = $go->getValuesFromArray( $house , 2); | |
| public function getValueFromKey(&$array) { | |
| $rand_key = array_rand($array); | |
| return array_pop($array); | |
| } | |
| public function getValuesFromArray($array, $n) { |
| name: Add Item | |
| on: | |
| issues: | |
| types: [labeled, edited] | |
| jobs: | |
| Validation: | |
| runs-on: ubuntu-latest | |
| if: contains(github.event.issue.labels.*.name, "labelname" ) | |
| outputs: | |
| labelname: ${{ steps.validation.outputs.labelname }} |