Skip to content

Instantly share code, notes, and snippets.

View oosidat's full-sized avatar

Osama Sidat oosidat

View GitHub Profile

Minimal Eslintrc for NodeJS Projects

  • Run npm install --save-dev eslint
  • Create .eslintrc with the following contents
root: true

env:
  node: true
 es6: true
@oosidat
oosidat / docker-compose-mongo-redis-postgres.yml
Created August 15, 2017 02:00
Simple docker-compose for starting up mongo, redis and postgres in docker...
mongo:
image: mongo:3.2.11
volumes:
- /data/db/mongo
ports:
- "27017:27017"
redis:
image: redis
volumes:
0x2460d9BA68d2F1253E8F4A84f0118Cac67cCC056
@oosidat
oosidat / gist_with_images.md
Created July 21, 2021 14:57
Gist with Images (for testing image urls)

Gist with Images (for testing image urls)

@oosidat
oosidat / gist:ab29805456454b4bd43a4181e0b126cc
Created June 11, 2025 21:02
Memcached Meta Command Flags (2025-06)

Memcached Meta Command Flag table

Derived from https://github.com/memcached/memcached/blob/master/doc/protocol.txt, just in this format for easy access

Flag Commands Description
b mg, ms, md, ma, me Interpret key as base64 encoded binary value
c mg, ms, ma Return item CAS token
C(token) ms, md, ma Compare CAS value when storing/deleting
D(token) ma Delta to apply for arithmetic operation