Skip to content

Instantly share code, notes, and snippets.

View raunak-r's full-sized avatar

Raunak Ritesh raunak-r

View GitHub Profile
@raunak-r
raunak-r / Readme.md
Last active September 28, 2022 12:43
Jenkins REST Api Formats

Jenkins REST API Formats (Java)

Refer - https://stackoverflow.com/a/51517348

I'll leave the original question as is and elaborate here on the various API calls to trigger parameterized builds. These are the calls options that I used.

Additional documentation: https://wiki.jenkins.io/display/JENKINS/Remote+access+API

The job contains 3 parameters named: product, suites, markers
@raunak-r
raunak-r / README.md
Created May 13, 2022 16:19
Dockerfiles

Dockerfiles

A collection of dockerfiles for Java, Python and Angular
@raunak-r
raunak-r / README.md
Created September 20, 2021 06:52
Pipe implementation in Angular

Pipe implementation in Angular

Requirements -

- pipes/ => A folder to store all the pipes.
- shared-pipes.module.ts => A module file just outside to declare and export all the pipes.
- app.module.ts => Global app module to import the sharedPipesModule. 
Note - sharedPipesModule can be imported in any other module to be visible in all the components. 
For ex. - If a component is imported in another sub-app-module, then sharedPipesModule will have to be imported in sub-app-module file also.
@raunak-r
raunak-r / pythonSetupOnWSL.md
Last active October 13, 2022 03:42
Python Setup for Backend Development in Windows using WSL
@raunak-r
raunak-r / learnPythonDjango.md
Last active September 15, 2021 06:44
Python and Django in 7 Days
@raunak-r
raunak-r / readme.md
Last active August 19, 2021 13:34
Django setting DEBUG=True in production.

Setting DEBUG=True in a Django Project.

Locally, change the DEBUG property in settings.py to True.

Make sure you have the following properties set in settings.py:

The URL to use when referring to static files (where they will be served from) STATIC_URL = '/static/'

The absolute path to the directory where collectstatic will collect static files for deployment.

@raunak-r
raunak-r / README.md
Last active May 13, 2022 16:17
Setting up Celery & Redis to a Django Project.

Adding Redis and Celery to a Django Project

Terminal 1

Run standalone docker container for Redis. 
cd to <path-to-repo>/redis
Build - sudo docker build -t redis .
Run - sudo docker run -p 6379:6379 --log-opt max-size=10m redis