>

Using Git for DNS and DHCP Config Files

# sudo yum install git-core # git init Initialized empty Git repository in /.git/ # git add /var/named/chroot/var/named/zones/* # git commit -m 'Added DNS zone files' [master (root-commit) a8418bf] Added DNS zone files Committer: root <root@liminf03.motion.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config –global user.name “Your Name” git config –global user.email you@example.com After doing this, you may fix the...
read more

Changing the Color of Links

Using the ElegantThemes eBusiness theme, the default color for links did not stand out and links were hard to see. Resolved by making them red. In the style.css file, for the child theme, added the following line of code: .home-post-wrap-2 a {color: #ff0000 !important; font-weight: bold;}
read more

Fun with mod_rewrite…

Today I had to create some specific/generic rewrite rules. The idea was to allow “motion.com,”www.motion.com,” “www.motion.com/index.html,” and “motion.com/index.html” all go to an index (domain for sale) page. However, let everything else forward to “learninginmotion.com.” So URLs like “www.motion.com/products/index.html” would forward to “www.learninginmotion.com/products/index.html.” The resulting rule was: RewriteCond %{REQUEST_URI} !^/index.html$ RewriteCond %{REQUEST_URI} !^/$ RewriteRule ^(.*)$...
read more

NPC Companion Perks

There is an undocumented feature in F:NV that some modders may find useful. It is the ability to give perks to companions. Or, more accurately, it is the ability to add perks to a special list on the player that will have an effect on any active followers. Here’s how it works: player.addperk XXXXXXXXXXXXX 1 The “1” means “put this on the special list for companions”. Companions will still not store/keep perks, but we give the player a second list of non-displayed perks that only apply to companions. If you want the effect to apply to all companions, you do not need to...
read more

Interesting Companion Script Ideas…

Common Companion Variables to Define: short HasBeenHired short WeaponOut short CombatStyleRanged short CombatStyleMelee short IsFollowingDefault short IsFollowingshort short IsFollowingLong short FollowerSwitchAggressive short Waiting short DoOnce short bLoadedOnce; short bTalking; short bshortercomConversationActive; On load, bump up sneak value: Begin OnLoad ; set up base stats if (bLoadedOnce == 0) SetActorValue sneak 100; set bLoadedOnce to 1; evp endif end Add to above to make sure we set the right combat style on loading. ;Script to make sure we set the right combat style on loading. If...
read more

« Previous Entries Next Entries »