Skip to content

Instantly share code, notes, and snippets.

View artipixel's full-sized avatar

Artipixel artipixel

  • Artipixel
  • Israel
View GitHub Profile
@rxnlabs
rxnlabs / mongodb-cpanel-install
Last active July 8, 2021 19:20
Install MongoDB on cPanel/WHM
http://www.webmaster.net/how-install-mongodb-centos-6x-or-whm-server
http://linuxdiviner.wordpress.com/2012/07/25/compile-and-install-php-module-without-easyapache-on-cpanel-servers/
1. cd /etc/yum.repos.d
2. vi mongodb.repo
3. Add this code to file
[mongodb]
name=MongoDB Repo
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active May 30, 2025 22:04
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName