Skip to content

Instantly share code, notes, and snippets.

Avatar

Rahul Singh xingh

View GitHub Profile
@xingh
xingh / anant.architecture.boxstarter.script.txt
Last active Apr 7, 2020
Anant.Architecture.Practice.Development.Environment
View anant.architecture.boxstarter.script.txt
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinst devbox-common
cinst GoogleChrome
cinst fiddler4
cinst Firefox
cinst AutoRuns
cinst notepadplusplus
cinst 7zip
View docker.windows.aspnet.quickstart.commands
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
View docker.windows.solr.zookeper
cd \Projects\External\search.cloud
docker-machine start dev
docker-machine ls
docker-machine env --shell powershell dev | iex
docker ps
View useful.solr.commands.xml
<delete><query>*.*</query></delete>
<commit/>
View redash.docker.windows.setup.md

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

View search-docker-compose.yml
BaseEvents:
image: "eventstore/eventstore:latest"
BaseQueue:
image: "rabbitmq:latest"
ports:
- "5672:5672"
- "15672:15672"
expose:
- "5672"
hostname: rabbitmq
@xingh
xingh / howto.cleaning.dirty.files.md
Last active Oct 26, 2016
How to Clean Dirty files from a Git Repository
View howto.cleaning.dirty.files.md
  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
@xingh
xingh / itemapi.docker.compose.yml
Last active Dec 26, 2016
ItemAPI / Elastic / Redis Docker Compose File
View itemapi.docker.compose.yml
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"
View topic.docker.json
[
{
"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 / headless-cms-archive.json
Created Feb 18, 2020
HEADLESSCMS.ORG DATA ARCHIVE
View headless-cms-archive.json
{"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