Skip to content

Instantly share code, notes, and snippets.

View ragavsathish's full-sized avatar

Sathish Kumar Narayanan ragavsathish

View GitHub Profile
@rishitells
rishitells / Jest_GitLab_CI.md
Last active October 16, 2025 10:06
Setting up Jest tests and coverage in GitLab CI

Configuring Jest Tests in GitLab CI

1. Add GitLab CI configuration file in the root

In the root of your project, add .gitlab-ci.yml with the configuration below.

image: node:latest

stages:
@Hector1567XD
Hector1567XD / .gitlab-ci
Last active December 28, 2021 13:38 — forked from Slauta/.gitlab-ci
electron-updater from private repo gitlab.com (Fix Feed URL 20/05/2021)
variables:
VERSION_ID: '1.0.$CI_PIPELINE_ID'
stages:
- build
build:
image: slauta93/electron-builder-win
stage: build
artifacts:
@hermanbanken
hermanbanken / kustomize_vars.md
Created November 22, 2020 13:11
Kustomize Vars example

This was initially posted in an kubernetes-sigs/kustomize issue.

We are using Kustomize's vars feature. Initially we didn't understand how to use it for our purpose, but it is a 100% fit. One example is our Ingress resource, which looks like this:

# file: base/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: services
@Slauta
Slauta / .gitlab-ci
Last active July 31, 2025 22:28
electron-updater from private repo gitlab.com
variables:
VERSION_ID: '1.0.$CI_PIPELINE_ID'
stages:
- build
build:
image: slauta93/electron-builder-win
stage: build
artifacts:
@wvengen
wvengen / README.md
Last active September 17, 2021 12:23
Basic redux-api example
@jesperronn
jesperronn / docx2md.md
Last active May 22, 2025 20:00 — forked from aembleton/docx2md.md
Convert a Word Document into MD

Converting a Word Document to Markdown in One Move

The Problem

A lot of important government documents are created and saved in Microsoft Word (*.docx). But Microsoft Word is a proprietary format, and it's not really useful for presenting documents on the web. So, I wanted to find a way to convert a .docx file into markdown.

Installing Pandoc

On a mac you can use homebrew by running the command brew install pandoc.

The Solution

@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active January 25, 2026 05:45
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
@dragon788
dragon788 / gist:69295688c66f25ae3a97
Created January 28, 2015 23:19
Babun pip setup
http://atbrox.com/2009/09/21/how-to-get-pipvirtualenvfabric-working-on-cygwin/
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
easy_install pip
pip install mercurial-keyring
edit .hgrc with [auth] section
@mlanett
mlanett / rails http status codes
Last active January 7, 2026 22:37
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing