Skip to content

Instantly share code, notes, and snippets.

View rplevka's full-sized avatar

Roman Plevka rplevka

  • SentinelOne
  • Brno, Czech republic
View GitHub Profile
@ismailyenigul
ismailyenigul / nextcloud-pgsql-redis-traefikv2-docker-compose.yml
Last active October 11, 2023 13:11
Docker-compose file for nextcloud with pgsql,redis and traefik deployment
# docker network create nextcloud
NOTES:
1. [email protected]
2. TRUSTED_PROXIES values based on your 'nexcloud network'
3. remove traefik.http.middlewares.nextcloud.headers.contentSecurityPolicy and
traefik.http.middlewares.nextcloud.headers.customFrameOptionsValue if you don't want to allow iframe your domain
3
# cat docker-compose.yml
git clone https://github.com/theforeman/foreman_remote_execution /home/vagrant/foreman_remote_execution
echo "gem 'foreman_remote_execution', :path => '/home/vagrant/foreman_remote_execution'" >> /home/vagrant/foreman/bundler.d/Gemfile.local.rb
cd /home/vagrant/foreman
bundle install
rake db:migrate
rake db:seed
npm install
# restart rails server
@fntlnz
fntlnz / i3wm-fedora.md
Last active December 23, 2024 08:47
i3wm fedora lightdm

Install i3

dnf install i3

Add exec i3 to xinitrc

echo "exec i3" > ~/.xinitrc
@peel
peel / gist:ca8c5b25efbe3052fdb5
Last active September 24, 2024 09:19
SJ4000 WIFI Protocol

#Base URL http://192.168.1.254

File Management Panel

GET / file management panel

Configuration options

all options follow the template: /?custom=1&cmd={Command}&par={Option} Command - setting/mode of the device