Skip to content

Instantly share code, notes, and snippets.

View CristianoFIlho's full-sized avatar
Do the simple solve the complex

Cristiano Filho ☁️ CristianoFIlho

Do the simple solve the complex
View GitHub Profile
@CristianoFIlho
CristianoFIlho / pop_OS
Last active July 2, 2024 03:17
pop_os Shell Script
#!/bin/bash
# Check if the script is being run as root
if [ "$EUID" -ne 0 ]; then
echo "Please, run this script as administrator (root)."
exit 1
fi
# Function to check and install a package if it's not already installed
check_and_install() {
@CristianoFIlho
CristianoFIlho / readme.MD
Last active January 14, 2024 03:51
Crosshair CS2
PLAYER (TEAM) CS2 CROSSHAIR CODE
s1mple crosshair code CSGO-OCskf-qjunY-FE6T6-rsTR9-7SVvD
ZywOo crosshair code CSGO-Qzpx5-BRLw8-xFPCS-hTns4-GHDhP
NiKo crosshair code CSGO-Umk5s-uxPQA-eDfJW-qWMyR-znjPK
m0NESY crosshair code CSGO-hzrMn-jXu8b-R7VH4-hQ9aa-OnMHA
dev1ce crosshair code CSGO-yxFut-M6Vka-p4GAf-X5yZT-ey3JE
Twistzz crosshair code CSGO-7ANjy-XxRae-25YoE-7Bfnp-QQSFE
gamemoderun mangohud %command% -vulkan -novid -high -nojoy -refresh 120 -freq 120 -threads 12 -fullscreen +cl_forcepreload 1 +fps_max 0 -tickrate 128 +violence_hblood 0 -nosync -noipx -noaafonts
#!/bin/bash
# Check if the script is being run as root
if [ "$EUID" -ne 0 ]; then
echo "Please, run this script as administrator (root)."
exit 1
fi
# Function to check and install a package if it's not already installed
check_and_install() {

Advanced Search Operators

Here is a list of common advanced search operators that you can use to narrow your search results:


Commands Search operators:

  • site:
@CristianoFIlho
CristianoFIlho / free-courses-programming,MD
Created May 17, 2022 17:17
Free Courses Programming
test
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
@CristianoFIlho
CristianoFIlho / ValidationTrigger.cls
Last active February 9, 2022 01:50
APEX activity Cristiano Filho
public with sharing class AccountHandler {
public static void validateAccount (List<Account> accs) {
for(Account acc : accs){
if(acc.CustomerPriority__c == null || acc.BillingCity == null || acc.BillingState == null || acc.BillingStreet == null || acc.BillingCountry == null){
acc.addError('Error check the Customer Priority and Billing Address fields');
}
}
}
@CristianoFIlho
CristianoFIlho / linuxcommands.md
Last active January 4, 2023 19:38
Commands Linux
ls

1- Lista de diretórios.

ls -al

Lista de diretórios com exibição de arquivos ocultos.

cd dir

Muda do diretório atual para o especificado (substituir a variável dir pelo nome da pasta).

cd

Muda para o diretório /home (arquivos pessoais).

Pwd

Exibe o caminho do diretório atual.