Skip to content

Instantly share code, notes, and snippets.

Avatar

Gautam krishna R gautamkrishnar

View GitHub Profile
@PurpleBooth
PurpleBooth / README-Template.md
Last active March 22, 2023 09:11
A template to make good README.md
View README-Template.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@joepie91
joepie91 / vpn.md
Last active March 18, 2023 06:31
Don't use VPN services.
View vpn.md

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@IanColdwater
IanColdwater / twittermute.txt
Last active March 10, 2023 18:28
Here are some terms to mute on Twitter to clean your timeline up a bit.
View twittermute.txt
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@oodavid
oodavid / README.md
Last active February 12, 2023 02:49 — forked from aronwoost/README.md
Deploy your site with git
View README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@zenorocha
zenorocha / README.md
Last active February 9, 2023 08:59
A template for Github READMEs (Markdown) + Sublime Snippet
View README.md

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage

@v0lkan
v0lkan / silence.sh
Last active November 25, 2022 13:52
How to Have a Silent and High-Performing Western Digital MyCloud Mirror
View silence.sh
#
# Needless to say, I (Volkan Ozcelik) take no responsibility, whatsoever,
# about what will happen to your NAS when you try these.
# When did it to mine, I observed *ENORMOUS* performance gain and a zen-like silence.
#
# +----------------------------------------------------------+
# | WHAT YOU ARE GOING TO DO CAN LIKELY VOID YOUR WARRANTY |
# | SO PROCEED WITH CAUTION |
# +----------------------------------------------------------+
#
@squarism
squarism / elk_stack_install.md
Last active May 20, 2022 11:04
Quick Elasticsearch / Kibana / Logstash (ELK stack) Install (for your local mac dev box)
View elk_stack_install.md

Elasticsearch / Kibana / Logstash Quick Install

Instructions for getting an ELK stack set up quick on Mac. Paths are opinionated. You'll have to infer and change. Sorry mate. 🍰

Install Homebrew if not already. You probably have. If not, you should.

brew install elasticsearch nginx

do yourself a favor and get a better services command than launchctl

@jpalala
jpalala / how-to-setup-mac-elasticsearch.md
Created September 11, 2015 08:28
setting up elasticsearch on your mac with brew
View how-to-setup-mac-elasticsearch.md

Install va homebrew

If you don't have homebrew installed - get homebrew here

Then run: brew install elasticsearch

Configuration

Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml.

@nicdoye
nicdoye / mysqlbackup.sh
Created February 2, 2013 13:07
Backup your OpenShift MySQL database. My DB is only small so I didn't bother to compress it through a pipe. sftp it back from your local machine afterwards This is basically a quick hack from running "type mysql" on the OpenShift gear - hint: it's a bash function/alias
View mysqlbackup.sh
mkdir ~/app-root/data/tmp
mysqldump -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD" --all-databases > ~/app-root/data/tmp//all.sql
@paulsheldrake
paulsheldrake / cpuminer_setup.sh
Last active January 21, 2018 15:17
Install cpuminer on an AWS instance
View cpuminer_setup.sh
sudo yum -y update
sudo yum -y groupinstall "Development Tools"
sudo yum -y install git libcurl-devel libcurl
# jansson C json library
wget ftp://fr2.rpmfind.net/linux/epel/testing/6/x86_64/jansson-2.6-1.el6.x86_64.rpm
wget ftp://fr2.rpmfind.net/linux/epel/testing/6/x86_64/jansson-devel-2.6-1.el6.x86_64.rpm
sudo yum -y install jansson-2.6-1.el6.x86_64.rpm
sudo yum -y install jansson-devel-2.6-1.el6.x86_64.rpm