Skip to content

Instantly share code, notes, and snippets.

View zilahir's full-sized avatar
🍺

Richard Zilahi zilahir

🍺
View GitHub Profile
@zilahir
zilahir / docker-compose.yml
Created October 21, 2020 12:24
php docker
version: '2'
services:
web:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./<path-to-folder/backend>:/code/Backend
- ./<path-to-folde/frontend>:/code/Frontend
@zilahir
zilahir / LoadAssets.tsx
Created December 26, 2020 08:00
expo loading assets custom wrapper
// some stuff here
export type FontSouce = Parameters<typeof Font.loadAsync>[0];
const usePromiseAll = (
promises: Promise<void | void[] | Asset[]>[],
cb: () => void
) =>
useEffect(() => {
(async () => {
await Promise.all(promises);
cb();
@zilahir
zilahir / .releaserc
Created June 21, 2021 07:59
semantic-release
{
"repositoryUrl": "git+ssh://***",
"branches": [
{
"name": "master",
"prerelease": "true"
},
{
"name": "release",
"prerelease": "false"