- Rails 7.0.2
- stimulus js
- importmaps
- dropzone.js
- direct upload ActiveStorage
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
KAMAL_REGISTRY_PASSWORD=xxx | |
RAILS_MASTER_KEY=xxxxxxxxxxxxxxx | |
POSTGRES_PASSWORD=xxxxxxxxxxxxx | |
REDIS_PASSWORD=my-redis-password | |
REDIS_URL=redis://:my-redis-password@n28-redis:6379/1 |
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
app/assets/javascripts/custom.js | |
$(document).ready(function() { | |
let arraySelect2 = [".select2-yourvarname"] | |
function select2Dynamic(name) { | |
let id = $(name).attr("data-id") | |
let text = $(name).attr("data-name") | |
$(name).select2({ | |
placeholder: "Select Data", |
# WSL1 compatibility with X server (x410, others should work) | |
if [[ "$(</proc/version)" == *Microsoft* ]] 2>/dev/null; then | |
export WSL=1 | |
export DISPLAY=localhost:0 | |
export NO_AT_BRIDGE=1 | |
export LIBGL_ALWAYS_INDIRECT=1 | |
fi | |
# WSL2 compatibility | |
if [[ "$(</proc/version)" == *microsoft* ]] 2>/dev/null; then |
--require spec_helper |
Balsamiq Wireframes for Desktop full license key free | |
This old name is Balsamiq Mockups now the company changing the name to Balsamiq Wireframes for Desktop insteed | |
HOW TO: | |
First download softwere here: https://balsamiq.com/wireframes/desktop/ | |
Install and follow screen direction | |
Use below serial: | |
===================================================================================== |
Run the following in powershell as admin
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Install a distro (ex: Ubuntu 18.04 LTS - https://www.microsoft.com/store/apps/9N9TNGVNDL3Q)
Open your distro you installed via the start menu, let it setup
Update and upgrade
sudo apt-get update