Skip to content

Instantly share code, notes, and snippets.

View chinloyal's full-sized avatar
👨‍💻
Currently Coding

Chinloyal chinloyal

👨‍💻
Currently Coding
View GitHub Profile
@chinloyal
chinloyal / profile-install.sh
Last active May 17, 2022 13:42
Install Apple Provisioning Profile via CLI Manually
#!/bin/bash
echo ${PROVISIONING_PROFILE} | base64 -d > profile.mobileprovision
UUID=`grep UUID -A1 -a profile.mobileprovision | grep -io "[-A-F0-9]\{36\}"`
mkdir -pv ~/Library/MobileDevice/Provisioning\ Profiles/
cp profile.mobileprovision ~/Library/MobileDevice/Provisioning\ Profiles/$UUID.mobileprovision
# The next line is for circleci
sudo chown $USER:staff ~/Library/MobileDevice/Provisioning\ Profiles/*
import 'dart:math' as math show sin, pi;
import 'package:flutter/animation.dart';
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
@chinloyal
chinloyal / android-dev-tools.txt
Last active December 4, 2020 15:55
Android packages to install on linux for android development without installing android studio
android-udev
android-sdk
android-sdk-platform-tools
android-sdk-build-tools
android-platform
android-emulator
android-sdk-cmdline-tools-latest
@chinloyal
chinloyal / .gitlab-ci.yml
Created June 11, 2019 12:42 — forked from florentchauveau/.gitlab-ci.yml
GitLab CI yaml file for building docker images
# This is a GitLab CI configuration to build the project as a docker image
# The file is generic enough to be dropped in a project containing a working Dockerfile
# Author: Florent CHAUVEAU <florent.chauveau@gmail.com>
# Mentioned here: https://blog.callr.tech/building-docker-images-with-gitlab-ci-best-practices/
# do not use "latest" here, if you want this to work in the future
image: docker:18
stages:
- build