Skip to content

Instantly share code, notes, and snippets.

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

Wanderson Silva russo97

🏠
Working from home
View GitHub Profile
@lukecav
lukecav / functions.php
Created May 25, 2023 20:51
Add HTTP security headers in WordPress
function add_security_headers($headers) {
// Add X-XSS-Protection header
$headers['X-XSS-Protection'] = '1; mode=block';
// Add X-Content-Type-Options header
$headers['X-Content-Type-Options'] = 'nosniff';
// Add X-Frame-Options header
$headers['X-Frame-Options'] = 'SAMEORIGIN';
@loorlab
loorlab / hide_elementor_admin_menus_WP.php
Created December 14, 2022 20:57
Hide Elementor Admin Menus - WordPress
<?php
function plt_hide_elementor_menus() {
//Hide "Elementor".
remove_menu_page('elementor');
//Hide "Elementor → Settings".
remove_submenu_page('elementor', 'elementor');
//Hide "Elementor → Role Manager".
remove_submenu_page('elementor', 'elementor-role-manager');
//Hide "Elementor → Tools".
remove_submenu_page('elementor', 'elementor-tools');
@diego3g
diego3g / settings.json
Last active February 3, 2026 23:59
VSCode Settings (Updated)
{
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 16,
"editor.lineHeight": 1.8,
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.rulers": [
80,
120
],
@tamnil
tamnil / ceps.csv
Created March 19, 2018 16:40 — forked from hugosenari/ceps.csv
Faixas de CEPs
UF CIDADE CEP DE CEP ATÉ
AC 69900000 69999999
AC Acrelândia 69945000 69949999
AC Assis Brasil 69935000 69939999
AC Brasiléia 69932000 69933999
AC Bujari 69926000 69926999
AC Capixaba 69931000 69931999
AC Cruzeiro do Sul 69980000 69981999
AC Epitaciolândia 69934000 69934999
AC Feijó 69960000 69969999