Get Name of Server Machine on Redhat Centos

To get the name of your server’s machine on your Redhat or Centos linux box (I use Centos 5.3) then just type this in your terminal:
cat /etc/redhat-release

My output is;
CentOS release 5.3 (Final)

  • Share

Wordpress Wiki

I tried installing the WordPress wiki from http://wp-wiki.org. There are a few issues that I’ve encountered which I hope they will fix shortly. This is a great plugin once all the bugs are ironed out.

Some of the bugs that I’ve encountered are:

This is the page I created http://blog.tutorialref.com/wiki/bible-wiki. However, I receive some error.

1) I receive an error:
Warning: Invalid argument supplied for foreach() in /home1/discoup9/public_html/tutorialref/blog/wp-content/plugins/wordpress-wiki/lib/class_WikiParser.php on line 271

2) The formatting (width) is a bit off. Is there an easy way to fix this in the template?

3) I ended up creating multiple pages and selected the checkbox “This is a wiki…” But then I noticed that created too many pages found in the “Wiki Pages” section of the admin panel. But I couldn’t delete the extra pages. I also noticed the pages at the links at the top left are referring to a wiki page that I don’t wish to display any longer. I can’t seem to change the hypertext link.

  • Share

The Name of God: YHVH

*Exodus 3:14, 15. “And God said to Moses, ‘I AM THAT I AM.Thus you shall say to the children of Israel: “YHVH, God of your fathers, the God of Abraham, the God of Isaac, and the God of Jacob, has sent me to you. This is My name forever, and this is My memorial to all generations.”

The King James Version states “…the LORD God of your fathers…” The word “LORD” is a status title and not a name for God. God has a name YHVH (Yod-Heh-Vav-Heh in the Hebrew). This name was personal and was given by God to the Israelites. This is a holy and precious name and the Psalms speak of this great name.

“3He restoreth my soul: he leadeth me in the paths of righteousness for his name’s sake.” – Psalms 23:3 (KJV)

However, because of Israel turned from God the Glory of God left the Temple in Jerusalem (Ezekiel 10:1-11:23). The result was the pronunciation of YHVH was lost. The vowels were not placed in between the consonants because His Name was sacred. Currently, in Israel the name Adonai (a Hebrew name related to the word for “master”) is used, or the words Ha Shem (“the Name”) is used such as Yeho’vah, Jehovah, or Yaweh. The latter is more commonly used in the western languages and are only educated guesses. In Matthew 23:39, Yeshua (Jesus) said ” 39For I say unto you, Ye shall not see me henceforth, till ye shall say, Blessed is he that cometh in the name of the Lord.” Or rewritten with the proper Name of God: “Blessed is He who comes in the name of YHVH.” This is in reference to Psalm 118:26 and refers to Yeshua.

Yet the One who will come again in that Name, actually bore it within His own! The name Yeshua (Jesus) is a contracted form of the names YHVH and the Hebrew word for “salvation.” “And she shall bring forth a Son, and you shall call His name Yeshua-for He will save His people from their sins” (Matthew 1:21).

PLEASE PRAY: For a spirit of grace and supplication to be poured out on the House of David and the inhabitants of Jerusalem-grace to look on the One who was pierced (Zech 12:10-14), and to realize that His holy name YESHUA bears within it the Name and Salvation of the God of their Fathers that “All who call on the Name of the LORD shall be saved!”

“3And I will bless them that bless thee, and curse him that curseth thee: and in thee shall all families of the earth be blessed.” – Genesis 12:3

11I say then, Have they stumbled that they should fall? God forbid: but rather through their fall salvation is come unto the Gentiles, for to provoke them to jealousy.

12Now if the fall of them be the riches of the world, and the diminishing of them the riches of the Gentiles; how much more their fulness?

13For I speak to you Gentiles, inasmuch as I am the apostle of the Gentiles, I magnify mine office:

14If by any means I may provoke to emulation them which are my flesh, and might save some of them.

15For if the casting away of them be the reconciling of the world, what shall the receiving of them be, but life from the dead? -Romans 11:11-15

Here are some Names of God

http://www.hebrew4christians.com/Names_of_G-d/names_of_g-d.html

The above information was rewritten from an email from the newsletter provided by Glory of Zion title “Prayer Update From Israel (December 21, 2010). Excellent newsletter. I believe the information was provided by Martin and Norma Sarvis in Jerusalem. I posted it here for my reference and others who may find this interesting.

  • Share

Bet-Lecham means House of Bread

Bet-Lecham (Bethlehem) in Hebrew means House of Bread-Bethlehem

  • Share

Javascript Reserved Words

Javascript Reserved Words:

Javascript reserved words means do not use these words when creating variables.

abstract boolean break byte
case catch char class
const continue default delete
do double else extends
false final finally float
for function goto if
implements import in instanceof
int interface long native
new null package private
protected public return short
static super switch synchronized
this throw throws transient
true try typeof var
void volatile while with
  • Share

Validome XHTML, XML, DTD, RSS, Google Sitemap Validator

I read about Validome validator for XHTML, XML, DTD, advanced RSS, Google Sitemap validation. I haven’t tried it as I use the W3C validator primarily. Here it is for those who are interested:
http://www.validome.org/

Validate your Google Sitemap with Validome

It has an advanced RSS validator and a Google sitemap validator. If you validate your sitemap with Google then it’ll be accepted with Bing and Yahoo when you submit them.

  • Share

Javascript Detect Browser

Javascript Detect Browser type using Javascript Browser Object navigator:

Javascript Browser Detect Code:

    

Note: ignore the part after the </script> in the code above. The javascript code is executing when it shouldn’t be. Sorry, will try and fix this in the future.

Javascript Browser Object navigator:Internet Explorer 7.0 Output

Javascript appName: Microsoft Internet Explorer
Javascript userAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; Tablet PC 2.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)

Javascript Browser Object navigator:Internet Explorer 8.0 Output

Javascript appName: Microsoft Internet Explorer
Javascript userAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; Tablet PC 2.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)

Javascript Browser Object navigator:Firefox 3.6.8 Output

Javascript appName: Netscape
Javascript user: AgentMozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C)

Javascript Browser Object navigator:Google Chrome 8.0.x Output

Javascript appName: Netscape
Javascript user: AgentMozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

Javascript Browser Object navigator:Opera 10.6.3 Output

Javascript appName: Opera
Javascript user: AgentOpera/9.80 (Windows NT 6.0; U; en) Presto/2.6.30 Version/10.63

Javascript Browser Object navigator:Safari 5.0.2 Output

Javascript appName: Netscape
Javascript user: AgentMozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5
  • Share

Javascript Event Handler

Javascript Event Handler Results or Outcome
onabort Image that was loading was interrupted by visitor
onblur Vistor move mouse away from a form element
onchange Visitor changed a form element
onclick Vistior clicked in the designated area (usually a form’s button)
onerror web browser reported an error when an image was loaded
onfocus Visitor placed their focus on to a form’s element (clicked on it)
onload Window document finished loading (usually used when in the body tag)
onmouseout Visitor moved mouse away from an area
onmouseover Visitor moved mouse over an area
onsubmit Visitor submited the form (i.e. clicked on the form’s submit button)
onunload Visitor moved mouse away from the window or particular frame

Javascript is case sensitive so these Javascript command should be lower-case.

  • Share

RFC-822 Coding Date & Time

5.  DATE AND TIME SPECIFICATION

     5.1.  SYNTAX

     date-time   =  [ day "," ] date time        ; dd mm yy
                                                                 ;  hh:mm:ss zzz

     day           =  "Mon"  / "Tue" /  "Wed"  / "Thu"
                          /  "Fri"  / "Sat" /  "Sun"

     date          =  1*2DIGIT month 2DIGIT     ; day month year
                                                                   ;  e.g. 20 Jun 82

     month       =  "Jan"  /  "Feb" /  "Mar"  /  "Apr"
                          /  "May"  /  "Jun" /  "Jul"  /  "Aug"
                          /  "Sep"  /  "Oct" /  "Nov"  /  "Dec"

     time          =  hour zone                         ; ANSI and Military

     hour         =  2DIGIT ":" 2DIGIT [":" 2DIGIT]
                                                                  ; 00:00:00 - 23:59:59

     zone        =  "UT"  / "GMT"                    ; Universal Time
                                                                  ; North American : UT
                         /  "EST" / "EDT"                 ;  Eastern:  - 5/ - 4
                         /  "CST" / "CDT"                ;  Central:  - 6/ - 5
                        /  "MST" / "MDT"                ;  Mountain: - 7/ - 6
                        /  "PST" / "PDT"                 ;  Pacific:  - 8/ - 7
                        /  1ALPHA                        ; Military: Z = UT;
                                                                 ;  A:-1; (J not used)
                                                                 ;  M:-12; N:+1; Y:+12
                       / ( ("+" / "-") 4DIGIT )         ; Local differential
                                                                ;  hours+min. (HHMM)

http://www.faqs.org/rfcs/rfc822.html

  • Share

HTML Entity single quote

I couldn’t find the HTML entity single quotes previously so I thought I’d post it here for my reference and others who may need it in the future.

* horizontal ellipsis (…)
* en dash and em dash (– and —)
* left and right double quote (“ and ”)
* left and right single quote (‘ and ’)

  • Share