Skip to content

Instantly share code, notes, and snippets.

View renexdev's full-sized avatar

reneX renexdev

View GitHub Profile
@renexdev
renexdev / ubuntu-eol.md
Created September 7, 2019 23:51 — forked from dergachev/ubuntu-eol.md
What to do when your ubuntu distro is End-of-Life

Let's say you're using Ubuntu 13.04 (Raring Ringtail, released in April 2013) and it just went End-of-Life on you, because it's supported for only 6 months, and the deprecated packages are taken down after 12 months.

You'll probably figure this out the hard way. When you run sudo apt-get update, it will eventually report these errors:

Ign http://archive.ubuntu.com raring-updates/universe Sources/DiffIndex
Err http://security.ubuntu.com raring-security/main Sources
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com raring-security/universe Sources
  404  Not Found [IP: 91.189.91.15 80]
@renexdev
renexdev / database.rules.json
Created April 28, 2019 00:34 — forked from codediodeio/database.rules.json
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@renexdev
renexdev / README.md
Created March 21, 2018 15:52 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@renexdev
renexdev / gist:77278f48f4255ebdeeb590e47b97273f
Created January 12, 2018 17:20 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@renexdev
renexdev / installing-node-with-nvm.md
Created December 4, 2017 17:13 — forked from d2s/installing-node-with-nvm.md
Installing Node.js for Linux & macOS with nvm
@renexdev
renexdev / git_remote_branches.sh
Created June 28, 2017 13:08 — forked from roscius/git_remote_branches.sh
Git: Track Remote Branches
# Create new remote branch
git push origin origin:refs/heads/new_branch_name
# Make sure everything is updated
git fetch origin
# Check your branch has been created
git branch -r
# Track a remote branch
@renexdev
renexdev / facebook--posts-deleter-2016-firefox-greasemonkey.js
Created February 10, 2017 13:52 — forked from vsubhash/com.vsubhash.js.facebook-posts-deleter
"Facebook Posts Deleter 2016" script is a Greasemonkey JavaScript that will automatically delete Facebook posts one by one without any user intervention. Install this script in Firefox using the Greasemonkey add-on. Then, go to your "Activity Log" and click on the "Delete Facebook Posts" that pops on the top-left.
// ==UserScript==
// @name Facebook Posts Deleter
// @namespace com.vsubhash.js.facebook.posts.deleter
// @description Deletes all facebook posts
// @version 1
// @grant none
// ==/UserScript==
document.addEventListener("DOMContentLoaded", addFacebookPostsDeleteButton, false);