Skip to content

Instantly share code, notes, and snippets.

View ramnaq's full-sized avatar
☀️

Ramna Sidharta ramnaq

☀️
View GitHub Profile
@sreeragh-ar
sreeragh-ar / python_quick_tips.ipynb
Created June 23, 2021 14:07
Python_quick_tips.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@meyer1994
meyer1994 / linkify.vue
Last active June 23, 2021 00:38
Extract links from text in Vue and add them as anchors (safely)
<template>
<div>
<template v-for="(item, i) of text">
<a v-if="item.link" :key="i" :href="item.text">
{{ item.text }}
</a>
<template v-else>
{{ item.text }}
</template>
</template>
@magnetikonline
magnetikonline / README.md
Last active June 19, 2024 00:00
List all Git repository objects by size.

List all Git repository objects by size

Summary

Bash script which will:

  • Iterate all commits made within a Git repository.
@a3dho3yn
a3dho3yn / mongodb_c#_cheatsheet.md
Last active June 13, 2024 14:12
MongoDB C# Driver Cheat Sheet

MongoDB C# Driver Cheat Sheet

(C) 2015 by Derek Hunziker, (C) 2017 by AppsOn

As of releasing MongoDB 3.4 and C# Driver v2.4, original cheatsheet by Derek is outdated. In addition, it has some deficiencies like connecting to MongoDB, creating indexes, etc. This updated version works fine with C# Driver v2.4.7 and MongoDB v3.4.

Setup

Define Document Models

Note: Defined models and collections will be used in entire cheatsheet.