Skip to content

Instantly share code, notes, and snippets.

View nilsreichardt's full-sized avatar
🔥
Focusing

Nils Reichardt nilsreichardt

🔥
Focusing
View GitHub Profile
import 'package:flutter/material.dart';
void main() async {
runApp(const DynamicHeader());
}
class DynamicHeader extends StatelessWidget {
const DynamicHeader({Key? key}) : super(key: key);
@override
@budidino
budidino / get_appstore_reviews.py
Last active March 23, 2021 14:44
get App Store reviews
import xmltodict
import requests
import datetime
import multiprocessing as mp
COUNTRY_CODES = {
"AF": "AFGHANISTAN",
# "AX": "ÅLAND ISLANDS",
"AL": "ALBANIA",
"DZ": "ALGERIA",
@bobvanderlinden
bobvanderlinden / README.md
Last active March 9, 2023 16:39
Example GraphQL call towards GitHub using curl and jq

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.

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 7, 2024 15:39
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

image: node:latest
cache:
paths:
- node_modules/
- app/bower_components
deploy_production:
stage: deploy
environment: Production