See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
image: node:latest | |
cache: | |
paths: | |
- node_modules/ | |
- app/bower_components | |
deploy_production: | |
stage: deploy | |
environment: Production |
This is an example how to do GraphQL queries in a somewhat sane way in bash
using curl
and jq
.
The example does an query towards GitHub to fetch the commit SHAs of open pull requests for a specific repository.
The example needs the environment variables REPO_OWNER
, REPO_NAME
and GITHUB_TOKEN
to be set.
import xmltodict | |
import requests | |
import datetime | |
import multiprocessing as mp | |
COUNTRY_CODES = { | |
"AF": "AFGHANISTAN", | |
# "AX": "ÅLAND ISLANDS", | |
"AL": "ALBANIA", | |
"DZ": "ALGERIA", |
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp(const DynamicHeader()); | |
} | |
class DynamicHeader extends StatelessWidget { | |
const DynamicHeader({Key? key}) : super(key: key); | |
@override |