Allow remote connections to your MySQL server
nano /etc/my.cnf Now that the file is backed up let’s open this baby up for editing. When you have the file open you are going to want to look for this line: bind-address = 127.0.0.1 What the above...
View ArticlemySQL give permission to a computer IP address
GRANT ALL PRIVILEGES ON *.* TO root@192.168.1.131 IDENTIFIED BY “*************”; To get a list of MySQL users: mysql> select user,host from mysql.user;
View ArticleConfigure visual studio to use youtube API
Install youtube api for your application first: PM> Install-Package Google.Apis.YouTube.v3 Add the following code in your cs file: using Google.Apis.Auth.OAuth2; using Google.Apis.Services;...
View ArticleVisual Studio 2013 Change the Default Location for Projects
For corporate office user my document is always redirected to a file server where creating exe file is restricted. 1. Create a folder in c drive called: vs 2013 2. Inside that folder create 2 folders...
View ArticleClient side .LESS files in Bootstrap cannot be found
It may be caused by MIME types security at the IIS level. Make sure that your website in IIS manager has “.less” as a registered MIME type (open IIS manager, click your site in left tree panel, look...
View ArticleLink MS SQL Database Server
MS SQL Server A Name: A MS SQL Server B Name: B I want to connect server B to A so that when I am in server A, I can access database and tables from server B Using SQL Management studio, connect to A...
View ArticleVS 2013 : Project name with number in brackets
In file C:\Users\Username\Documents\IISExpress\config\applicationhost.config, under section <sites> … </sites> there was all websites (projects) I have ever opened. I deleted these items...
View Articlehow to generate index number or serial number in select statement
party_code_table ID Code 43224 R06048 42335 J06600 42324 M06791 I want a select statement to get data like this: SL Code 1 R06048 2 J06600 3 M06791 SELECT ROW_NUMBER() OVER (ORDER BY CODE) AS SL,...
View ArticlePerform Specific Button click event when user press Enter key in Textbox
Put your form inside an asp.net panel control and set its DefaultButton attribute with your button ID. See the code below: <asp:Panel ID="Panel1" runat="server" DefaultButton="Button1">...
View ArticleFail2ban unban a IP or Unblock an IP
cd /var/log/ nano fail2ban.loga and search for banned IP address. iptables –L –n Get the banned type from the output and try the following: fail2ban-client set ssh-iptables unbanip 192.168.1.101...
View ArticleOpenCart “Ex Tax” Removal from Product Page
Go to System > Settings then edit store then Option tab and set Display Prices With Tax to no
View ArticleOpenCart Install VQMOD to install all extensions
Lots of extention in Opencart is developed in VQMOD. To install VQMOD: STEP 1 : Download vQmod Download VqMOD: From Here Unzip it. Upload vQmod to root directory STEP 2 : Install vQmod After upload...
View ArticleOpencart Add a Page link in top menu
Add a Page link in top menu in Opencart is easy. Just install this VQMOD based extension and you should be all set. File
View ArticleOpencart Disable the bottom slider / Banner (Manufacturer)
Extention –> Modules –> Carousel > Home Page –> Make is disable
View ArticleRemove Powered By from Open Cart
Open up /catalog/language/english/common/footer.php find: CODE: SELECT ALL $_['title'] = '%s (Powered by OpenCart)'; And change it as required. Please do it with your own risk and keep a backup.
View ArticleOpen Cart Add bulk menu to bulk product
SELECT * FROM ocw8_product_to_category WHERE product_id IN (SELECT product_id FROM `ocw8_product` WHERE model = ‘Sloppy Plate’) INSERT INTO ocw8_product_to_category (product_id,category_id) VALUES...
View Articlesql drop stored procedure if exists
Drop and re-create procedure if it exists in T-SQL not working IF EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.ROUTINES WHERE ROUTINE_NAME = 'YOUR_STORED_PROCEDURE_NAME'...
View ArticleAdd comment after updates have been checked in to TFS
In VS 2010: View –>Other Windows –> Source Control Explorer Find the project and expand it and if you know which file you did change find that and right click and view history Once the history...
View ArticleSQL Server replication requires the actual server name to make a connection...
Symptom: Error Msg: “SQL Server replication requires the actual server name to make a connection to the server” When attempting to create a new replication publication the following error is...
View Article