Skip to content

Instantly share code, notes, and snippets.

View lukalafaye's full-sized avatar
:octocat:
Seeking knowledge

Luka Lafaye de Micheaux lukalafaye

:octocat:
Seeking knowledge
View GitHub Profile
@lukalafaye
lukalafaye / CONTRIBUTING.md
Last active February 23, 2019 21:48 — forked from PurpleBooth/README-Template.md
A template to make elegant repositories on GitHub

Contributing

When contributing to this repository, please first discuss the change you wish to make via an issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

If you would like to contribute to this project, please submit a new pull request and update the README.md with details of changes, this includes a description of new features and if required, additional documentation.

@lukalafaye
lukalafaye / cloneorg.md
Last active February 4, 2019 04:32
CloneOrg is a simple bash tool used to clone all public and private repositories of a GitHub organization.
@matthewzring
matthewzring / markdown-text-101.md
Last active May 15, 2024 20:34
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@dssstr
dssstr / vigenere.py
Last active December 16, 2023 09:01
Simple Vigenere Cipher written in Python 3.5.
def encrypt(plaintext, key):
key_length = len(key)
key_as_int = [ord(i) for i in key]
plaintext_int = [ord(i) for i in plaintext]
ciphertext = ''
for i in range(len(plaintext_int)):
value = (plaintext_int[i] + key_as_int[i % key_length]) % 26
ciphertext += chr(value + 65)
return ciphertext
@ddeveloperr
ddeveloperr / git_push_force_upstream.md
Last active September 6, 2023 15:52
How to force “git push” to overwrite remote repo files WITH LOCAL files

You want to push your local files to remote files

git push -f <remote> <branch>
git push -f origin master

Local version has priority over the remote one!

more...

@PurpleBooth
PurpleBooth / README-Template.md
Last active May 21, 2024 21:42
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@jniltinho
jniltinho / install_gogs_ubuntu.sh
Last active October 15, 2020 12:15
Install Gogs on Debian or Ubuntu
#!/bin/bash
## Install Gogs v0.11.4 + Nginx Webserver + Mysql
## On Debian, Ubuntu 64Bits
## Author: Nilton OS -- www.linuxpro.com.br
## Version: 3.5
### Tested on Ubuntu 16.04 LTS 64Bits
### Tested on Debian 8/9 64Bits
echo 'install_gogs_ubuntu.sh'