Skip to content

Instantly share code, notes, and snippets.

View manyopensource's full-sized avatar
🏠
Working from home

manyopensource

🏠
Working from home
View GitHub Profile
@manyopensource
manyopensource / reverb-instructions.md
Created June 30, 2024 12:47 — forked from lewislarsen/reverb-instructions.md
Instructions for how to setup Laravel Reverb in Production.

Reverb Walkthrough

This is a walkthrough of how to configure Laravel Reverb for production using services like Laravel Forge or Ploi. The first step is nginx configuration changes, then .env changes and finally spinning up your Reverb server.

1. Configuring Nginx

Ensure your nginx site configuration has the following inside the server block:

 location /app {
@manyopensource
manyopensource / Commit Date.md
Created June 19, 2024 19:08 — forked from PradyumnaKrishna/Commit Date.md
Change Git Commit Date

Change Git Commit Date

  • Commit your git using

    git add -A
    git commit -m "commit message"
    
  • Change time or date of your latest commit

GIT_COMMITTER_DATE="Wed Sep 9 22:00 2020 +0530" git commit --amend --date="Wed Sep 9 22:00 2020 +0530"

@manyopensource
manyopensource / parallels-reset.sh
Created April 1, 2024 18:44 — forked from gdurastanti/parallels-reset.sh
Reset Parallels' trial
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%d@gmail.com -r 1
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@manyopensource
manyopensource / Allow-multiple-gestures.dart
Created June 12, 2020 17:59 — forked from Nash0x7E2/Allow-multiple-gestures.dart
Sample code on how to enable gesture pass through so that both the parent and the child widget receive the gesture.
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
//Main function. The entry point for your Flutter app.
void main() {
runApp(
MaterialApp(
home: Scaffold(
body: DemoApp(),
),
@manyopensource
manyopensource / gist:761945e15fcec125febb496f1ec71013
Created June 6, 2020 06:10
Another work-around is creating a link to pub
sudo ln -s /usr/lib/dart/bin/pub /usr/bin/pub
@manyopensource
manyopensource / gist:890fface6f8910f84733d9d4cfd17d4e
Last active June 26, 2020 12:24
Domain zones' names with the maximum number of characters
NORMAL
.travelersinsurance
.northwesternmutual
PUNYCODE
.xn--clchc0ea0b2g2a9gcd
.xn--vermgensberater-ctb
.xn--vermgensberatung-pwb
@manyopensource
manyopensource / ca.md
Created July 21, 2018 16:55 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.