Skip to content

Instantly share code, notes, and snippets.

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

Szymon Tomczyk sztomczyk

🏠
Working from home
View GitHub Profile
@mahammad
mahammad / firefox-developer-edition.md
Last active June 21, 2024 22:26
How To install Firefox Developer Edition and create desktop icon for Ubuntu 14.04 LTS

chose other install way

  1. Open Terminal Ctrl+Alt+T Download Firefox Developer Edition tar file

    wget https://download.mozilla.org/?product=firefox-aurora-latest-ssl&os=linux64&lang=en-US

  2. Copy tar file to opt sudo cp -rp firefox-35.0a2.en-US.linux-x86_64.tar.bz2

  3. Open opt folder (cd /opt/) and untar file sudo tar xjf firefox-35.0a2.en-US.linux-x86_64.tar.bz2

@v1shwa
v1shwa / dynamic_subdomains
Created March 21, 2019 13:54
Dynamically map subdomains to different ports on the server - using Nginx
server {
listen 80;
# maps p8080.example.com -> localhost:8080
server_name ~^p(?<port>[^.]+)\.example\.com$;
location / {
proxy_pass http://localhost:$port;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
@Splode
Splode / Laravel-Scheduler-Windows.md
Last active July 23, 2024 14:46
Laravel Scheduler on Windows

Run Laravel Scheduled Tasks on Windows

The following are instructions for running scheduled tasks defined in a Laravel project on Windows. The Laravel documentation provides instructions for running scheduled tasks using cron jobs on Linux systems. However, cron jobs are not available on Windows. The built-in Windows Task Scheduler can be used to run scheduled tasks instead.

Create a Scheduled Task

  1. Open Task Scheduler
  2. Select Create Task...
  3. Give the task a name and description
  4. To run the task in the background, select Run whether the user is logged on or not and check the Hidden checkbox.
@primaryobjects
primaryobjects / tplink-archer-t4u.md
Last active June 18, 2024 04:45
Steps to Install the TP-Link Archer T4U Plus AC1300 USB WiFi Adapter on Linux Mint