Skip to content

Instantly share code, notes, and snippets.

View mahansky's full-sized avatar
🚀
Tinkering with web apps

Marek Mahanský mahansky

🚀
Tinkering with web apps
  • Slovakia
  • 18:43 (UTC +01:00)
View GitHub Profile
@mahansky
mahansky / readme.md
Last active October 28, 2020 14:26
xdebug + phpstorm setup

PHP

[xdebug]
zend_extension="path/to/xdebug.so" # enable on demand
xdebug.default_enable=1
xdebug.remote_port=9001
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1
xdebug.remote_enable=1

Dependencies

yarn add laravel-mix laravel-mix-purgecss cross-env tailwindcss postcss-import postcss-nesting

Installation

cp -r node_modules/laravel-mix/setup/webpack.mix.js ./
node_modules/.bin/tailwind init
@mahansky
mahansky / Skywire.md
Created April 12, 2018 14:07
Skywire - Adding security features to official OS packages

About this guide

This guide is written for owners of official Skywire Miner with official OS packages installed. I tried to make it as simple as possible, skipping out a lot of unnecessary steps, just to get it working. If you need further help, just ask in the Telegram group.

Table of contents

  1. Port forwarding
  2. NGINX SSL & HTTP BASIC AUTH
  3. Fail2Ban

Keybase proof

I hereby claim:

  • I am mahansky on github.
  • I am mprom (https://keybase.io/mprom) on keybase.
  • I have a public key ASDcMUeJnY2EfDC2xjtjLMuRirF1NZfwE1pfYise9-JfeAo

To claim this, I am signing this object: