Skip to content

Instantly share code, notes, and snippets.

View iifast2's full-sized avatar
:octocat:
Focusing !

Med Amine bt iifast2

:octocat:
Focusing !
  • 05:46 (UTC +02:00)
View GitHub Profile
# Add Flutter and Dart to the PATH env
echo -e "\n# Flutter & Flutter bin Path\nexport PATH=\"\$PATH:/opt/flutter/bin\"\n\n# Set Flutter and Dart Home\nexport FLUTTER_HOME=/opt/flutter\nexport DART_HOME=\$FLUTTER_HOME/bin" >> ~/.bashrc
@iifast2
iifast2 / flutter_installation_script.sh
Last active May 30, 2024 16:12
Flutter 3.19.x installation script for ubuntu/trusty64 & ubuntu server 22.04 LTS
#!/bin/bash
# Update the package list
sudo apt update
# Install necessary packages
sudo apt install -y git wget unzip curl xz-utils
# Download Flutter
FLUTTER_VERSION="3.19.6-stable"

Laravel

Commands

composer install
composer dump-autoload
composer update
@iifast2
iifast2 / FF Fixing PUBSPEC.YAML.yaml
Last active February 19, 2024 11:45
FF Fixing PUBSPEC.YAML DownGrading Flutter <4
name: expandy_nav
description: A new Flutter project.
publish_to: 'none'
version: 1.0.0+1
/*
environment:
sdk: ">=3.0.0 <4.0.0"
*/
@iifast2
iifast2 / generate-images-using-gpt-3-and-pollinations-ai.txt
Last active August 9, 2023 10:28
using GPT 3 to generate images using pollinations.ai/prompt
continue with below prompt.
INPUT = {focus}
OUTPUT = {description} \n ![IMG](https://image.pollinations.ai/prompt/{description})
{description} = {focusDetailed},%20{adjective1},%20{adjective2},%20{visualStyle1},%20{visualStyle2},%20{visualStyle3},%20{artistReference}
@iifast2
iifast2 / OpenVPN connect Setup on Proxmox
Last active January 13, 2023 08:15
OpenVPN connect Setup on Proxmox.md
#### In proxmox shell / CMD ####
cd /etc/pve/lxc
# press "ls" to list your containers and you can find the container number.
nano (container number)
add these lines
lxc.cgroup.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir