Skip to content

Instantly share code, notes, and snippets.

On vacation

Francis Varga FrancisVarga

On vacation
  • Phili-Tech
  • Berlin, Germany
Block or report user

Report or block FrancisVarga

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Dockerfile
FROM ubuntu:latest
LABEL maintainer="Luca Perret <>" \
org.label-schema.vendor="Strapi" \"Strapi Docker image" \
org.label-schema.description="Strapi containerized" \
org.label-schema.url="" \
org.label-schema.vcs-url="" \
org.label-schema.version=latest \
View gist:f6da35e8762015e7e04c7a64064297ae
## PR Checklist
Please check if your PR fulfills the following requirements:
- [ ] The commit message follows our guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
## PR Type
What kind of change does this PR introduce?

MIT License

Copyright (c) 2016 Francis Varga

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

curl ",linux,macos,windows,visualstudio" > .gitignore
npm i async aws-sdk dotenv dotenv-safe fs-extra googleapis microtime sqlite3 axios glob sequelize mongoose express --save
mkdir src
mkdir build
mkdir public
mkdir .tmp
mkdir .github
View gist:df7760302d76d33256709238277c1a96
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArqfifUWXcOoozsVh9GimuefD2FXh4XO4m3MtjpkDz0sAmqlXew9jZq7gfsxTJK75UJ9jlj6N2USbrMuwcx1bUbxWnBzU7S7zhiYeX68RzKomqWn6h1alPtXA9oAiIDjymJ8CIAfQT+DrfiWShxSFecO0sgLZ9XYJG1gBAzxczL2PsNYckqd5xlc1QRZzl4Jjr/t19ab8SzN0aC4djVkvcL+/yfHFWL1GruSohUtICxdMo/BQZ8+4qToW71HgLMiWCIAPsSeGdg1N1AO6q/P2E4wza0Lkx1pwmjRfVGRSMXUUXZhI9Y9NT3Uat+ohggAe2s3aMr4yR9ol/MO9c1SDuQ==
View gist:f1373964d8c19620d0abc3c81c8f35f4
- Installing wikimedia/composer-merge-plugin (v1.4.1): Downloading (100%)
- Installing anomaly/streams-composer-plugin (v1.1.4): Downloading (100%)
- Installing leafo/scssphp (v0.6.7): Downloading (100%)
- Installing oyejorge/less.php (v1.7.0.14): Downloading (100%)
- Installing websemantics/lcss2php (1.0.3): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.5.0): Loading from cache
- Installing twig/twig (v2.4.3): Downloading (100%)
- Installing vlucas/phpdotenv (v2.4.0): Loading from cache
- Installing symfony/css-selector (v3.1.10): Downloading (100%)
- Installing tijsverkoyen/css-to-inline-styles (2.2.0): Loading from cache
FrancisVarga / index.html
Last active Sep 6, 2019
ServiceWorker Example
View index.html
<!DOCTYPE html>
<html lang="en" dir="ltr">
<script data-ionic="inject">
(function(w){var i=w.Ionic=w.Ionic||{};i.version='3.6.0';i.angular='4.1.3';i.staticDir='build/';})(window);
<meta charset="UTF-8">

Dirty CORS


There are several tutorial's for CORS in PHP this one you need only to add it into your index.php and it should work. Simple and dirty as possible...

Laravel index.php Copy&Paste

View cms_v2_routing.php
* Created by PhpStorm.
* User: francisvarga
* Date: 7/21/15
* Time: 12:12 PM
Route::get('/', function () {
return view('admin.index');
#!/usr/bin/env bash
xcode-select --install &&
ruby -e "$(curl -fsSL" &&
brew doctor &&
brew tap caskroom/versions &&
brew tap caskroom/versions &&
brew tap josegonzalez/php &&
brew tap homebrew/dupes &&
brew install git automake percona-server
You can’t perform that action at this time.