Skip to content

Instantly share code, notes, and snippets.

View nuclearpengy's full-sized avatar
🖥️
Debugging.

Nathan Jeffery nuclearpengy

🖥️
Debugging.
View GitHub Profile
@heshamelmasry77
heshamelmasry77 / gist:0b3b73a111fbab64cf036f35dc5913ef
Created February 8, 2024 15:17 — forked from rxaviers/gist:7360908
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:
@datashaman
datashaman / app.py
Created February 1, 2024 14:59
Monitor CloudWatch logs - print out warnings for logs that have large retention or size
import boto3
import json
# Warn if log retention is longer than 7 days
RETENTION_DAYS = 7
# Warn if log group is storing more than 1GB of data
STORED_BYTES = 1024 * 1024 * 1024
def print_warnings(log_groups):
@IanColdwater
IanColdwater / twittermute.txt
Last active April 22, 2024 17:26
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@Topener
Topener / slack_invite.php
Last active June 26, 2022 03:05
Simple PHP script to invite slack users
<?php
/**
* This is a simple script to invite users to your slack
* Replace the subdomain and token in the variables below.
* Upload a logo called "logo.png" to the same directory for your group
* Upload a logo called "slack.png" to the same directory for slack
*/
define('SUBDOMAIN','{YOUR SUBDOMAIN HERE}');
define('TOKEN','{YOUR API TOKEN HERE}');
?>