Skip to content

Instantly share code, notes, and snippets.

Aigars Silkalns puikinsh

Block or report user

Report or block puikinsh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:025dacb01c494c9dc8516bfc4198c0dc
<a style="background: #7bc74d; padding: 19px; color: #fff;" href="https://github.com/puikinsh/Adminator-admin-dashboard" target="_blank" rel="nofollow noopener">Info / Download</a> <a style="background: #5FD3EF; padding: 19px; color: #fff;" href="https://colorlib.com/polygon/adminator/index.html" target="_blank" rel="nofollow noopener">Demo</a>
@puikinsh
puikinsh / HTML
Created Nov 28, 2017
Template Copyrights
View HTML
<p>Copyright @2018 All rights reserved | This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a></p>
@puikinsh
puikinsh / Gravity.txt
Last active Mar 15, 2017
A simple tumblr theme
View Gravity.txt
<!DOCTYPE html>
<html>
<head>
<!--
theme: Gravity
version: 1.0 (March 1, 2017)
from: colorlib.com
-->
View gist:91068f29d04c1b0ebf7bf31ca13b9d12
[button open_new_tab="true" color="Accent-Color" size="medium" url="https://colorlib.com/out/jevelin" text="More info / Download"] [button open_new_tab="true" color="Extra-Color-2" size="medium" url="https://colorlib.com/out/jevelin-demo" text="Demo"]
View gist:6a17b95500f8b4ed716a
.navbar .container .navbar-brand {
color: #8224e3;
}
@puikinsh
puikinsh / .htaccess
Created Aug 17, 2015
Example for .htaccess file. For more information about this simple code snippet please read our full WordPress security guide: https://colorlib.com/wp/improve-wordpress-website-security/
View .htaccess
<FilesMatch "\.(php|php\.)$">
Order Allow,Deny
Deny from all
</FilesMatch>
@puikinsh
puikinsh / wp-config.php
Last active Aug 29, 2015
This is part of wp-config.php file which helps to change and set table prefix in WordPress. This code snippet is part of article which helps to resolve database connection problems in WordPress. For more information please read this article: https://colorlib.com/wp/fix-error-establishing-database-connection-wordpress/
View wp-config.php
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'TablePrefix_';
@puikinsh
puikinsh / wp-config.php
Created Aug 17, 2015
This is a code snippet from article published on Colorlib that helps to solve database connection problem for WordPress. For more information please read the full artcile which is available here: https://colorlib.com/wp/fix-error-establishing-database-connection-wordpress
View wp-config.php
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘database_name’);
/** MySQL database username */
define(‘DB_USER’, ‘database_user’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘database_password’);
View gist:3a723781ff491e119268
<link rel="stylesheet" href="css/style.css">
/**
* can turn into
*/
<link rel="stylesheet" href="<?php bloginfo( 'template_url' ); ?>/css/style.css">
View gist:89b50829ac4d1a670131
<?php
/**
* Template Name: Landing Page
*/
?>
You can’t perform that action at this time.