Office 2000
VPN Client
SAP GUI
Confiker
Setup Mcafee update
Setup Windows update
7zip
acrobat reader 8
MW Snap
SP Winn XP
Setup Printer
Setup Oulook
Copy data
fortmat d:
Wednesday, January 26, 2011
Tuesday, January 25, 2011
Create User
CREATE USER 'ps_dev'@'localhost' IDENTIFIED BY 'ps3dev';
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON ps_sales_dev.*
TO 'ps_dev'@'localhost';
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
ON ps_sales_dev.*
TO 'ps_dev'@'localhost';
Monday, January 24, 2011
Toolbar Enable
Sub reset()
Application.CommandBars("Cell").Reset
Application.CommandBars("Cell").enabled = true
End Sub
Application.CommandBars("Cell").Reset
Application.CommandBars("Cell").enabled = true
End Sub
Wednesday, January 19, 2011
Create password phpmyadmin
1. change the file config.inc.php (c:\xampp\phpmyadmin\
from
$cfg['Servers'][$i]['auth_type'] = 'config';
to
$cfg['Servers'][$i]['auth_type'] = 'cookie';
2. change password phpmyadmin from menu phpmyadmin
3. replace new password in config.php in c:\xampp\htdocs
from
$cfg['Servers'][$i]['auth_type'] = 'config';
to
$cfg['Servers'][$i]['auth_type'] = 'cookie';
2. change password phpmyadmin from menu phpmyadmin
3. replace new password in config.php in c:\xampp\htdocs
Tuesday, January 18, 2011
Forward URL
< head >
< META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://elearning.frisianflag.co.id">
< title ID=titletext>Under Construction ..< /title>
< / head >
< META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://elearning.frisianflag.co.id">
< title ID=titletext>Under Construction ..< /title>
< / head >
Monday, January 17, 2011
Cron PHP script sheduller
## 1. Create php file ##
// your code to run via cron
// Updates stock
< ? php
$dbhost="localhost";// YOUR HOST NAME USUALLY LOCALHOST
$dbuser="root"; // YOUR DATA BASE USER NAME USUALLY ROOT
$dbpass="pass"; // YOUR DATA BASE PASSWORD
$dbname="";// YOUR DATA BASE NAME
mysql_connect($dbhost, $dbuser, $dbpass) or die("CANNOT CONNECT TO DB-HOST");
mysql_select_db($dbname) or die("DATABASE NAME PROBLEM");
$sql = "UPDATE accountinfo a set TAG = (SELECT b.location FROM ocsweb.frisianipmapping b , ocsweb.hardware c where b.IPmapping =c.IPADDR and a.hardware_Id=c.id)";
mysql_query($sql) or die("SQL ERROR:
".$sql);
?>
## 2. SETTING ENVIRONMENT ##
- click mycomputer >> properties >> environmen, then add the variable of 'PATH' with ";C:\xampp\php\"
## 3. CREATE BATCH FILE ##
@echo off
echo schedulle_running
php update.location.php
## 4. SETTING CRON SCHEDULE ##
start >> control panel >> schedule, choose the batch file
// your code to run via cron
// Updates stock
< ? php
$dbhost="localhost";// YOUR HOST NAME USUALLY LOCALHOST
$dbuser="root"; // YOUR DATA BASE USER NAME USUALLY ROOT
$dbpass="pass"; // YOUR DATA BASE PASSWORD
$dbname="";// YOUR DATA BASE NAME
mysql_connect($dbhost, $dbuser, $dbpass) or die("CANNOT CONNECT TO DB-HOST");
mysql_select_db($dbname) or die("DATABASE NAME PROBLEM");
$sql = "UPDATE accountinfo a set TAG = (SELECT b.location FROM ocsweb.frisianipmapping b , ocsweb.hardware c where b.IPmapping =c.IPADDR and a.hardware_Id=c.id)";
mysql_query($sql) or die("SQL ERROR:
".$sql);
?>
## 2. SETTING ENVIRONMENT ##
- click mycomputer >> properties >> environmen, then add the variable of 'PATH' with ";C:\xampp\php\"
## 3. CREATE BATCH FILE ##
@echo off
echo schedulle_running
php update.location.php
## 4. SETTING CRON SCHEDULE ##
start >> control panel >> schedule, choose the batch file
Function get URL in Excel
Create in macro like function below:
Function GetURL(rng As Range) As String
On Error Resume Next
GetURL = rng.Hyperlinks(1).Address
End Function
then open excel, type in a cell "=GetURL(A1)" for link/url you will capture
after that, you can correction the URL using macro below.
For URL = 6 To 329
AddressName = Cells(URL, 23).value
Range("W" & URL).Select
Selection.Copy
Range("L" & URL).Select
ActiveSheet.Paste
Application.CutCopyMode = False
AddressURL = Cells(URL, 27).value
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:=AddressURL, _
TextToDisplay:=AddressName
Next
Function GetURL(rng As Range) As String
On Error Resume Next
GetURL = rng.Hyperlinks(1).Address
End Function
then open excel, type in a cell "=GetURL(A1)" for link/url you will capture
after that, you can correction the URL using macro below.
For URL = 6 To 329
AddressName = Cells(URL, 23).value
Range("W" & URL).Select
Selection.Copy
Range("L" & URL).Select
ActiveSheet.Paste
Application.CutCopyMode = False
AddressURL = Cells(URL, 27).value
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:=AddressURL, _
TextToDisplay:=AddressName
Next
Subscribe to:
Posts (Atom)