Showing posts with label copy. Show all posts
Showing posts with label copy. Show all posts

Tuesday, 1 March 2016

How to Copy Paste in FilezillaIn Feburary 2016 30,

In Feburary 2016 30,
Log in to your remote site. Expand the directories to reveal the file you wish to copy.
Click on the file. Drag it over to the 'Desktop' directory on your local site (your computer). A copy of the file will appear on your desktop.
Click and drag the file from your desktop into another folder on your remote site. Do not drag it into the same folder as the original file. This will cause Filezilla to ask you if you would like to overwrite the original.
In Feburary 2016 30,

Monday, 29 February 2016

How to Stop Embed YouTube From RedirectingIn Feburary 2016 29,

In Feburary 2016 29,
Visit the YouTube page that contains the video you wish to embed into your site.
Click 'Share' and select 'Embed.'
Launch Notepad and open the HTML file that contains the source code of the page into which you wish to embed the video. Copy the embed code from YouTube by right-clicking anywhere in the embed box and selecting 'Copy.' Paste the code into Notepad by right-clicking and selecting 'Paste.'
Locate the URL address of the YouTube video in the embed code you just pasted into Notepad. URL addresses of videos on YouTube look like the following: 'http://www.youtube.com/embed/videoID", where 'videoID' is an alphanumerical code that identifies the video.
Type or copy-and-paste '?modestbranding=1' after the videoID. The URL address should now look like the following example:
http://www.youtube.com/embed/VideoID?modestbranding=1
The 'modestbranding' parameter instructs YouTube to remove its logo from the embedded player and to disable redirecting.
Save your HTML file and upload it to the Web server by using your Web host's file manager or an FTP client.
In Feburary 2016 29,

Sunday, 28 February 2016

How to Create an Anchor Tag for a Phone NumberIn Feburary 2016 28,

In Feburary 2016 28,
Open your HTML editor. If you don't have one, launch the Notepad text editor, which you can find in the 'Accessories' folder of your Windows Start menu.
Open the Web page into which you want to insert the anchor tag by clicking on 'File' and selecting 'Open.'
Copy and paste, or type, the following code before the phone number you want to turn into a hyperlink:Replace '5551234567' with the phone number you want your visitors to dial when clicking on the link.
Type or copy and paste the following code after the phone number you want to turn into a hyperlink:As an example, the complete code for the fictional '5551234567' phone number would be:(555) 1234-567
Save the HTML file. Upload it to your Web server by using your Web host's file manager tool or an FTP client.
In Feburary 2016 28,

Friday, 26 February 2016

How to Transfer Files from one Linux Server to AnotherIn Feburary 2016 26,

In Feburary 2016 26,
Type the command:
ftp servername
File transfer protocol (ftp) is the standard cross-platform interactive tool for file transfers. Provide your username and password when prompted. The ftp session will begin.
Enter the command:
sftp servername
Secure ftp (sftp) uses an encrypted session, making it a better choice for unsecured networks.
Use the remote command copy (rcp) of BSD on trusted, secured networks only. The basic syntax is:
rcp

.
rcp file1 linuxhost2:/temp
Secure copy (scp) is an encrypted version of rcp. The transfer is sent over an encrypted Secure Shell (ssh) session. The syntax is essentially the same:
scp linuxhost2:/temp/file2 /var/tmp
Copy or synchronize entire directories, using the rsync command:
rsync -oupgrle ssh /local/directory host2:/remote/directory
Check the manual page for rsync to describe the options listed.
In Feburary 2016 26,

Thursday, 25 February 2016

How to Edit a WordPress CSS FileIn Feburary 2016 25,

In Feburary 2016 25,
Open the page you wish to edit, and click on 'View' then 'Source' from your browser's menu. This will open an HTML page in a text-only program such as NotePad or SimpleText.
Scroll through the HTML page and locate the style.css file. Double-click the file name.
Make a copy of the file and work from the copy.
Locate the attribute you want to edit. The attributes will be identified by names indicating sections such as body, header and content.
Make your changes to the code displayed between the curly brackets, which look like { and }. These changes can be either to adjust margins, font sizes, colors or other style elements you want to edit.
Remove the text for any codes you are replacing. For example, if you have changed your font color from blue to black be sure to delete the word 'blue' from that line of code.
Save your changes and upload the file to your WordPress site using an FTP client.
Open your page in a browser to view your edits.
In Feburary 2016 25,

Wednesday, 24 February 2016

How to Connect to MySQL Database Using Web ExpressionIn Feburary 2016 24,

In Feburary 2016 24,
Open Microsoft Expression Web. Click on 'File,' 'Open' and choose the target website from the website files. Click 'Split' below the design pane. The three tabs below the design pane are Design, Split and Code; Split shrinks the size of the design pane and opens up the Code section above it, where HTML code is entered.
Copy the following code:
Now click in the Code section of the target website in Expression Web, above where the code reads:
Right-click above
and choose 'Paste' to paste the copied code. It should now look like this:
Copy the following code:
Sub Page_Load(Source as object, e as EventArgs)Dim sConString As String = 'DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=Your_Mysql_DB; UID=mysql_username; PASSWORD=mysql_password; OPTION=3'Dim oConnection as ODBCConnection = new ODBCConnection(sConString)Dim sSQL as String = 'SELECT * FROM Table1'Dim oDataAdapter as ODBCDataAdapter = New ODBCDataAdapter(sSQL, oConnection)Dim oDataSet as DataSet = new DataSet()oDataAdapter.Fill(oDataSet)oDataGrid.DataSource = oDataSetoDataGrid.DataBind()End Sub
Click again in the Code section of the target website in Expression Web. Paste the code after the
tag in the code for the website. Be certain that the
tag closes the code section.Copy this line: Paste it between the
and
tags, also in the Code section of the target site in Expression Web.Example:
Note the line in the MySQL database code that reads: 'DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=Your_Mysql_DB; UID=mysql_username; PASSWORD=mysql_password; OPTION=3'These values will need to be changed to represent the desired MySQL database, ID and password. If the database is to be accessed remotely, the 'server' will be an IP address. Simply delete the 'answer' following the equal sign (=) for each item and type in the correct information.
In Feburary 2016 24,

Saturday, 20 February 2016

How to Install PureIn Feburary 2016 20,

In Feburary 2016 20,
Go to the 'Modules Matching ftpd' page (see Resources). Right-click the 'pureftpd.wbm' link and copy the URL.
Log in to your Webmin admin center (the path of this differs depending on where you installed the program).
Click 'Webmin Modules.' Click 'From ftp or Http URL.' Select the field, right-click and click 'Paste' to paste the URL in.
Click 'ignore module dependencies when installing,' then 'Grant access only to users and groups.'
Click 'Install module from file.'
In Feburary 2016 20,

Thursday, 18 February 2016

How to Do Bubble Sorting in VB.netIn Feburary 2016 18,

In Feburary 2016 18,
Open Visual Basic and click 'File' and 'New project' to create a new project. Select 'ConsoleApplication.' When it comes time to enter your code in a real project with a Graphical User Interface (GUI), you can simply copy this function there without modification.
Paste the following code above the 'Main' function:
Sub BubbleSort(ByRef arr() As Integer)Dim tempDim switch = TrueWhile switchswitch = FalseFor x = 0 To arr.Length - 2If arr(x) > arr(x+1) Thentemp = arr(x)arr(x) = arr(x+1)arr(x+1) = tempswitch = TrueEnd IfNextEnd WhileEnd Sub
An important thing to recognize is that the arr is passed into the subroutine 'ByRef.' This allows the function to modify the contents of the array.
Paste the following into the 'Main' function to test the BubbleSort method:
Sub Main()Dim arr = {3, 4, 5232, 1, 232, 12, 34, 14, 21, 213, 213, 21, 321}Console.WriteLine('Unsorted')For Each x In arrConsole.Write(x & ' ')NextConsole.WriteLine()BubbleSort(arr)Console.WriteLine('Sorted')For Each x In arrConsole.Write(x & ' ')NextConsole.ReadKey()End Sub
End ModuleThis generates a simple, unsorted array of integers and tells BubbleSort to sort them, then prints the results.
In Feburary 2016 18,

How to Change the Default Rendering on SSRSIn Feburary 2016 18,

In Feburary 2016 18,
Locate the report you will be creating a link to using the ReportServer portal in SSRS. Typically, this is found at http://servername/ReportServer. The interface will be minimal, but will display the same folders and reports as the Report Manager.
Copy the URL. Note that the URL may contain several parameters, but the part to look for is the report path, which can be found between the '?' and the first '&', if any exists. In the following example, the report path is '/Folder/Report%20Name':http://servername/ReportServer?/Folder/Report%20Name&rs:Command=Render
Create a new URL using the report path with some additional parameters to specify the rendering format. The 'rs:Format' parameter specifies the rendering format for the report. The following values are common for a default installation of SSRS: HTML4.0, MHTML, IMAGE, EXCEL, PDF and CSV. The 'rs:Command' parameter set to 'Render' instructs the report server to render the report in the specified format.For example, for a URL that always renders the report as a PDF document, use the following:http://servername/ReportServer?/Folder/Report%20Name&rs:Format=PDF&rs:Command=Render
Render a report as an Excel document this way:http://servername/ReportServer?/Folder/Report%20Name&rs:Format=EXCEL&rs:Command=Render
In Feburary 2016 18,

Sunday, 14 February 2016

How to Clone an eCommerce WebsiteIn Feburary 2016 14,

In Feburary 2016 14,
Open your Internet Explorer browser and navigate to the homepage of the eCommerce website page you want to copy.
Create a new folder on your desktop by right clicking and selecting 'New Folder.' Title it 'Copy (site name here).'
Click 'Page>Save As' from the menu in the upper right hand corner of your browser page. When the 'Save As' dialog box appears, use the drop-down menu to select 'Save As Complete Web Page.' Title the document 'Index.html' and click 'Save.'
Test the copied code you've just made by double clicking on its icon. If the page saved correctly, it opens up as the exact same web page.
Repeat the entire process with each web page you want to copy from the website.
In Feburary 2016 14,

How to Make a Digital Look Book Using DreamweaverIn Feburary 2016 14,

In Feburary 2016 14,
Open your website folder stored locally on your computer and create a new sub-folder named 'images' or something similar. In it place all of the images you want to use on the look-book page.
Open the Dreamweaver program.
Add your website to your Dreamweaver program by clicking on 'Site' in the program menu at the top of the page and selecting the 'New Site' option. In the pop-up window click on the 'Site' option in the left sidebar.
Type the name of your website in the 'Site Name' text field.
Click the icon of a file beside the 'Local Root Folder' text field and in the pop-up frame, navigate to the folder on your computer containing the local copy of your website. Click the 'OK' button to select it.
Click the 'Save' button at the bottom of the pop-up window to save your changes.
Check in drop-down menu at the top of the files panel on the right side of the program to see that the website that you added is selected. If it is not, click on the drop-down menu and select the website from the list. Click on 'File' in the program menu and select the 'New' option in the drop-down menu to create a new Web page for the look book.
Click in the new document text area to move the cursor there and type a title for the look book at the top of the page to help viewers identify it. Alternatively, add a header image to the top of the page by clicking the 'Insert' option in the program menu and selecting the 'Image' option. When prompted select the 'File System' option and navigate to the folder containing the images you wanted to use on the look-book page. Click on the header image you wanted to use to select it and click 'OK' to insert it into your page. Enter an explanatory name for the image in the 'Alternate Text' field and a longer explanation in the 'Long Description' text field when prompted and click the 'OK' button.
Press the 'Enter' key on your keyboard several times to create a satisfactory visual space between the header image and the beginning of the look-book images.
Add a look-book image to the page. Click 'Insert' in the program menu and select the 'Image' option from the drop-down menu.
Select the 'File System' option and navigate to the folder of images you wanted for use on the look-book page. Click on the image you wish to insert to select it and click 'OK' to insert it into the page. Type a name for the image in the 'Alternate Text' field and a explanation of in the 'Long Description' text field. Click the 'OK' button to insert it.
Click on the image that has been inserted into the Web page to select it. Click on 'Window' in the program menu and select the 'Properties' option from the drop-down menu.
Resize the image to your satisfaction by typing in your preferred image width in the text field marked 'W.' Then type in your preferred image height in the text field marked 'H.'
Align the image on the page to your satisfaction by clicking on the drop-down menu marked 'Align' and selecting your preferred alignment option. Type enter a few times to create whitespace below the picture.
Repeat Steps 7 through 11 to continue adding the pictures to the page until you have added all of the pictures you wish to show in the look book.
Click on 'Site' in the program menu and select the 'New Site' option. In the pop-up window click on the 'Servers' option in the left sidebar.
Click on the '+' icon at the bottom of the server list pane to add a new server.
Type in a name for the server in the 'Server Name' field. Set the 'Connect Using:' drop-down menu to the 'FTP' option. Enter your site's FTP address and your FTP account username and password in the provided text fields. Enter the file structure to the root directory of your site (the file where your index.html file is located) in the 'Root Directory' field. Enter the corresponding root URL to your site in the 'Web URL' field.
For example: Root Directory: /home/user/public_html
Web URL: http://mywebsite.com/Click the 'Save' button at the bottom of the window to save the server info. Close the 'Site' window to return to your look-book Web page.
Click on the arrow icon pointing up at the top of the files panel on the right side of the program to upload your look-book Web page to your website. When prompted 'Upload Related Files' click the 'Yes' option to upload the inserted image files to your website as well.
In Feburary 2016 14,

Friday, 12 February 2016

How to Make a Proxy WebsiteIn Feburary 2016 12,

In Feburary 2016 12,
Open an account at a web host that allows proxy websites. Many hosting companies do not allow proxies because they can generate a large amount of traffic that overloads the servers. Those that do allow proxy websites will typically prefer that you have a Virtual Private Server (VPS) or a dedicated server. Most hosts do not allow web proxies on a shared server.
Obtain a copy of PHProxy. This script acts as the software to power your proxy site. PHProxy is available free of charge, so anyone can make a proxy website without spending a lot of money.
Log into the control panel for your web hosting account. Create a MySQL database that will be used by the PHProxy script. Make note of the database name, user name and password that is associated with the database. This information is needed to configure the script to communicate with the database.
Edit the config.php file that is included with the script. Open the file with a HTML editor so that you can edit the contents of the file and save the new copy. Use Windows Notepad if you do not have a HTML editor. Simply open the file, edit the website name, website address, database name, database user name and database password. Save the file after the information has been edited.
Use an FTP program to upload all of the files to your hosting account. You can download a free copy of Filezilla FTP if you do not already have a program. Simply upload all of the files and folders included with PHProxy to your web hosting account. Your proxy website should now be operational.
Read the documentation that is included with PHProxy. Follow the instructions in the documentation to customize your script, such as changing colors, page layout or other visual elements. This will help you make a FTP website that stands out.
In Feburary 2016 12,

Wednesday, 10 February 2016

How to: FlashFXP for a PS3 GameIn Feburary 2016 10,

In Feburary 2016 10,
Download an FTP file manager to your computer. Examples of software designed for the PS3 include Blackb0x PS3 FTP Server, Gaia Manager, or MultiMAN.
Insert your USB flash drive and copy your FTP server's installation files from your computer to the flash drive.
Plug the flash drive into the PS3 and install the software. You can find the installation files by selecting 'Install Package Files' on the game menu.
Write down your PS3's IP address. You can find this information by checking the PS3's network settings.
Download and install FlashFXP to your computer. You will use this software to access the FTP server on your PS3.
Open FlashFXP and press F4 to open the Site Manager.
Click 'New Site' and enter a name of your choice.
Enter your PS3's IP address into the field. Enter '21' for the port number and leave username and password blank.
Click 'Apply' to save your changes and press 'F8' on your keyboard to connect to the FTP server.
Click and drag any files you wish to copy from your computer to your PS3. Your computer's files will be listed in the left window, while your PS3 will be listed in the right window.
In Feburary 2016 10,

Monday, 8 February 2016

How to Install PKG Files on a PS3In Feburary 2016 08,

In Feburary 2016 08,
Download the .pkg file you want to install onto the PS3 from one of the many PS3 developer Websites.
Insert a USB flash drive into the computer and copy the downloaded .pkg file directly to the USB flash drive.
Pull the USB flash drive out of the computer and turn on the PS3. Insert the USB flash drive into the PS3.
Select the 'Install Package Files' option from the PS3 main menu. Select the .pkg file that is on the USB flash drive from the menu that comes up. The .pkg file is installed.
Press the 'O' button on the PS3 gamepad to go back to the PS3 main menu when the installation completes. The installed program is now on the PS3 main menu.
In Feburary 2016 08,

Sunday, 7 February 2016

How to Add Fields to a Table in Access with Visual BasicIn Feburary 2016 07,

In Feburary 2016 07,
Open Microsoft Visual Basic Express, and click 'New Project...' in the left pane of your screen. Double-click 'Console Application.' Press 'Ctrl' and 'A' and then press 'Delete' to remove the current code.
Copy and paste the following code to your 'Module1.vb' module to execute a query and add two fields to the 'Products' table in the Northwind database.Imports System.Data.OleDbModule Module1
Sub Main()Dim northwindConn As OleDbConnectionDim sqlComm As OleDbCommandDim strSQL As StringnorthwindConn = New OleDbConnection('Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\ Northwind 2007.accdb;')northwindConn.Open()strSQL = 'ALTER TABLE Products ' & _'ADD COLUMN Product_I Text (30), Product_II Text (30);'sqlComm = New OleDbCommand(strSQL, northwindConn)sqlComm.ExecuteNonQuery()MsgBox('Added two fields successfully to the Products table.')northwindConn.Close()End Sub
End Module
Edit the following line of code and type the path to your database:OleDbConnection('Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\ Northwind 2007.accdb;')Press 'F5' to run your program.
In Feburary 2016 07,

Friday, 5 February 2016

How to Use FTP From VBAIn Feburary 2016 05,

In Feburary 2016 05,
Open Microsoft Excel.
Click 'Tools,' 'Macro' and then 'Visual Basic.' This will open the VBA programming environment.
Click 'Tools' and 'Reference.' Scroll down and select the 'Microsoft Internet Transfer Control' and click 'OK.'
Click 'Insert' and 'Module.' You are now in a programming code module.Type or copy and paste the following in the code module:Function UploadFile(ByVal HostName As String, _
ByVal UserName As String, _ByVal Password As String, _ByVal LocalFileName As String, _ByVal RemoteFileName As String) As BooleanDim FTP As InetSet FTP = New InetWith FTP.Protocol = icFTP.RemoteHost = HostName.UserName = UserName.Password = Password.Execute .URL, 'Put ' + LocalFileName + ' ' + RemoteFileNameDo While .StillExecutingDoEventsLoopUploadFile = (.ResponseCode = 0)End WithSet FTP = Nothing
End Function
In Feburary 2016 05,