Do yourself a favor and login as root to save yourself some time and headaches:
$ sudo su -Install unattended-upgrades:
| /*** ^^A -*-C++-*- **********************************************/ | |
| /* splitser3d 15.08.1990 */ | |
| /****************************************************************/ | |
| /* Short Description : */ | |
| /* Program which splits a pseudo 3D ser file into single */ | |
| /* fids starting with the expno which follows the ser file.*/ | |
| /****************************************************************/ | |
| /* Keywords : */ | |
| /* splitser */ | |
| /****************************************************************/ |
| #!/bin/bash | |
| # ------------------------------------------------------------------ | |
| # [Normand Cyr] tar_data.sh | |
| # Create a GZIP compressed file containing SAXS data of a user | |
| # ------------------------------------------------------------------ | |
| VERSION=0.1.0 | |
| #USAGE="Usage: tar_data -ihv args" | |
| # name of the data file to create |
| ''' | |
| Script to analyze, plot and fit fluorescence anisotropy data | |
| Data file can be foudn here: | |
| https://www.normandcyr.com/data/data.csv | |
| ''' | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| from scipy import optimize | |
| from math import sqrt |
| #Largely inspired from Oli's Coot customizations. Thanks Oliver! | |
| #https://github.com/olibclarke/coot-trimmings | |
| # | |
| #A few modifications to suit my preference. | |
| # | |
| #Usage: Copy to ~/.coot-preferences | |
| #When Coot is restarted, a new "Custom" menu will appear, with some new shortcuts for various model-building tasks. | |
| #Also there will be a bunch of new keyboard shortcuts - check "Extensions...Settings...Key bindings" for details. | |
| #****Settings**** |
| #!/bin/sh | |
| # script to launch coot and automatically open the latest PDB and MTZ files | |
| # modified slightly from jpxtal (https://github.com/jpxtal/easypx) | |
| unset GTK_IM_MODULE | |
| pdb=$(ls -t *.pdb | head -1) | |
| mtz=$(ls -t *.mtz | head -1) | |
| echo coot --pdb $pdb --auto $mtz |
| from pypdb import * | |
| #testPdb = '4xkl' | |
| #testPdb = '5v4k' | |
| testPdb = '3vtv' | |
| entityExtraInfo = get_all_info(testPdb) | |
| print(entityExtraInfo) | |
| print('\n') |
| #!/bin/sh | |
| # | |
| # usage: ./reddit-rss-feeder.sh subreddit-name hot/new/rising/controversial/top/gilded | |
| # default subreddit-name = popular | |
| # default tab = hot | |
| # e.g.: ./reddit-rss-feeder.sh bikewrench new | |
| # | |
| # This script uses rsstail to retrieve latests entries from Reddit Bikecommuting rss feed | |
| # and process them through awk. Each update shows a timestamp separator. | |
| # |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
| # for examples | |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't put duplicate lines in the history. See bash(1) for more options | |
| # ... or force ignoredups and ignorespace | |
| HISTCONTROL=ignoredups:ignorespace |