This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Vertically center whatever we want, | |
* even if we don’t know its height. | |
*/ | |
.element { | |
position: relative; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: perspective(1px) translateY(-50%); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO `wp_users` | |
(`user_login`, `user_pass`, `user_nicename`, `user_email`, `user_status`) | |
VALUES | |
('newadmin', MD5('pass123'), 'firstname lastname', '[email protected]', '0'); | |
INSERT INTO `wp_usermeta` | |
(`umeta_id`, `user_id`, `meta_key`, `meta_value`) | |
VALUES | |
(NULL, (Select max(id) FROM wp_users), 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg role="img" aria-labelledby="uniqueTitleID uniqueDescID" id="" class="" viewBox="# # # #" > | |
<title id="uniqueTitleID">Title</title> <!-- for screen readers, must be first child --> | |
<desc id="uniqueDescID">Title</desc> <!-- for screen readers --> | |
<g> | |
</g> | |
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href=""></use> | |
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (function(){ | |
var script = document.createElement('script'); | |
script.id = '<name-here>'; | |
script.type = 'text/javascript'; | |
script.src = '<url-here>'; | |
document.body.appendChild(script); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* // All | |
#Z // ID | |
.Z // Class | |
X Y // Descendant | |
X // Element |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tabs { | |
width: 100%; | |
position: relative; | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
} | |
li { | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AuthType Basic | |
AuthName "Password Protected Area" | |
AuthUserFile /path/to/.htpasswd | |
Require valid-user |
OlderNewer