The Jargon File (version 4.4.7, 29 Dec 2003):
barney
 n.
    In Commonwealth hackish, barney is to fred (sense #1) as bar is to foo
    . That is, people who commonly use fred as their first metasyntactic
    variable will often use barney second. The reference is, of course, to Fred
    Flintstone and Barney Rubble in the Flintstones cartoons.
The Free On-line Dictionary of Computing (30 December 2018):
barney
   In Commonwealth hackish, "barney" is to fred as bar is to
   foo.  That is, people who commonly use "fred" as their first
   metasyntactic variable will often use "barney" second.  The
   reference is, of course, to Fred Flintstone and Barney Rubble
   in the Flintstones cartoons.
   [Jargon File]
   (1994-11-28)
U.S. Gazetteer Places (2000):
Barney, ND -- U.S. city in North Dakota
   Population (2000):    69
   Housing Units (2000): 28
   Land area (2000):     0.159546 sq. miles (0.413221 sq. km)
   Water area (2000):    0.000000 sq. miles (0.000000 sq. km)
   Total area (2000):    0.159546 sq. miles (0.413221 sq. km)
   FIPS code:            04940
   Located within:       North Dakota (ND), FIPS 38
   Location:             46.267428 N, 97.000220 W
   ZIP Codes (1990):     58008
   Note: some ZIP codes may be omitted esp. for suburbs.
   Headwords:
    Barney, ND
    Barney