Skip to content

Instantly share code, notes, and snippets.

View xingh's full-sized avatar

Rahul Singh xingh

View GitHub Profile
# Script to install RealVNC server
# Install the latest updates for the system
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
# Install RealVNC server
# sudo apt-get install -y realvnc-vnc-server
curl -L -o VNC https://www.realvnc.com/connect/download/binary/latest/debian/64-bit/
@xingh
xingh / headless-cms-archive.json
Created February 18, 2020 18:14
HEADLESSCMS.ORG DATA ARCHIVE
{"timestamp":1582049645810,"data":{"abecms":[{"timestamp":1582049645810,"stars":140,"forks":28,"issues":34}],"agility-cms":[{"timestamp":1582049645810,"followers":1835}],"any-json-cms":[{"timestamp":1582049645810,"stars":31,"forks":1,"issues":0}],"appernetic":[{"timestamp":1582049645810,"followers":2847}],"b2evolution-cms":[{"timestamp":1582049645810,"followers":1016,"stars":124,"forks":54,"issues":12}],"bloomreach":[{"timestamp":1582049645810,"followers":11752}],"bowtie":[{"timestamp":1582049645810,"followers":8}],"butter-cms":[{"timestamp":1582049645810,"followers":554}],"canner":[{"timestamp":1582049645810,"stars":2519,"forks":141,"issues":41}],"cloudcannon":[{"timestamp":1582049645810,"followers":1063}],"cloud-cms":[{"timestamp":1582049645810,"followers":268}],"cockpit":[{"timestamp":1582049645810,"followers":1006,"stars":4350,"forks":432,"issues":167}],"coisas":[{"timestamp":1582049645810,"stars":281,"forks":24,"issues":3}],"comfortable":[{"timestamp":1582049645810,"followers":46}],"contenta":[{"timestam
[
{
"area":"content-left",
"name": "DOCKER: Self Paced Training",
"path":"https://training.docker.com/self-paced-training",
"ContentImages_small":"",
"ContentImages_large":"",
"title": "DOCKER: Self Paced Training",
"content": "Docker's own self paced training class.",
"category": "Training",
@xingh
xingh / itemapi.docker.compose.yml
Last active December 26, 2016 18:17
ItemAPI / Elastic / Redis Docker Compose File
version: '2'
services:
api:
container_name: search_web_admin_api
build:
context: .
environment:
ELASTICSEARCH_URL: "http://elastic:9200"
REDIS_URL: "redis://redis:6379"
MONGODB_URL: "mongodb://mongo:27017"
@xingh
xingh / howto.cleaning.dirty.files.md
Last active October 26, 2016 22:02
How to Clean Dirty files from a Git Repository
  1. I made a backup of all branches and the bare repo ( zipped up and put on Dropbox of each directory )

git clone -b <branch> http://<gitlocation>

git clone http:<gitlocation>

git clone --mirror http:<gitlocation> (bare repo)

  1. I went into the regular clones ( not bare repo ) and deleted all the dirty files from the file system
BaseEvents:
image: "eventstore/eventstore:latest"
BaseQueue:
image: "rabbitmq:latest"
ports:
- "5672:5672"
- "15672:15672"
expose:
- "5672"
hostname: rabbitmq

Docker Compose for Redash (in Powershell)

  1. Make sure you have a docker machine up and running. to see if the docker machine is listed run docker-machine ls

  2. Make sure your current working directory is the root of this github repository.

  3. run git clone https://github.com/getredash/redash.git and then cd redash

  4. Run docker build .

  5. Run docker-compose up -d postgres to see if the docker container is up run docker ps

<delete><query>*.*</query></delete>
<commit/>
cd \Projects\External\search.cloud
docker-machine start dev
docker-machine ls
docker-machine env --shell powershell dev | iex
docker ps
Good Reference at "Get Started with Docker on Windows using Chocolatey"
https://stefanscherer.github.io/get-started-with-docker-on-windows-using-chocolatey/
# Install Chocolatey in Powershell
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
# OR in Command
# @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin