Skip to content

Instantly share code, notes, and snippets.

View imSrbh's full-sized avatar
💻
https://sourcerer.io/imsrbh

Saurabh Kumar Singh imSrbh

💻
https://sourcerer.io/imsrbh
View GitHub Profile
@JustinhoCHN
JustinhoCHN / Makefile
Last active June 29, 2021 06:34
nvdsanalytics + msgconv
################################################################################
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#

How to find disk usage information on linux

Install this simple tool ncdu for linux

sudo apt install ncdu

After this simply run the command:

sudo ncdu -x /
@pushplay
pushplay / clearTable.sh
Last active May 28, 2024 13:51
Delete all items (clear) in a DynamoDB table using bash
#!/bin/bash
TABLE_NAME=TableName
KEY=id
aws dynamodb scan --table-name $TABLE_NAME --attributes-to-get "$KEY" --query "Items[].id.S" --output text | tr "\t" "\n" | xargs -t -I keyvalue aws dynamodb delete-item --table-name $TABLE_NAME --key '{"id": {"S": "keyvalue"}}'
@rxaviers
rxaviers / gist:7360908
Last active July 2, 2024 22:38
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: