Install DS Video App in Samsung Smart Hub

Installation through the TV’s developer mode – only available if you have a model from 2012 or later (see the Availability and compatible TV models section below):

  1. Enter the Smart Hub.
  2. Select Login.
  3. Log in with either of the following develop accounts:
    • Using the system developer account:
      • Account name: develop
      • Password: none (just input any six characters)
      • Tap Login

Note: The account name is “develop” rather than “developer”.

  • Creating a develop account:
    • Account name: develop
    • Password: develop or 000000
  1. Once you are logged in as develop, go to SettingsDevelopment > Server IP.
  2. Enter the following IP address: 59.124.61.228
  3. Once the IP is entered, return to SettingsDevelopment > User Application Synchronization.
  4. Agree to any completion message. You will then find DS video ready for use in the Smart Hub.

 

Posted in Video | Comments Off on Install DS Video App in Samsung Smart Hub

NTP: Force Time Sync

From the command line:

# service ntpd stop
# ntpdate pool.ntp.org
# service ntpd start

On RHEL/CentOS you can force ntpd to syncronize on service startup by doing the following:

# vi /etc/sysconfig/ntpd

There is an OPTIONS variable with something like:

OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid"

Add the -x parameter:

OPTION="-x -u ntp:ntp -p /var/run/ntpd.pid"

You may also want to set SYNC_HWCLOCK option to “yes”, in order to also syncronize hardware clock.

Posted in System Configuration | Tagged | Comments Off on NTP: Force Time Sync

Reset Interior Cell

Syntax:

ResetInterior CellID

Example:

ResetInterior MyVault01

Marks the cell as expired so that the next time it is loaded it will be cleaned up as if several days have passed.

Posted in Fallout New Vegas, Game Modding | Comments Off on Reset Interior Cell

Script: Repair Broken Door

First create a door. It can be locked or unlocked.

Next create a Message. Example text:

An examination of the door's security components reveals that several parts and connections were damaged when raiders tried to break in. It should be repairable with the right parts, or perhaps the system can be bypassed.

[Repair of 40 or greater required, plus 2 pieces of Scrap Electronics and a Sensor Module are required to repair the door.]

[Science of 50 or greater required to bypass the security system.]

There will be three options:

DoorMsg0DoorMsg1DoorMsg2

Then create a the fixed door messages:

You fixed the Safe House North Entry Door, but it remains locked.

and/or

You bypassed the security system on the Safe House North Entry Door.

Finally, attach the following script to the door:

scn TISHNorthFixDoorScript

short bFixed		; 1 = Player has repaired the door.
short Button

begin OnActivate player

if bFixed
		Activate
	else
		ShowMessage TISHBrokenDoorMSG
	endif
	
end

BEGIN GameMode

		set Button to GetButtonPressed

		if ( Button == 1 )
			set bFixed to 1
			ShowMessage TISHNorthFixedDoorMsg
               player.removeitem SensorModule 1
               player.removeitem ScrapElectronics 2
			RewardXP 100
          else  
               if ( Button == 2 )
			    set bFixed to 1
			    ShowMessage TISHNorthBypassedDoorMsg
			    RewardXP 100
			    Unlock
              endif
         endif

END
Posted in Fallout New Vegas, Game Modding, Scripts | Comments Off on Script: Repair Broken Door

Script: Auto Close Door

ScriptNname AutoClosingDoor01

float doorTimer
short closeDoor

Begin GameMode
	if closeDoor == 1
		if doorTimer > 0
			set doorTimer to doorTimer - getSecondsPassed
		elseif GetOpenState == 1 ; if the door is still open
			SetOpenState 0 ; close the door
			set closeDoor to 0
		endif
	endif
End

Begin OnActivate
	if GetOpenState == 3 ; if the door is closed
					set doorTimer to 5
			set closeDoor to 1
	endif
	Activate
End
Posted in Fallout New Vegas, Game Modding, Scripts | Comments Off on Script: Auto Close Door

Script: Reset Container Contents

Used for Safe House Fridge and Supply Crates

scn TISHNiptonSupplyResetScript

begin GameMode

if GetDayOfWeek == 1 || GetDayOfWeek == 4
	TISHNiptonSupply01REF.ResetInventory
	TISHNiptonSupply02REF.ResetInventory
endif

end
Posted in Fallout New Vegas, Game Modding | Comments Off on Script: Reset Container Contents

Fallout: New Vegas Healer Scripts

Addiction:

;Set to heal the player of addictions
RemoveSpell WithdrawalAlcohol
RemoveSpell WithdrawalAntNectar
RemoveSpell WithdrawalBuffout
RemoveSpell WithdrawalHydra
RemoveSpell WithdrawalJet
RemoveSpell WithdrawalMentats
RemoveSpell WithdrawalMorphine
RemoveSpell WithdrawalPsycho
RemoveSpell WithdrawalQuantumNukacola
RemoveSpell WithdrawalRebound
RemoveSpell WithdrawalSteady
RemoveSpell WithdrawalTobacco
RemoveSpell WithdrawalTurbo
ShowMessage AddictionRemovalMsg
Set Generic.Addicted to 0 

Raditation:

player.RestoreAV RadiationRads 1000

Health:

;Set to heal the player of physical damage plus code to repair limbs.
Player.ResetHealth
Player.restoreav perceptioncondition 100
Player.restoreav endurancecondition 100
Player.restoreav leftattackcondition 100
Player.restoreav leftmobilitycondition 100
Player.restoreav rightattackcondition 100
Player.restoreav rightmobilitycondition 100
Posted in Fallout New Vegas, Game Modding | Tagged , | Comments Off on Fallout: New Vegas Healer Scripts

Fun With Dates in Excel

This will always give the date of the next Sunday:

=A1 + 7 - WEEKDAY(A1)+1

If A1 is a Sunday, this will give the following Sunday (e.g. if A1 is Nov. 18, it will give Nov. 25).

If instead, when A1 is a Sunday you want it to give you the same date, rather than the following Sunday (e.g. on Nov. 18, it gives Nov. 18), then use this version:

=$A1 + 7 - WEEKDAY($A1,2)

To find the first day of the following month, use the following EOMONTH function:

=EOMONTH(TODAY(),0)+1
Posted in Excel, Journal | Tagged , | Comments Off on Fun With Dates in Excel

CYGWIN: Chmod will not change group permissions.

I found that, under cygwin, chmod will not change groups permissions on a file that is stored on NTFS. The group owner needs to be change to User first.

$ chown :Users filename

Then chmod works as expected.

$ chmod 700 filename
Posted in cygwin, Scripts | Comments Off on CYGWIN: Chmod will not change group permissions.

GoToMeeting: Convert Compressed WMV Recording.

By default, on Windows, GoToMeeting uses the G2M3 compression codec on stored recordings. This can be turned off in preferences. However, if that was not done, use the following steps to convert to a normal WMV file.

Convert Source WMV G2M3/G2M4 Codec Video to WMV WMV3 Codec Video

Step One:

  • Please click here to download and install the GoToMeeting codec.

Step Two:

  • If you have Windows XP or Windows 7(32-bit), please go to C:\Program Files\Citrix\GoToMeeting\<????> (a folder with numbers, which is the version of GTM you have installed).
  • If you have Windows 7(64-bit), please go to C:\Program Files (x86)\Citrix\GoToMeeting\<????>(a folder with numbers, which is the version of GTM you have installed). There will be a file called “g2mtranscoder.exe”. This is the utility that GoToMeeting uses to convert the file to a generic WMV file after recording.

Step Three:

  • Now follow the instructions below to use command line to convert the WMV G2M3/G2M4 Codec Video file:
    1. Copy g2mtranscoder.exe AND g2m.dll files and paste them onto the ROOT C: drive (ie not in a folder).
    2. Place the GoToMeeting recorded WMV G2M3/G2M4 Codec Video file on the ROOT C: drive as well.
    3. Launch the command prompt (start -> run -> cmd).
      • Note: If you have Windows 7, please run as Administrator to launch the command prompt. Please click Start, click All Programs, click Accessories, right-click Command prompt, and then click Run as administrator to start (execute) the command prompt “cmd.exe” in administrative mode! If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
    4. If the command prompt launches and shows a file/folder path (ie C:\Documents and Setting\etc) then type “cd..” (without the quotes) until you are seeing just the root C: in the command prompt line (will look like C:\>).
    5. Now, type the following at the prompt: “c:\g2mtranscoder.exe source=c:\videofilenamehere.wmv”. (Of course put the name of your video file instead of those words and don’t forget the .wmv).
Posted in Journal, Video | Comments Off on GoToMeeting: Convert Compressed WMV Recording.