bash - Substitution of variables
This link explains variable substitution in the Bash Shell.
For convenience a copy of some info in that post:
For convenience a copy of some info in that post:
- ${VAR-default}
If VAR is set (to any value, even null, then return $VAR, otherwise return the default value provided. VAR is unchanged. If the - is preceded by a colon (':') then the default value will also be returned in case the value of VAR is null. - ${VAR=default}
The same as '-' except that the value of VAR will be changed too. The use of the colon is the same in this case. - ${#VAR}
This returns the number of characters in VAR. (Unicode ???) - ${VAR#pattern}
Returns VAR with the shortest instance of pattern removed from the front.
Pattern is not a regular expression but a glob. If ## is used instead of # the longest matching pattern is removed from the front. - ${VAR%pattern}
Identical to # except the front will be the end of value of VAR
Installation of Forms on OEL r5 u5
This post is currently only a wrap up of links I found interesting in installing the forms environment.
Envirionment:
Two hosts: one ... a vmware environment with oracle VM Manager the other with Oracle VM Server.
Next to these I have a NAS which is used to provide the software to all guests on the VM server for sofware and other feeds (a Thecus N5500 with 10TB disk capacity) (NFS is choses over iSCSI because the fact that iSCSI has to be considered as a hardware layer and is therefor dedicated to one controlling machine. Because I want to use it on all machines ... I had it configured as a NFS share)
The VM server has an Intel i7 920 processor with 6GB of ram and 4 TB of disks installed (Acer brand)
On the VM Server the following guest systems will be installed:
Links:
Envirionment:
Two hosts: one ... a vmware environment with oracle VM Manager the other with Oracle VM Server.
Next to these I have a NAS which is used to provide the software to all guests on the VM server for sofware and other feeds (a Thecus N5500 with 10TB disk capacity) (NFS is choses over iSCSI because the fact that iSCSI has to be considered as a hardware layer and is therefor dedicated to one controlling machine. Because I want to use it on all machines ... I had it configured as a NFS share)
The VM server has an Intel i7 920 processor with 6GB of ram and 4 TB of disks installed (Acer brand)
On the VM Server the following guest systems will be installed:
- db server: OELr5u2 with Oracle DB 11g, running with 2 cores dedicated and 1.5 GB ram.
- wls admin server: OEL r5u5
- hosts to run managed servers: OELr5u5, initially only one server, with the intention of running 4 managed servers.
- Later on the host with managed servers will be copied to try the concept of clustering ...
The network ... well very simple ... all hosts will get a fixed ip address within the same subnet.
Since the virtual NIC's are on the same physical system, they use the softnetworked network ... which provides rather high speeds.
Software
The following software is used:
Oracle VM Manager r 2.2.0
Oracle VM Server r 2.2.0
VMWare Fusion (is used to create a linux vm and install the VM manager in it) running on Mac OS X.
Oracle Enterprise Linux r5 u 5.
Weblogic server 11g r1 (10,3,3,0)
FMW - portal, forms, reports and discoverer v 11g r1patch 1 (11,1,1,2)
Patch to FMW - portal, forms, reports and discoverer r11g r1 (11,1,1,3)
For convenience a VM with DB11g.
Installation of the Virtual Machines
To be done
Installation of FMW on the server
Install the WLS server.
Install release 11,1,1,2 of FMW-PFRD
Install on top of that 11,1,1,3 (this is a pure patchset ... big but a patchset)
That's it for now ...
Since the virtual NIC's are on the same physical system, they use the softnetworked network ... which provides rather high speeds.
Software
The following software is used:
Oracle VM Manager r 2.2.0
Oracle VM Server r 2.2.0
VMWare Fusion (is used to create a linux vm and install the VM manager in it) running on Mac OS X.
Oracle Enterprise Linux r5 u 5.
Weblogic server 11g r1 (10,3,3,0)
FMW - portal, forms, reports and discoverer v 11g r1patch 1 (11,1,1,2)
Patch to FMW - portal, forms, reports and discoverer r11g r1 (11,1,1,3)
For convenience a VM with DB11g.
Installation of the Virtual Machines
To be done
Installation of FMW on the server
Install the WLS server.
Install release 11,1,1,2 of FMW-PFRD
Install on top of that 11,1,1,3 (this is a pure patchset ... big but a patchset)
That's it for now ...
Links:
- Oracle system requirements and specifications for FMW
- Download the software
- A tutorial on installing forms on windows
Android - Copy Nokia Contacts to Android Phone
In this link you can find the HowTo on how to do this.
In case the link wouldn't work anymore here's how:
In case the link wouldn't work anymore here's how:
- on the nokia go to contacts and mark all the contacts.
- Copy all contacts to the inserted microSD card
The phone will ask to replace all existing contacts on the card. Confirm yes. - Connect to the MicroSD card. This can be done by browsing the card after connecting it through cable or bluetooth to a computer or by simply inserting the MicroSD card into a expansion to SD card.
- Copy the contents of the contacts folder to a local folder. (I'm assuming you're a wise person and using a Unix based OS such as Linux or Mac OS X.
- Create a single file from all the vcf files by using the command cat *.vcf > MyContacts.VCF
- Now you need a Google account ... Android is based on Google and ... they seem to work very well together (See later)
- Go to the contacts and simply import the MyContacts.VCF file into the Google Contacts.
- Now you can modify the data as you require (merge them, clean them out and so on ... )
- Now ... in case you had already defined a Google connection on your phone ... you will be amazed but ... all your contacts will be present on you phone ... be amazed by it !!!
In the other case, simply connect from the phone to your newly created google account ... and also in this case ... be amazed by the wonder of integration!
OpenOffice - Mailmerge and blanc pages
When performing a mailmerge sometimes a blanc page gets inserted.
When searching for this problem on the internet you will surely find this solution which suggests to set the insert blanc page when printing to off.
That solution is a workaround which has to be set in a document. It controls the fact that if a previous section ends on an odd page and the next section starts on an odd page, when printing an even page gets inserted, which is used when printing in duplex/double sided. In a mail merge this section end by default generates the 'even' page and by this the blanc page ...
The problem basically comes from the fact that while doing a print mailmerge to a new single document every instance of a record will be printed to a new section which starts on the odd page. You will notice this in the line starting each printed instance which is in fact a section break.
So you should be able to control the behaviour of the 'section printing' in the document.
This link shows the wiki page on sections in OpenOffice.
TBC
When searching for this problem on the internet you will surely find this solution which suggests to set the insert blanc page when printing to off.
That solution is a workaround which has to be set in a document. It controls the fact that if a previous section ends on an odd page and the next section starts on an odd page, when printing an even page gets inserted, which is used when printing in duplex/double sided. In a mail merge this section end by default generates the 'even' page and by this the blanc page ...
The problem basically comes from the fact that while doing a print mailmerge to a new single document every instance of a record will be printed to a new section which starts on the odd page. You will notice this in the line starting each printed instance which is in fact a section break.
So you should be able to control the behaviour of the 'section printing' in the document.
This link shows the wiki page on sections in OpenOffice.
TBC
Google - Hoe meer efficient zoeken
Het zou bijne common knowledge moeten zijn ... maar door de sturing van de zoekmachine van google is het soms gemakkelijker naar een meer relevant resultaat te komen.
Het is interessant om een keer door deze lijst te gaan kijken en een keer alle mogelijkheden te doorlopen.
Het is nog handiger om deze lijst bovenaan uw bookmarks te houden omdat het dikwijls zo zou zal zijn dat je meer tijd wint door een betere zoekopdracht te geven dan door een eindeloze lijst van niet-relevante zoekresultaten te lopen.
Andere plaatsen om hier informatie over te vinden van Google zelf:
- Help bij het zoeken: algemeen
- Basisbeginselen bij het Google zoeken.
- Uw zoekervaring verbeteren.
Het is interessant om een keer door deze lijst te gaan kijken en een keer alle mogelijkheden te doorlopen.
Het is nog handiger om deze lijst bovenaan uw bookmarks te houden omdat het dikwijls zo zou zal zijn dat je meer tijd wint door een betere zoekopdracht te geven dan door een eindeloze lijst van niet-relevante zoekresultaten te lopen.
Andere plaatsen om hier informatie over te vinden van Google zelf:
- Help bij het zoeken: algemeen
- Basisbeginselen bij het Google zoeken.
- Uw zoekervaring verbeteren.
GSM - Rinkeltijd verlengen
Gekopieerd voor de memorie van de blog van Peeters en Pichal: ( link )
Luisteraar Annelies schrijft: ‘Sinds lange tijd storen we ons hier met z'n allen aan de korte rinkeltijd van onze GSM's. Voordat we de telefoon kunnen opnemen zit de beller al op de voice mail.’
Volgens Annelies wordt de rinkeltijd zelfs voortdurend korter en zitten hier snode plannen van de operatoren achter. Wat is er van aan?
In de uitzending bleek dat je de beltijd (de tijd voordat je voicemail opspringt) op de volgende manieren kan verlengen:
Proximus: **61*+32475151516*11*30#
Base: **61*+32486191933**30# of *61*+32486191933**30#
Mobistar: **61*5555**30#
Telenet: **61*5555**30#
Na het hekje moet je op verzenden of op de groene knop van je gsm duwen.
Enkel geldig voor mensen die met een abonnement bellen.
Luisteraar Annelies schrijft: ‘Sinds lange tijd storen we ons hier met z'n allen aan de korte rinkeltijd van onze GSM's. Voordat we de telefoon kunnen opnemen zit de beller al op de voice mail.’
Volgens Annelies wordt de rinkeltijd zelfs voortdurend korter en zitten hier snode plannen van de operatoren achter. Wat is er van aan?
In de uitzending bleek dat je de beltijd (de tijd voordat je voicemail opspringt) op de volgende manieren kan verlengen:
Proximus: **61*+32475151516*11*30#
Base: **61*+32486191933**30# of *61*+32486191933**30#
Mobistar: **61*5555**30#
Telenet: **61*5555**30#
Na het hekje moet je op verzenden of op de groene knop van je gsm duwen.
Enkel geldig voor mensen die met een abonnement bellen.
Brother - reset Drum Status
To reset the status of the Brother MFC-8840d(n) open the front cover, press the clear/back button and when asked select yes (=1) to reset the status.
Ethernet Wiring
Just a quick reminder on how the wiring should be done.
Types
Two different wirings exist : a type A and type B both under the standard EIA/TIA T568.
A streight through cable has on both sides of the cable the same type, so A-A or B-B.
A cross cable is a cable which has on one side a type A and on the other side a type B.
The 'crossing" nature comes from the different wirings between the A and B types.
Pin numbering
The male plug is numbered with the copper leads upwards and pointed away from you.
The female connector matches logically to this principle so leads upwards and
Ethernet Cable
An ethernet cable exists in Shielded Twisted Pair (STP) and Unshielded Twisted Pair (UTP).
The cable is composed of a twisted bundle of four twisted pairs of wires: a green, an orange, a blue and a brown pair. Each pair is composed of a solid and white combined wire.
The shielding of the cable makes a difference in fault tolerance and guaranteed throughput.
Be aware that in case Shielding has to be used, the shielding should not only be foreseen for the cable but also in all of the other network components: the plug, the switch or peripheral ... . The 'grounding' of the shield must be foreseen and tested.
Pin to Wire Match
Type A (EIA/TIA T568A):
pin 1 : green/white (TX+)
pin 2 : green (TX-)
pin 3 : orange/white (RX+)
pin 4 : blue
pin 5 : blue/white
pin 6 : orange (RX-)
pin 7 : brown/white
pin 8 : brown
Type B ( EIA/TIA T568B):
Although it seems that the blue and brown sets are not used, they have a use for full duplex use of the ethernet cable ... it seems ... have not found their use ... yet ...
Types
Two different wirings exist : a type A and type B both under the standard EIA/TIA T568.
A streight through cable has on both sides of the cable the same type, so A-A or B-B.
A cross cable is a cable which has on one side a type A and on the other side a type B.
The 'crossing" nature comes from the different wirings between the A and B types.
Pin numbering
The male plug is numbered with the copper leads upwards and pointed away from you.
The female connector matches logically to this principle so leads upwards and
Ethernet Cable
An ethernet cable exists in Shielded Twisted Pair (STP) and Unshielded Twisted Pair (UTP).
The cable is composed of a twisted bundle of four twisted pairs of wires: a green, an orange, a blue and a brown pair. Each pair is composed of a solid and white combined wire.
The shielding of the cable makes a difference in fault tolerance and guaranteed throughput.
Be aware that in case Shielding has to be used, the shielding should not only be foreseen for the cable but also in all of the other network components: the plug, the switch or peripheral ... . The 'grounding' of the shield must be foreseen and tested.
Pin to Wire Match
Type A (EIA/TIA T568A):
pin 1 : green/white (TX+)
pin 2 : green (TX-)
pin 3 : orange/white (RX+)
pin 4 : blue
pin 5 : blue/white
pin 6 : orange (RX-)
pin 7 : brown/white
pin 8 : brown
Type B ( EIA/TIA T568B):
pin 1 : orange/white (TX+)
pin 2 : orange (TX-)
pin 3 : green/white (RX+)
pin 4 : blue
pin 5 : blue/white
pin 6 : green (RX-)
pin 7 : brown/white
pin 8 : brown
For a color reference please follow this link.
Although it seems that the blue and brown sets are not used, they have a use for full duplex use of the ethernet cable ... it seems ... have not found their use ... yet ...
Samsung Led tv Upgrade firmware
See http://geekdav.blogspot.com/2010/02/update-firmware-of-your-samsung-led-tv.html for information. The standard selected files which are available via the localized websites is not always the correct one.
Verify the exact model type name to get the exact correct firmware.
Verify the exact model type name to get the exact correct firmware.
Subscribe to:
Posts (Atom)