Skip to content

Instantly share code, notes, and snippets.

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

Rasul Kireev rasulkireev

🏠
Working from home
View GitHub Profile

Make sure you have Droplet Access enabled. If you see something like below, make sure to install/enable it first.

image

Once done, login into the droplet, and run the following commands:

  • sudo systemctl disable ssh.service to disable it on startup
  • sudo systemctl stop ssh.service to stop the current one
  • sudo systemctl mask ssh.service. This makes systemd unit files a symlink to /dev/null, so any start attempts will fail.
@rasulkireev
rasulkireev / webpack.config.dev.js
Last active June 19, 2022 03:29
Django Webpack Dev
const Path = require("path");
const Webpack = require("webpack");
const { merge } = require("webpack-merge");
const StylelintPlugin = require("stylelint-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const ESLintPlugin = require("eslint-webpack-plugin");
const common = require("./webpack.common.js");
module.exports = merge(common, {
@rasulkireev
rasulkireev / .gitignore
Last active February 22, 2024 14:02
gitignore for Django projects
# DB
backup-dbs/
media/
*.sqlite3
# Javascript
node_modules/
bundles/
# Byte-compiled / optimized / DLL files
### Keybase proof
I hereby claim:
* I am rasulkireev on github.
* I am rasulkireev (https://keybase.io/rasulkireev) on keybase.
* I have a public key ASBfWVXiUMyHjrFRo0iz085MzHyiDSPkSVZvMiWC7o87Ewo
To claim this, I am signing this object: