Recent Changes - Search:

BE-BI-PM Section


Useful Information

External institutes, collaborations and meetings

CERN

Search drawing name
Folder ID

Electronics

Office Tips

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf
  • Creating booklet from A4 pdf: pdf2ps file.pdf; psbook -sN file.ps fileB.ps (N is number of pages in file but also multiple of 4); print fileB.ps 2 pages per sheet using short edge binding using your favourite program
  • Accessing Oracle database from OpenOffice
    • Database type: Oracle JDBC
    • Name of Oracle Database: PDB (for cerndb1)
    • Host name: orapdb1.cern.ch
    • Port Number: 1521
    • Oracle JDBC driver class: oracle.jdbc.OracleDriver (needs java folder /afs/cern.ch/project/oracle/i386_linux26/prod/jdbc/lib/ojdbc14.jar)
  • Printing on A0 plotters
    • From windows just install the driver
    • Mac only prints on PS plotters, i.e. not on the OCE TDS600 unless someone buys the PS option

Linux Tips

  • Print the internally defined macros in gcc
gcc -dM -E - < /dev/null
  • Solve krb5 ticket forward from ubuntu to SLC
  • LDAP related useful commands
    • ldapsearch [-Q/-x] -LLL -b "OU=Users,OU=Organic Units,DC=Cern,DC=ch" "department=BE/BI" givenName sn cn
    • ldapsearch -Q -LLL -b "OU=Users,OU=Organic Units,DC=Cern,DC=ch" "cn=username"
    • to use AND or OR in search: (&(cn=name)(sn=surname)) (|(cn=name1)(cn=name2))
    • ! means NOT and * is any value (cn=*)
    • ldapsearch -Q -b "OU=Users,OU=Organic Units,DC=Cern,DC=ch" "(manager=cn=username,ou=Users,ou=Organic Units,dc=cern,dc=ch)" cn
  • AFS stuff
    • using groups
      • $ pts creategroup -name pam:friends
      • $ pts listowned -nameorid pam
      • $ pts membership -nameorid pam:friends
      • $ pts membership -nameorid pam
      • $ pts adduser -user jim -user dwight -group pam:friends
      • $ pts removeuser -user dwight -group pam:friends
      • $ pts delete -nameorid pam:friends
      • $ pts adduser pincopanco -group bravin:dev
      • $ pts membership bravin:dev
  • BE-BI-PM SVN
    • To change access right for people log into lxplus as bipmsvn then edit /afs/cern.ch/project/svn/reps/be-bi-pm/conf/authz
Edit - History - Print - Recent Changes - Search
Page last modified on March 05, 2017, at 10:01 PM EST