Skip to content

Instantly share code, notes, and snippets.

View boubkhaled's full-sized avatar
🗨️
الحمد لله على نعمة الإسلام

Khaled boubkhaled

🗨️
الحمد لله على نعمة الإسلام
View GitHub Profile

Starting Postgresql in Windows without Install

Problem

This is a question that comes up quite often by windows users, so thought we would share how we normally do it. The question is

Can you run a PostgreSQL server on your windows desktop/server box without having to install anything?

The answer is

git config --global http.postBuffer 524288000
git clone http://github.com/large-repository --depth 1
cd large-repository
git fetch --unshallow
On Linux
Execute the following in the command line before executing the Git command:
@boubkhaled
boubkhaled / Github Webhook Tutorial.md
Last active April 29, 2021 14:00 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Utiliser les Webhooks

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings