Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Coding as usual.

d4 r c k h d4rckh

💻
Coding as usual.
View GitHub Profile
@d4rckh
d4rckh / ethstats.sh
Last active Nov 11, 2019
interface info linux
View ethstats.sh
interface="enp3s0"
echo "Interface: $interface"
mac=$(eval "ifconfig enp3s0 | grep 'ether' | awk '{ print \$2 }'")
RX=$(eval "ifconfig $interface | grep 'RX packets' | awk '{ print \$6 }' | cut -d \"(\" -f 2")
TX=$(eval "ifconfig $interface | grep 'TX packets' | awk '{ print \$6 }' | cut -d \"(\" -f 2")
echo "RX: $RX MB"
echo "TX: $TX MB"
echo "MAC Address: $mac"
View (Unofficial) Discord server rules suggestions list.md

Discord

(Unofficial) Discord server rules suggestions list

Introduction

You just had a great idea for a new Discord server and immediately created it but now you need not only to set up the channels and permissions but also to grind through the daunting task of coming up with a list of rules.

There are so many things to consider, so many possible ways that people could ruin your server, and you also wonder about how you can design your rules in such a way that the members will be able to enjoy their time on your server but also not go overboard.

@Ryonez
Ryonez / (Unofficial) Discord server rules suggestions list.md
Last active Sep 5, 2021
(Unofficial) Discord server rules suggestions list
View (Unofficial) Discord server rules suggestions list.md

Discord

(Unofficial) Discord server rules suggestions list

Author's Note

I'll start off with letting you know this is a fork from someone else. However, for some bizarre reason, this is the one everyone finds, so I better get round to updating this. Credit to Cristiano#2233 for the original idea.

Also, I've had a lot of people saying the rules are to strict. If you pick all the rules here, you're right, it would be very strict. However the rules below are guidelines! They are there for you to pick the ones you desire, you can ignore ones you don't want. Hopefully they might help with rules you wouldn't have thought of otherwise.

@jagrosh
jagrosh / Growing A Discord Server.md
Last active Sep 4, 2021
Tips for creating and growing a new Discord server
View Growing A Discord Server.md

This guide is kept up-to-date as Discord and available resources change!
A basic server template is available here

Creating and Growing a Discord Server

logo

Introduction

Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!

Background

@gordonbrander
gordonbrander / ID.js
Created Mar 28, 2012
ID - a unique ID/name generator for JavaScript
View ID.js
// Generate unique IDs for use as pseudo-private/protected names.
// Similar in concept to
// <http://wiki.ecmascript.org/doku.php?id=strawman:names>.
//
// The goals of this function are twofold:
//
// * Provide a way to generate a string guaranteed to be unique when compared
// to other strings generated by this function.
// * Make the string complex enough that it is highly unlikely to be
// accidentally duplicated by hand (this is key if you're using `ID`
@lancejpollard
lancejpollard / meta-tags.md
Created Mar 5, 2012
Complete List of HTML Meta Tags
View meta-tags.md

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">