I hereby claim:
- I am jalal on github.
- I am jalalski (https://keybase.io/jalalski) on keybase.
- I have a public key ASCAs0FT4m-bfDs_q7LPmGI5s-eOXMajvVWgWRJKcTsuDAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
npm-debug.log | |
.DS_Store | |
*.js.map | |
*.metadata.json | |
app/**/*.js | |
npm-debug.log | |
hooks/ | |
lib/ |
var target = document.getElementById('target'); | |
var current = document.getElementById('current'); | |
var d = new Date(); | |
current.innerHTML = "Now: " + d; | |
var opening = new Date(d.getFullYear(), d.getMonth(), d.getDate(), '16', '00', '00'); | |
var closing = new Date(d.getFullYear(), d.getMonth(), d.getDate(), '22', '00', '00'); | |
target.innerHTML = "Open: " + opening; | |
var el = document.getElementById('result'); |
Turning an ordered list into a vertical timeline using CSS.
A Pen by jalal (Tim Pushman) on CodePen.
# added by jalal to stop brute force login attempts | |
RewriteCond %{REQUEST_METHOD} POST | |
RewriteCond %{REQUEST_URI} .(wp-comments-post|wp-login)\.php* | |
RewriteCond %{HTTP_REFERER} !.*domain.com.* [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^$ | |
RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L] | |
# end brute force handling |
#!/bin/bash | |
# | |
[email protected] | |
REMOTEDB=usrdb_name | |
REMOTEUSER=usrdb_username | |
REMOTEPASS=secretpassword | |
LOCALDB=$REMOTEDB | |
LOCALUSER= | |
LOCALPASS= | |
LOCAL1=$REMOTEDB-`date +"%Y%m%d"`.sql |