Skip to content

Instantly share code, notes, and snippets.

View Rafael-Ramblas's full-sized avatar

Rafael Ramblas Rafael-Ramblas

  • omnivector-solutions
View GitHub Profile
@Rafael-Ramblas
Rafael-Ramblas / shebangToLanguage.json
Created June 19, 2024 18:31
A JSON that maps know shebangs to their correspondent languages
{
"#!/bin/bash": "shell",
"#!/bin/sh": "shell",
"#!/bin/zsh": "shell",
"#!/bin/python3": "python",
"#!/usr/bin/env python": "python",
"#!/usr/bin/env perl": "perl",
"#!/usr/bin/env ruby": "ruby",
"#!/usr/bin/env php": "php",
"#!/usr/bin/env node": "javascript",
@Rafael-Ramblas
Rafael-Ramblas / file-extension-to-language.json
Last active September 4, 2024 18:03
This gist maps all the file extensions to supported monaco editor languages. This is based on monaco docs and github's language to extension map.
{
"_coffee": "coffeescript",
"_js": "javascript",
"adp": "tcl",
"al": "perl",
"ant": "xml",
"aw": "php",
"axml": "xml",
"bash": "shell",
"bats": "shell",