How to add harvard referencing to Microsoft word 2010

It is very easy to add harvard referencing style to Microsoft word. Just follow my steps to do it.

Firstly, download the styles from Github as a zip. Open the zip file and extract.

Secondly, copy and paste the styles you want from the folder to your MS World style directory.

My MS Word style directory can be found in:

C:\Program Files (x86)\Microsoft Office\Office14\Bibliography\Style


I have pasted the harvard style and my folder looks like this:

Lastly, close any existing MS Word projects and Open MS Word as an administrator. Click on the References tab and Style option as shown in the Image below. That’s it, now you can choose the newly added bibliography.



Basic Post Redirect Get (PRG) in PHP

Post/Redirect/Get (PRG) is a web development design pattern that is used by the developers to prevent unwanted form resubmissions on their software. In software engineering, the term design pattern is an existing reusable solution to an occurring problem within a given condition in software design. It is a description for how to implement the very best solution of a certain problem in the software development.  

POST is one of the most common HTTP methods.

Some other notes on POST requests:

  • POST requests are never cached
  • POST requests do not remain in the browser history
  • POST requests cannot be bookmarked
  • POST requests have no restrictions on data length
Post/Redirect/Get Design pattern solution on succesful login

Since POST requests cannot be bookmarked by the browser, we need to implement the the post / redirect / get design pattern to prevent form submission duplicates. E.g. when a users submits a form and reloads the web pages, if not implementing PRG, the form will get resubmitted resulting in unwanted behaviour.

Below is a basic script in PHP of PRG.

//store current url into a variable  
$self = htmlspecialchars($_SERVER["PHP_SELF"]);  
//if form is submitted via POST method  
if ($_POST) {  
    //303 redirect to the same page  
    header('Location: ' . $self, true, 303);  
    //exit from the current script  
    exit;  
} 

How I add an admin in WordPress in functions.php without being an admin

You can add an admin user in WordPress without being an admin. All you need to do is to add the below PHP code inside your theme’s functions.php file.

Firstly,  you need to insert the code inside the functions.php file found in  your website themes folder. You can upload the code via FTP or by accessing the Web Server directly via Cpanel.

The file functions.php is located in the following path: yourwebsite.com/wp-content/themes/your-theme/functions.php

You will need to edit the lines 2,3,4 of the below code with your new admin credentials. Change and save.

function wpb_admin_account(){
$user = 'Username';
$pass = 'Password';
$email = '[email protected]';
if ( !username_exists( $user )  && !email_exists( $email ) ) {
$user_id = wp_create_user( $user, $pass, $email );
$user = new WP_User( $user_id );
$user->set_role( 'administrator' );
} }
add_action('init','wpb_admin_account');

The new user is now created. Now, I recommend to delete this code from your functions.php for security reasons.

Finally, you can login with your new admin credentials via your website login url: www.example.com/login.

Good Luck!



Διαγωνισμός στο Facebook για δωρεάν ιστοσελίδα

Όροι Διαγωνισμού

  1. Κάντε Like την σελίδα μας στο facebook εδώ: https://goo.gl/FrCxfo 
  2.  Γράψετε στα σχόλια του διαγωνισμού στο facebook την σωστή απάντηση
  3.  Συμπληρώστε την φόρμα εδώ και μπείτε στην κλήρωση όπου 2 διαγωνιζόμενοι θα κερδίσουν δωρεάν από μία επαγγελματική ιστοσελίδα (αξίας €450).

Η φιλοξενία της ιστοσελίδας €120/χρόνο δεν συμπεριλαμβάνεται.

Οι νικητές θα ανακοινωθούν την Κυριακή 16/09/2018 σε αυτή την σελίδα. Καλή επιτυχία!

 

Περισσότερα για εμάς θα βρείτε στο https://webdominar.xyz

 

Η σωστή απάντηση είναι 15.

Ο νικητής του διαγωνισμού ‘δωρεάν ιστοσελίδα’ που κέρδισε δωρεάν website (αξίας €450) είναι:

Loucas Neophytou

Παρακαλούμε όπως ο νικητής επικοινωνήσει μαζί μας για να παραλάβει το δώρο του.

Premier league team logos in svg

Note that they are not normal jpg or png images; they are pure xml formats. SVG stands for Scalable Vector Graphics and can be created and edited only with text editor or svg software.

Other advantages of SVG:
  • SVG images are zoomable
  • SVG graphics do NOT lose any quality if they are zoomed or resized
  • SVG graphics are faster since they are smaller in capacity because svg files are just code





Below, you can see all premier league team logos in svg format. Note that if you open any image in new tab you will see it in full height of your browser with perfect quality.

Continue reading Premier league team logos in svg

GTX 1050ti with Xeon x3470 playing Huntdown Showdown

In this video you will see some gameplay on Huntdown showdown on GTX 1050ti and Xeon X370. I am testing the game on an almost 10 years old cpu. The first generation i7 870 equivalent, Xeon x3470. Hunt is an Early Access first-person shooter from Crytek built with Cryengine. Note that the game is still in early access and Crytek estimates to release it in 2019. So it is normal to have some performance instabilities and fps drops. We should definitely expect performance improvements from Crytek.




According to IGN:

Continue reading GTX 1050ti with Xeon x3470 playing Huntdown Showdown

How to setup Angular 6 with Node.js and create the first web app

In this tutorial i will explain how to setup angular 6 with node.js and specifically to use the  Angular cli – a command line interface to scaffold and build angular apps using nodejs style (commonJs) modules. Firstly we need to install node.js. Node.js is a runtime environment that comes with npm (node package manager). Npm manages the different dependencies an Angular project has. The below article will explain step by step the whole procedure.

  • Download and install Node.js

The very first step, if you haven’t already done before, is to download and install node.js on your computer. You can download the latest version from node.js official website. Once you have installed it, you will be able to run npm commands directly from command prompt to  install Angular cli packages

Continue reading How to setup Angular 6 with Node.js and create the first web app