This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use App\Models\File; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\Log; | |
use Illuminate\Support\Facades\Storage; | |
class FilesRController extends Controller |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_NAME=Elearny | |
APP_ENV=local | |
APP_KEY=base64:F3lX2XiWbULtR5SwZnR4TNVn/E93S1Fg/lMepg6vxWg= | |
APP_DEBUG=true | |
APP_URL=https://elearning.theteam.com.tn | |
FRONTEND_URL=https://cool-napier.85-215-138-217.plesk.page | |
#https://elearning.theteam.com.tn | |
#http://localhost |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: expandy_nav | |
description: A new Flutter project. | |
publish_to: 'none' | |
version: 1.0.0+1 | |
/* | |
environment: | |
sdk: ">=3.0.0 <4.0.0" | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
continue with below prompt. | |
INPUT = {focus} | |
OUTPUT = {description} \n  | |
{description} = {focusDetailed},%20{adjective1},%20{adjective2},%20{visualStyle1},%20{visualStyle2},%20{visualStyle3},%20{artistReference} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### 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 |