Skip to content

Instantly share code, notes, and snippets.

View guiliredu's full-sized avatar
🚀
Working

Guilherme Dias Redü guiliredu

🚀
Working
View GitHub Profile
@Shpigford
Shpigford / readme
Created January 20, 2026 20:33
/readme
---
name: readme
description: When the user wants to create or update a README.md file for a project. Also use when the user says "write readme," "create readme," "document this project," "project documentation," or asks for help with README.md. This skill creates absurdly thorough documentation covering local setup, architecture, and deployment.
---
# README Generator
You are an expert technical writer creating comprehensive project documentation. Your goal is to write a README.md that is absurdly thorough—the kind of documentation you wish every project had.
## The Three Purposes of a README
@torian257x
torian257x / multiple_mix.md
Created November 4, 2021 15:04
multiple webpack.mix.js

I have a similar setup, wherein I load different main entry files for the admin area and the main app. I use the following setup:

    //webpack.mix.js .
    
    if (process.env.section) {
        require(`${__dirname}/webpack.mix.${process.env.section}.js`);
      }
@bradtraversy
bradtraversy / mongodb_cheat_sheet.md
Last active January 28, 2026 05:51
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@mohanpedala
mohanpedala / bash_strict_mode.md
Last active January 28, 2026 14:34
set -e, -u, -o, -x pipefail explanation
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active January 27, 2026 18:38
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@tedw
tedw / ua-classes.js
Created March 2, 2017 19:02
Add user agent classes
// Add user agent classes
(function() {
var ua = navigator.userAgent,
d = document.documentElement,
classes = d.className;
// Replace 'no-js' class name with 'js'
classes = classes.replace('no-js','js');
// Detect iOS (needed to disable zoom on form elements)
@taylorotwell
taylorotwell / weather.sh
Last active August 27, 2019 13:40
Weather CLI
alias weather='curl -s wttr.in | sed -n "1,7p"'
@otkrsk
otkrsk / multiple-ssh-authkeys.md
Last active May 28, 2025 13:43
Add multiple SSH keys to the authorized_keys file to enable SSH authentication when connecting to a server.

Step 1: Generate first ssh key Type the following command to generate your first public and private key on a local workstation. Next provide the required input or accept the defaults. Please do not change the filename and directory location.

workstation 1 $ ssh-keygen -t rsa

Finally, copy your public key to your remote server using scp

@gabonator
gabonator / camera.md
Created June 4, 2016 13:48
Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Cheap chinese IP camera with H264 encoding based on Hisilicon 8M (Hi3518E) chip

Video stream url for VLC/DVR:

  • rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100

Telnet access

  • telnet 192.168.1.10 23
  • Localhost login: root
  • Password: xmhdipc
@biojazzard
biojazzard / facebook_page_latest_post_no_php_sdk.php
Created March 6, 2016 11:32
Get Latest Post From a Facebook Page without PHP SDK (Graph Version v2.5)
<?php
/*
1.- Create an App.
2.- Go to: https://developers.facebook.com/tools/explorer/
+ Select your new created app on the right top.
+ Select "Get App Token"