Difference between revisions of "User:Olenz"

From ICPWiki
Jump to: navigation, search
m (Reverted edits by ICPUser (talk) to last revision by Olenz)
(Quick links)
Line 1: Line 1:
== Quick links ==
+
http://www.bestisotretinoinoffers.com/ accutane cheap - buy accutane
* [[ICP design]]
 
* [[Sandbox]]
 
* [[Special:ExternalBibSearch]]
 
* [[Mediawiki:Sidebar]]
 
* http://www.icp.uni-stuttgart.de/~icp/Talk:Main_Page?action=edit&section=new&preload=Template:Person/Preload
 
  
 
== Administration stuff ==
 
== Administration stuff ==

Revision as of 11:05, 2 July 2012

http://www.bestisotretinoinoffers.com/ accutane cheap - buy accutane

Administration stuff

Granting SVN access to external users

Description: http://svnbook.red-bean.com/en/1.1/ch06s03.html

  1. Get the public ssh key of the user.
  2. Append the public ssh key to /home/svn/.ssh/authorized_keys.
  3. Insert
    command="svnserve -r /home/svn/repos -t --tunnel-user=<user>",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty
    before the key. Now the user can only execute the SVN command, and any other command will be ignored.
  4. Commit the updated file to git: git commit -a

MySQL

  • MySQL is running on elk
  • For applications, allow access only from localhost
  • Log in via mysql -u root -p
  • MySQL commands:
# Create a user
CREATE USER <user> IDENTIFIED BY '<password>';

# Create a db
CREATE DATABASE <dbname>;

# Show grants
SHOW GRANTS FOR <user>@<host>;

# Grant full access on DB to user 
GRANT ALL ON <dbname>.* TO <user>@<host>;
# Example: Grant full access to user testwiki from localhost
GRANT ALL ON testwiki.* TO testwiki@localhost;

# Revoke access
REVOKE ALL ON testwiki.* FROM testwiki;

# Change Password
SET PASSWORD FOR 'bob'@'%.loc.gov' = PASSWORD('newpass');

Group Shared Directory

Make a directory group writable and all new files also (from [1])

setfacl -m d:u::rwx,d:g::rwx,d:m:rwx,d:o:r-x <dir>

Useful things

Useful things for LaTeX

Inside

  • PDFLaTeX
    • can use PDF, JPG, PNG
    • use filename without extension!
    • use epstopdf to convert EPS
  • graphicsdir
  • empty lines are significant
  • Difference between \\ and an empty line
  • LaTeX 2.09 vs. LaTeX 2ε
    • \documentstyle\documentclass
    • \it, \em, ... → \textit, \emph (Differences at the end!)
    • If anything, use \itshape
    • In general: prefer commands over declarations
  • Koma-script classes
  • Packages xspace, todonotes, inputenc, fontenc, lmodern, german/babel

Outside