Skip to content

Instantly share code, notes, and snippets.

Avatar

Sbe-ng ThePredators

View GitHub Profile
View readme.md

☀️ Flutter Code Quality (Sonar)

Pre-requisit

Install Docker

brew install docker --cask

Install Sonar-scanner

View readme.md

🔥 HomeBrew (CheatSheet)

Usefull CLI :

# install a dependency
brew install <depencency_name>
# install an app via homebrew
brew install --cask <application_name>

# list tapped repositories
View readme.md

🔥 Python Version Manager (CheatSheet)

Install PyEnv

# 1. Install
brew install pyenv

# 2. export to .zshrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
View readme.md
View readme.md

🔥 SSH (CheatSheet)

SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.

Installing on Ubuntu

apt-get install sshpass

Installing on macOS

View readme.md

☀️ DartPad Demo

Just open DartPad and Copy/Paste this code.

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}
View readme.md

iTerm Config

Install HomeBrew

## Install xcode utils
xcode-select --install
## Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
## Check that everything is Ok
brew doctor
@ThePredators
ThePredators / readme.md
Last active May 7, 2021
PHP CheatSheet
View readme.md

🔥 PHP (CheatSheet)

Dependency Manager "Composer" :

# Download & Install
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer

# Update