Skip to content

Instantly share code, notes, and snippets.

View projectoperations's full-sized avatar
💭
building learning and connections

projectoperations projectoperations

💭
building learning and connections
View GitHub Profile

1. Download JetBrains Toolbox

open your system browser and visit the official download page using the embed link and save the .tar.gz archive of Toolbox on your system.

2. Install libfuse2

Also, install libfuse2 before running the APP image of JetBrains Toolbox otherwise you would get an error:

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
Taken from: http://www.cyberciti.biz/faq/create-ssh-config-file-on-linux-unix/
System-wide SSH client configuration files
/etc/ssh/ssh_config : This files set the default configuration for all users of OpenSSH clients on that desktop/laptop and it must be readable by all users on the system.
User-specific SSH client configuration files
~/.ssh/config or $HOME/.ssh/config : This is user’s own configuration file which, overrides the settings in the global client configuration file, /etc/ssh/ssh_config.
~/.ssh/config file rules
@projectoperations
projectoperations / docker-compose.yml
Last active December 31, 2024 01:03 — forked from dictcp/docker-compose.yml
docker-compose starting Apache with custom vhost config
version: '2'
services:
web:
image: httpd
volumes:
- ./vhost.conf:/usr/local/apache2/conf/extra/vhost.conf
ports:
- "8082:80"
@projectoperations
projectoperations / .gitattributes
Created December 24, 2024 17:19 — forked from Voonder/.gitattributes
Sample of git config file (Example .gitconfig, .gitattributes, .gitignore)
# Auto detect text files and perform LF normalization
* text=auto
# Documents
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
@projectoperations
projectoperations / container.rsc
Created December 21, 2024 20:37 — forked from bburky/container.rsc
Run the Tailscale Docker container on a Mikrotik router
# Run the Tailscale Docker container on a Mikrotik router
# Based on Mikrotik container documentation:
# https://help.mikrotik.com/docs/display/ROS/Container
# Tailscale container documentation:
# https://hub.docker.com/r/tailscale/tailscale
# Tested on an hAP AX^3 with RouterOS 7.7
@projectoperations
projectoperations / vps-cmd-setup-node-mongodb.txt
Created December 20, 2024 00:06 — forked from marcuwynu23/vps-cmd-setup-node-mongodb.txt
Setup VPS(ubuntu 2022) for web hosting and database hosting node.js express and mongodb
Working with nodejs-mongodb Project with Virtual Private Server (linux VPS) in Terminal
################################################ ssh to the vps ##################################################################
# mongodb hosting vps
ssh <username>@<ip address|domainname>
############################################## install nodejs and npm #############################################################
sudo apt install -y nodejs npm
########################################### install mongodb server ########## #####################################################
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
@projectoperations
projectoperations / Install VNC server on Ubuntu
Created December 11, 2024 13:35 — forked from Kalki5/Install VNC server on Ubuntu
Install VNC server on Ubuntu with GCC, Gedit, Mate terminal and Google Chrome
sudo su
adduser hadoop
usermod -aG sudo hadoop
su - hadoop
sudo vim /etc/ssh/sshd_config
PasswordAuthentication yes
sudo service sshd restart
@projectoperations
projectoperations / README.md
Created October 2, 2024 12:14 — forked from bnhf/README.md
Tailscale - Deploying with Docker and Portainer

Just thought I'd put together some detail on deploying Tailscale using Docker and Portainer. These bits-and-pieces are available elsewhere, but not together, so hopefully this will save someone a bit of time if you'd like to add Tailscale to an existing Docker install:

Here's my annotated recommended docker-compose, to use with Portainer-Stacks. Note that I'm not using a pre-made Auth Key. I started that way, but realized it was very easy to simply check the Portainer log for the tailscaled container once the stack is running. In that log you'll see the standard Auth link that you can use to authorize the container. This way you don't need to create a key in advance, or create a reusable key that introduces a security risk:

version: '3.9'
services:
  tailscale:
    image: tailscale/tailscale
    container_name: tailscaled
@projectoperations
projectoperations / setup.ps1
Created September 28, 2024 10:24 — forked from Tiberriver256/setup.ps1
My Ubuntu development environment setup script
#!/bin/pwsh
Install-Module -Name Get-ChildItemColor, oh-my-posh, posh-git, nvm -Force
md ~\.config\powershell
"Set-Theme -name Darkblood" | Out-File $Profile -Append
Install-NodeVersion 8
Install-NodeVersion 10
From 5d920ec604a896cfd8419f9360f3a81adedd19eb Mon Sep 17 00:00:00 2001
From: Przemyslaw Pawelczyk <przemoc@gmail.com>
Date: Sat, 30 Jan 2010 20:57:06 +0100
Subject: [PATCH] BadRAM for v2.6.32.x
Attempt to adapt BadRAM patches to recent kernel versions. Includes
improvements and fixes(?). Were previous versions working on x86_64?
I am kernel newbie so all my below thoughts might be severly wrong.
I am not sure about correctness of x86_32 path involving highmem. It is