Skip to content

Instantly share code, notes, and snippets.

View juanibrex's full-sized avatar
🎯
Focusing

Juani Brex juanibrex

🎯
Focusing
View GitHub Profile
@natzir
natzir / Internal-Link-Checker-Bookmarklet.js
Last active February 19, 2024 08:51
Internal Link Checker Bookmarklet
@levelsio
levelsio / obfuscate.php
Last active May 5, 2023 12:33
WordPress plugin to progressively obfuscate text like MAKEbook.io
/*
--PIETZ OBFUSCATE CODE--
2019-06-01
from MAKEbook.io
Instructions:
1) put this in your functions.php file
2) add this to the post you want to obfuscate, on top
3) [obfuscate]
4) to start obfuscating, add a HTML code or HTML block with <start></start>

gif-from-tweet

There are so many great GIFs out there and I want to have copies of them. Twitter makes that harder than it should be by converting them to MP4 and not providing access to the source material. To make it easier, I made a bash pipeline that takes a tweet URL and a filename, extracts the MP4 from that tweet and uses ffmpeg to convert back to GIF.

Dependencies

  • ffmpeg
    • macOS: brew install ffmpeg
    • Ubuntu/Debian: apt install ffmpeg
@maugelves
maugelves / email-con-preguntas-para-presupuesto-web.txt
Last active March 31, 2023 22:39
Correo electrónico con preguntas básicas para la elaboración del presupuesto de un proyecto web.
Hola <nombre del cliente>:
Ante todo muchas gracias por ponerte en contacto y por confiar en nuestros servicios para el desarrollo de tu web.
Necesitaría que por favor respondas las siguientes preguntas para realizar un presupuesto acorde a las necesidades de tu proyecto.
====================
Sobre su negocio:
- ¿A qué se dedica tu empresa/proyecto/emprendimiento?
@maugelves
maugelves / polylang.php
Last active June 11, 2021 05:56
This functions returns a WordPress page permalink for the current language by its slug.
<?php
/**
* This function returns a page permalink
* for the current website language.
*
* @author Mauricio Gelves <mg@maugelves.com>
* @param $page_slug string WordPress page slug
* @return string|false Page Permalink or false if the page is not found
*/
@janogarcia
janogarcia / wp_security.md
Last active November 30, 2016 11:24
WordPress - Basic Security
@davidnaviaweb
davidnaviaweb / functions.php
Created October 1, 2016 09:57
WordPress Dashboard tips & tricks @ WC Sevilla 2016
<?php
/**
* Mostrar / Ocultar Admin Bar
*
* Según el Codex, basta retornar el valor 'false' en la función 'show_admin_bar' para ocultar
* la barra de administración. Sin embargo, esta implementación parece que no funciona correctamente.
*
*/
function remove_admin_bar($show_admin_bar)
{
@ahmadawais
ahmadawais / .zshrc
Created March 21, 2016 11:03
ZSH: WP: ZIP: Zip the current folder and exclude folders and files that are not needed as per Theme Check.
# Zip the current folder and exclude
# folders and files that are not needed
# as per Theme Check.
#
# Usage: wpzip zipname
# Link: http://askubuntu.com/a/28482/521222
function wpzip(){
echo "${whitef}———————————————————${reset}"
zip_name=$1 # $1 is agrument 1
@nucliweb
nucliweb / CSS-Naming-Conventions.md
Last active February 19, 2020 10:46
CSS Naming Conventions