I hereby claim:
- I am louy on github.
- I am louay (https://keybase.io/louay) on keybase.
- I have a public key ASBtmGtwrtSjxZxz-xcoWXvlt2aQt_RP7QT7QbdYobGkzwo
To claim this, I am signing this object:
<?php | |
/* | |
Plugin Name: Registeration Anti-Spam | |
Plugin URI: https://gist.github.com/louy/6212415 | |
Description: Block Spam attacks on wp registeration page. | |
Author: Louy Alakkad | |
Version: 1.0 | |
Author URI: http://l0uy.com/ | |
*/ |
VERSION BUILD=8530828 RECORDER=FX | |
SET !ERRORIGNORE YES | |
TAB T=1 | |
SET !LOOP 1 | |
TAG POS={{!LOOP}} TYPE=A ATTR=CLASS:uiMediaThumb* EXTRACT=href | |
TAB OPEN | |
TAB T=2 | |
URL GOTO={{!EXTRACT}} | |
SET !EXTRACT NULL |
#!/bin/sh | |
set -e | |
git branch | grep -v "master" | xargs git branch -d | |
git fetch origin --prune |
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Prototype</title> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="https://unpkg.com/react@16.7.0-alpha.2/umd/react.production.min.js"></script> | |
<script src="https://unpkg.com/react-dom@16.7.0-alpha.2/umd/react-dom.production.min.js"></script> |
/** | |
* is_email function from WordPress | |
* written in Javascript | |
* | |
* by Louy Alakkad <me@l0uy.com> | |
* | |
* Verifies that an email is valid. | |
* | |
* Does not grok i18n domains. Not RFC compliant. | |
* |
# AWS MFA session util | |
# Setup: | |
# assuming you're using a profile called "default": | |
# In ~/.aws/config, set up a default-mfa-temp profile: | |
# ``` | |
# [default] | |
# region = eu-west-2 | |
# [default-mfa-temp] | |
# region = eu-west-2 |
daemon off; | |
user nginx; | |
worker_processes 1; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
} |
A Pen by Louay Akkad on CodePen.
# Export to a folder | |
mkdir -p db | |
cd db | |
curl -k $REPLIT_DB_URL?prefix= | xargs -I@ curl -k -O "$REPLIT_DB_URL/@" | |
cd .. | |
tar -czvf db.tar.gz db | |
# Then download db.tar.gz manually |