Skip to content

Instantly share code, notes, and snippets.

View dPacc's full-sized avatar
:octocat:
超本能

Deepak dPacc

:octocat:
超本能
  • Abu Dhabi
  • 13:00 (UTC +04:00)
View GitHub Profile
@ashiwanikumar
ashiwanikumar / server-update-report.md
Last active October 5, 2023 09:22
Scheduled Server Updates & Get Report from Email

Updating a File:

1. Create a new file named "autoupdate" under /etc/cron.daily/:

Use the vim text editor to create the file:

sudo vim /etc/cron.daily/autoupdate
@dPacc
dPacc / mongodb-dump-restore.md
Created June 29, 2023 07:40
MongoDB dump and restore

Mongodb has two very useful commands for this purpose: mongodump and mongorestore. Here's how to use them:

  1. mongodump: It is a utility for creating a binary export of the contents of a database. Basically, using this command you can export MongoDb database.

    Use the following command to dump your local database:

    mongodump --db <your_database_name> --out <directory_path>
    

    For example:

@abdallahokasha
abdallahokasha / Install_robo3t_Ubuntu.md
Last active September 24, 2023 14:54
Install Robo3t on Ubuntu18.04 and make a desktop icon for it

Install Robo3t On Ubuntu 18.04

Download the package form Robo3t or using wget
wget https://download.robomongo.org/1.2.1/linux/robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz
Extract here using

tar -xvzf robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz

@matthewjberger
matthewjberger / instructions.md
Last active July 22, 2024 08:04
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

==========================
How Software Companies Die
==========================
- Orson Scott Card
The environment that nurtures creative programmers kills management and
marketing types - and vice versa.
Programming is the Great Game. It consumes you, body and soul. When
you're caught up in it, nothing else matters. When you emerge into