---
# System prepended metadata

title: Useful Links & Snippets

---

# Useful Links & Snippets

## Admin

### Grid Certificate renewal
Request
- https://gridka-ca.kit.edu/

Installation
- https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookStartingGrid


## Code

### Miniconda
```
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
```

### CMSSW
CMSSW Release Notes
https://cmssdt.cern.ch/SDT/ReleaseNotes/index.html

### Crab
```
source /cvmfs/cms.cern.ch/crab3/crab_slc7.sh
```
Monitoring: https://monit-grafana.cern.ch/d/cmsTMGlobal/cms-tasks-monitoring-globalview?orgId=11&var-user=anovak&var-site=All&var-current_url=%2Fd%2FcmsTMDetail%2Fcms_task_monitoring&var-task=All

### XrootD
```
root://xrootd-cms.infn.it//
```


### TensorFlow
- Test if running on GPU
    ```
    import tensorflow as tf
    with tf.device('/gpu:0'):
        a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
        b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
        c = tf.matmul(a, b)

    with tf.Session() as sess:
        print (sess.run(c))
    ```
