Skip to content

Instantly share code, notes, and snippets.

View wellington1993's full-sized avatar
🏠
Working from home

Wellington Torrejais da Silva wellington1993

🏠
Working from home
View GitHub Profile
@wellington1993
wellington1993 / mysql_backup.sh
Created July 29, 2021 18:57 — forked from tleish/mysql_backup.sh
Bash Script to backup all MySQL databases
#!/bin/bash
#==============================================================================
#TITLE: mysql_backup.sh
#DESCRIPTION: script for automating the daily mysql backups on development computer
#AUTHOR: tleish
#DATE: 2013-12-20
#VERSION: 0.4
#USAGE: ./mysql_backup.sh
#CRON:
# example cron for daily db backup @ 9:15 am
@wellington1993
wellington1993 / Baixar_Playlist_do_youtube_em_MP3_usando_youtube-dl_Download_youtube_playlist_in_mp3_using_youtube-dl.sh
Last active August 23, 2021 16:41
Baixar Playlist do youtube em MP3 usando youtube-dl - Download youtube playlist in mp3 using youtube-dl.sh
# Primeiro / First: https://github.com/ytdl-org/youtube-dl/
# Em um terminal rode esses comandos: / In a terminal run that commands:
# Sem o "#" no começo da linha / Without the "#" from the start of the line
# sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl 1:39:29
# sudo chmod a+rx /usr/local/bin/youtube-dl
# sudo -H pip install --upgrade youtube-dl
# Se tiver problemas com a conversão para MP3 / If you have problem with conversion to MP3
# sudo apt install -y --install-suggests --install-recommends ffmpeg libavcodec-dev
# sudo apt install -y --install-suggests --install-recommends nvidia-libopencl1 vulkan-utils
# sudo apt install -y --install-suggests --install-recommends python-smbus fancontrol
@trungvose
trungvose / nx-structure-angular-nestjs.md
Last active June 20, 2025 17:53
Nx workspace structure for NestJS and Angular

Nx

https://nx.dev/

Nx is a suite of powerful, extensible dev tools to help you architect, test, and build at any scale — integrating seamlessly with modern technologies and libraries while providing a robust CLI, caching, dependency management, and more.

It has first-class support for many frontend and backend technologies, so its documentation comes in multiple flavours.

Principles

@ThePredators
ThePredators / readme-mde.md
Last active June 20, 2025 02:53
Setup Mobile Development Environment

⭐ Setup Mobile Development Environment

⚠️ The following configuration has been tested on Intel, M1 & M2 Ships ⚠️

Pre-requisit :

If you have any issues with macOS, or need anything related to it check this documentation

Install Xcode Command Line tools :

@janezhu918
janezhu918 / zshPlugins
Created January 27, 2021 15:05
zsh plugins
# install zsh-autosuggestions $ git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
# install zsh-syntax-highlighting $ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# add them to plugins in .zshrc
plugins=(
git
osx
docker
iterm2
zsh-autosuggestions
@rupeshtiwari
rupeshtiwari / tslint error.md
Last active April 6, 2021 04:53
Tslint extension throwing errors in angular application
tags
tslint, angular,workspace

TSLint Error: Not using the local TSLint version found for '/Users/myname/myproject/client/src/app/cool/cool.component.ts'. To enable code execution from the current workspace you must enable workspace library execution.

1- Go to Command Palette by pressing Ctrl + Shift + P, 2- In the input that pops up at the top of the VS Code, start typing

@malikalichsan
malikalichsan / sources.list
Created January 5, 2021 09:34
/etc/apt/sources.list for ubuntu 20.10
deb http://id.archive.ubuntu.com/ubuntu/ groovy main universe restricted multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ groovy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu groovy-security main universe restricted multiverse
deb-src http://security.ubuntu.com/ubuntu groovy-security main universe restricted multiverse
deb http://id.archive.ubuntu.com/ubuntu/ groovy-updates main universe restricted multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ groovy-updates main universe restricted multiverse
deb http://id.archive.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse
deb-src http://id.archive.ubuntu.com/ubuntu groovy-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu groovy partner
deb-src http://archive.canonical.com/ubuntu groovy partner
@classilla
classilla / firefox-pgo.diff
Last active April 8, 2024 14:33
PGO fixes and livability improvements for LTO in Firefox on ppc64le Linux. Read web page first! -- https://www.talospace.com/2024/03/firefox-124-on-power.html
diff -r ac0e1ee8218f build/moz.configure/lto-pgo.configure
--- a/build/moz.configure/lto-pgo.configure Tue Feb 20 13:51:00 2024 +0000
+++ b/build/moz.configure/lto-pgo.configure Sat Feb 24 22:47:17 2024 -0800
@@ -2,17 +2,17 @@
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# PGO