Skip to content

Instantly share code, notes, and snippets.

View elyeandre's full-sized avatar
☺️
Focusing

elyeandre elyeandre

☺️
Focusing
View GitHub Profile
@elyeandre
elyeandre / clean_code.md
Created February 25, 2025 13:03 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@elyeandre
elyeandre / gist:192f82572eb5565a3fc9098dc114a8d5
Created July 25, 2024 23:50
cordova-build-android-github-action
name: Build Streamely App
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
@elyeandre
elyeandre / markdown_guide.md
Created May 25, 2024 10:44 — forked from cuonggt/markdown_guide.md
The Ultimate Guide to Markdown

Markdown Guide

The Ultimate Guide to Markdown

Basic Markdown Formatting

Headings

# This is an <h1> tag

This is an tag

// Website you intended to retrieve for users.
const upstream = 'api.openai.com'
// Custom pathname for the upstream website.
const upstream_path = '/'
// Website you intended to retrieve for users using mobile devices.
const upstream_mobile = upstream
// Countries and regions where you wish to suspend your service.
@elyeandre
elyeandre / getSub
Created December 18, 2023 06:49 — forked from obadajasm/getSub
class MyProvider with ChangeNotifier {
List<dynamic> responseBody;
String errMsg = "";
//for movies
Future<void> getSub(id) async {
try {
HttpClient client = new HttpClient();
client.userAgent = 'TemporaryUserAgent';
HttpClientRequest request = await client.getUrl(Uri.parse(
@elyeandre
elyeandre / linux-cmd-cheatsheet.md
Created September 7, 2023 01:54 — forked from riipandi/linux-cmd-cheatsheet.md
Linux Command Cheat Sheet

#Linux Cheat Sheet

##File Commands:

  • ls – directory listing
  • ls -al – formatted listing with hidden files
  • cd dir - change directory to dir
  • cd – change to home
  • pwd – show current directory
  • mkdir dir – create a directory dir
  • rm file – delete file