Archive for category Uncategorized

Visio – Stencil Pfade

Posted by on Tuesday, 7 November, 2017

Falls es jemand brauchen kann – oder für mein späteres, vergesslicheres Ich:

Die Basic Shapes sind hier:

C:\Program Files (x86)\Microsoft Office\root\Office16\Visio Content\1033

Chrome Browser ohne Web Security starten

Posted by on Thursday, 23 February, 2017

An sich ist’s ganz leicht: Die Verknüpfung bearbeiten und ein paar Parameter dran hängen:

“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –disable-web-security –user-agent=”Android”  –user-data-dir=”C:/temp-chrome-eng”

Microsoft Project – internal Names of Fields

Posted by on Tuesday, 20 December, 2016

If someone needs the names of the properties that a Task has (pulled from the project.wsdl)

Have fun – at your own risk 🙂

PROJ_UID
TASK_UID
TASK_PARENT_UID
TASK_NAME
TASK_ID
TASK_IS_MILESTONE
TASK_IS_SUMMARY
TASK_IS_MARKED
TASK_IGNORES_RES_CAL
TASK_IS_EFFORT_DRIVEN
TASK_IS_CRITICAL
TASK_IS_EXTERNAL
TASK_IS_FROM_FINISH_SUBPROJ
TASK_IS_OVERALLOCATED
TASK_IS_RECURRING
TASK_IS_RECURRING_SUMMARY
TASK_IS_SUBPROJ
TASK_IS_READONLY_SUBPROJ
TASK_LOCKDOWN_BY_MANAGER
TASK_LEVELING_DELAY
TASK_LEVELING_DELAY_FMT
TASK_LEVELING_CAN_SPLIT
TASK_LEVELING_ADJUSTS_ASSN
TASK_DUR_IS_EST
TASK_DUR
TASK_DUR_FMT
TASK_DUR_VAR
TASK_EAC
TASK_VAC
TASK_ACT_DUR
TASK_REM_DUR
TASK_CONSTRAINT_TYPE
TASK_CONSTRAINT_DATE
TASK_ACT_START
TASK_ACT_FINISH
TASK_PRIORITY
TASK_PCT_COMP
TASK_PCT_WORK_COMP
TASK_TYPE
TASK_FIXED_COST_ACCRUAL
TASK_DEADLINE
TASK_WORK
TASK_OVT_WORK
TASK_REG_WORK
TASK_ACT_WORK
TASK_ACT_OVT_WORK
TASK_REM_WORK
TASK_REM_OVT_WORK
TASK_COST
TASK_OVT_COST
TASK_FIXED_COST
TASK_ACT_COST
TASK_ACT_OVT_COST
TASK_REM_COST
TASK_REM_OVT_COST
TASK_PHY_PCT_COMP
TASK_EVMETHOD
TASK_OUTLINE_LEVEL
TASK_OUTLINE_NUM
TASK_CAL_UID
TASK_START_DATE
TASK_START_VAR
TASK_FINISH_DATE
TASK_FINISH_VAR
TASK_RESUME_DATE
TASK_STOP_DATE
TASK_PRELEVELED_START
TASK_PRELEVELED_FINISH
TASK_EARLY_START
TASK_EARLY_FINISH
TASK_LATE_START
TASK_LATE_FINISH
TB_START
TB_FINISH
TB_COST
TB_WORK
TB_DUR
TB_DUR_FMT
TASK_BCWS
TASK_BCWP
TASK_ACWP
TASK_FREE_SLACK
TASK_TOTAL_SLACK
TASK_HAS_LINKED_FIELDS
TASK_WBS
AddPosition
AddAfterTaskUID
DurationType
WOBJ_DOC_REF_CNT
WOBJ_ISSUE_REF_CNT
WOBJ_RISK_REF_CNT
WOBJ_OTHER_REF_CNT
CREATED_DATE
MOD_DATE
PROJ_NAME
PROJ_TYPE
PROJ_OPT_CURRENCY_DIGITS
PROJ_OPT_CURRENCY_POSITION
PROJ_OPT_CURRENCY_SYMBOL
TASK_EXT_PROJ_UID
TASK_BUDGET_COST
TASK_IS_NULL
TASK_BUDGET_WORK
TASK_CONTACT
TASK_COST_VAR
TASK_CPI
TASK_CV
TaskCVP
TASK_START_SLACK
TASK_FINISH_SLACK
TASK_HYPERLINK_FRIENDLY_NAME
TASK_HYPERLINK_ADDRESS
TASK_HYPERLINK_SUB_ADDRESS
TASK_IS_ROLLED_UP
TASK_NOTES
TASK_SPI
TASK_SV
TaskSVP
TASK_TCPI
TASK_WORK_VAR
TASK_COMPLETE_THROUGH
TASK_IS_MANUAL
TASK_IS_ACTIVE
TASK_IS_DISPSUMMARY
TASK_SCHED_START
TASK_SCHED_FINISH
TASK_START_TXT
TASK_FINISH_TXT
TASK_SCHED_DUR
TASK_SCHED_DUR_FMT
TASK_DUR_TXT
StatusManager

Ipad mit iOS 6 – massive Wlan Probleme beim Tethering

Posted by on Tuesday, 25 September, 2012

Seit ein paar Tagen hab ich nun dieses I-Device. Aufgrund des ausgezeichneten Displays als e-book reader ist das Ding ja durchaus ganz nett. Ansonsten ists ein recht teurer Zugang zum Apple App Store.

Das kurzlich durchgeführte Upgrade auf iOS 6 dafür gesorgt das kein Tethering mehr mit meinem Android (Motorola Defy) mehr funktioniert. Somit ist der WLAN-only Ipad weitgehend nutzlos sobald ich aus Heim- oder Firmen Wlan draußen bin.

Weit entfernt von einem “truly magic device”. Mehr als ärgerlich.

Die Lösungen die durch Netz geistern “Wlan ab- und wieder aufdrehen” und “Wlan löschen und wieder eingeben” sind nicht zielführend. Da das Device für technisch nicht versierte User gemacht ist gibts auch keine sinnvolle Fehlermeldung.

Apple, you suck.

update: Workaround
Bluetoth verbindungen funktionieren

mysql import / export

Posted by on Wednesday, 12 September, 2012

mysqldump –user=root –password=secret–databases dbname > D:\path\dumpfile.sql

mysql -u root  dbname < d:\tmp\dumpfile.sql

Reset NTFS file permissions with command line tool ICACLS

Posted by on Tuesday, 13 March, 2012
give the ownership of <folde> to the Administrators Group - you need an elevated cmd
takeown /A /R  /F <folder>

reset a folder
ICACLS <folder> /reset /T /C /Q


			

Oracle: inserting strings containing &

Posted by on Wednesday, 7 March, 2012

Having inserts with text fragments tends to be painfull because oracle sees many metacharacters (eg & < >).

But it is easy turned off:

set scan off;

 

javascript, object orientation, inheritance Part 2

Posted by on Tuesday, 21 June, 2011

First the base Object

Javascript has a rather unusual aproach to inheritance. It relies on prototypes. Each object has a prototype that defines it’s blueprint – very much like a class. Lets start with the parent object

  function Parent() {
    this.someVal = ‘some value of the parent’;
    this.getVal = function () {
      return this.someVal;
    }

    this.doStuff = function () {
      return ‘runnig Parent.doStuff()’;
    }
  }

Now create a Child object that inherits

So far for the basics. Lets add a child to this Parent

  function Child() {
    this.someVal = ‘some value of the child’;
    this.getParentVal = function() {
      return Child.prototype.someVal;
    }
    this.doChildishStuff = function() {
      return this.doStuff() + ‘ plus doing my own stuff’;
    }
  }
  Child.prototype = new Parent();

Child.prototype = new Parent();  tells the child Class that it should go look into the Parent class if you call some function on it that it does not have itself. If Parent does not have it, maybe there is a .prototype of Gradparent that has it.

Now lets try it out

  var par = new Parent();
  alert(‘par.someVar: ‘ + par.someVal);
  alert(‘par.getVal(): ‘ + par.getVal() );
  alert(‘par.doStuff(): ‘ + par.doStuff() )

  var kid = new Child();
  alert(‘kid.someVal: ‘ + kid.someVal);
  alert(‘kid.doStuff(): ‘ + kid.doStuff())
  alert(‘kid.doChildishStuff(): ‘ + kid.doChildishStuff())
  alert(‘kid.getParentVal(): ‘ + kid.getParentVal())

Works neatly. You can go along and access the prototypes properties if you need it, you simply overwrite a method that does not behave like you would like it. This should help you if you need to do inheritance in Javascript.

There is another way to reuse code: parasitic inheritance

But you can do other tricks to avoid doublicate coding. There is a trick i like to call parasitic inheritance. As functions are variables and accessable you can borrow them from other objects. Without the hassle of inheritance you can reuse code. Let’s see

  function Other () {}
  Other.prototype.someFunction = function() {
    return ‘parasiticFunction original from Unrelated’;
  }

  Child.prototype.doTrick = Other.prototype.someFunction;
  alert(‘Kid does a neat trick :’ + kid.doTrick())

Other is a different Object with a method someFunction. By assigning Child.prototype.doTrick to that variable you get the function.

Changing just one Instance of a running Object

But maybe you do not want to change the behaviour of all Child objects, just that of one instance. Well, there is a way to do that

  function onTheFly() {
    return ‘adding functions to an instance at runtime ‘;
  }
  kid.otherTrick = onTheFly;

  alert(‘kid got a new trick: ‘ + kid.otherTrick() );

Instead of messing with Child.prototype that changes all running Childs you can just create a new variable in kid (or overwrite another) with a new function

IIS and Apache both on Port 80

Posted by on Wednesday, 5 May, 2010

IIS takes up all IP adresses by default.

Use programm httpcfg ( part of MS 2003 support tools) to solve the problem

net stop http /y
net stop w3proxy
httpcfg delete iplisten -i 0.0.0.0
httpcfg set iplisten -i xx.xx.xx.xx
net start http
net start w3svc
net start w3proxy

Was tötet die Radfahrer

Posted by on Thursday, 4 February, 2010

Allgemein wird gerne angenommen Radfahren sei gefährlich. Das ist richtig.  Allerdings nicht – wie viele glauben – durch Missachtung der Verkehrsregeln durch Radfahrer. Eine Studie hat 2.752 Unfälle mit Autos und Radfahrern untersucht.

Ergebnis: 90 % der Unfälle werden von Autos verursacht. Gründe dafür: Missachtung von Verkehrszeichen und Roten Ampeln, Abiegen in die Spur des Radfahrers oder öffnen einer Tür in die Spur eines Radfahrers.

Details: NY Times

Persönliche Notiz: Fast-Unfälle 2009: eimal gestreift von Rechtsabbieger, einmal fast getroffen von einem Autofahrer der bei Rot in die Kreutzung gefahren ist, einmal an Engstelle durch eine Vorrangsverletzung des Autofahrers gefährdet.