Skip to content

Instantly share code, notes, and snippets.

View d4rckh's full-sized avatar
Coding as usual.

andrei d4rckh

Coding as usual.
View GitHub Profile
d4rckh / wininet.c
Created September 14, 2022 13:48
wininet get requests
View wininet.c
#define _UNICODE
#include <tchar.h>
#include <wchar.h>
#include <Windows.h>
#include <WinInet.h>
#include <stdio.h>
int http_getrequest(char * host, int port, char * path, DWORD dwFileSize, DWORD * dwBytesRead, char * buffer) {
d4rckh /
Last active November 11, 2019 14:05
interface info linux
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


(Unofficial) Discord server rules suggestions list


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 / (Unofficial) Discord server rules suggestions
Last active October 21, 2023 16:54
(Unofficial) Discord server rules suggestions list
View (Unofficial) Discord server rules suggestions


(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 / Growing A Discord
Last active November 27, 2023 20:11
Tips for creating and growing a new Discord server
View Growing A Discord

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



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!


lancejpollard /
Created March 5, 2012 13:54
Complete List of HTML Meta Tags

Copied from

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">