Skip to content

Instantly share code, notes, and snippets.

View codefoxut's full-sized avatar
🪑
Coding

Ujjwal Tak codefoxut

🪑
Coding
View GitHub Profile
@codefoxut
codefoxut / newRelicNuxt.md
Created March 30, 2024 06:14 — forked from Christopher-Hayes/newRelicNuxt.md
Using the NewRelic agent with Nuxt

Install the Agent

npm i newrelic


Add the newrelic.js file to the root

This file is downloaded from the New Relic node.js set up process.

@codefoxut
codefoxut / useful-git-aliases
Created May 30, 2022 07:21 — forked from AbdlrahmanSaberAbdo/useful-git-aliases
Some common and useful aliases in git that make you more efficient
[alias]
co = checkout
cob = checkout -b
coo = !git fetch && git checkout
br = branch
brd = branch -d
st = status
aa = add -A .
unstage = reset --soft HEAD^
cm = commit -m
@codefoxut
codefoxut / order_modules.py
Last active July 26, 2023 11:48
function to order module in dependency order.
import argparse
def order_modules(order_str, version_number_str):
# parse order list
order_list = [i.strip() for i in order_str.split(',')]
version_list = version_number_str.split()
version_dict = {}
for i in version_list:
i_lst = i.split('-')
version_dict["-".join(i_lst[:-1])] = i_lst[-1]