| 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 |
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
| 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 }} |
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 | |
| $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) { |
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
| 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) |
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
| name: Daily Build | |
| # build | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '30 7 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest |
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
| # importing modules | |
| import json | |
| import os | |
| import pathlib | |
| filename = os.getenv("label") | |
| content = os.getenv("content") | |
| root = pathlib.Path(__file__).parent.parent.resolve() | |
| try: |
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
| 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 |
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
| # 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) | |
| } |
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: