Sunday, July 15, 2012

My linux post-install checklist

(Last Update: 7 February 2021)

I updated my system to Ubuntu 20.04. It is best to encrypt the home directory first right after install.

What packages to add after installing a new version of a linux distro?
  • gnome-shell-extensions
  • wget
  • curl
  • VLC
  • Open VPN
  • GVim
  • Git
  • net-tools
  • msttcorefonts (20.04:ttf-mscorefonts-installer)
  • w32codecs, ubuntu-restricted-extras
  • TexStudio/TexMaker
  • build tools (build-essential, gcc, automake, autoconf, perl, python, nasm ) 
  • Java Development Kit
  • Open SSH server
  • Zotero
  • Mendeley
  • Calibre
  • Wine
  • xchm
  • Gimp
  • Wireshark
  • Oracle VirtualBox
  • Transmission
  • KeePass2
  • Unison
  • Master PDF Editor
  • Docker and Docker Compose
  • Python venv
    • Sphinx
    • Pelican
    • Flask
  • Android Studio
  • Terminator
  • Tmux
  • GNU Screen
  • tightvncserver, xtightvncviewer
  • Freemind
  • Google Chrome
  • Brave Browser
  • Zoom
  • OBS
  • Slack
  • Discord
  • Peek (GIF Recorder)
  • virt-manager
  • gnome-shell-extension-system-monitor
  • Clockify
  • VSCode 
  • custom dotfiles
  • VeraCrypt
  • Putty
  • Bibtex2html
  • youtube-dl
  • Network monitoring: iftop, nethogs
  • BurpSuite
  • ShotCut
  • QasMixer
  • ..more to come


--- DROPPED/DEPRECATED ---
  • Dropbox
  • pdfedit
  • Samba
  • Flash plugin
  • Acrobat Reader
  • Subversion
  • ftp
  • Microsoft Office 
  • display drivers
  • audio drivers

Ubuntu specific
  • build-essentials
  • Installing acrobat-reader
    • sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"
    • sudo apt-get update
    • sudo apt-get install acroread
Fedora specific

Monday, July 9, 2012

Timeline of Registration Systems in UPLB

(Last update: 6 June 2020)

pre 1998 - Manual
1998 - REGIST c/o Dr. Ricolindo L. Carino
2004 - SystemOne v1 c/o Prof. Rodolfo Duldulao Jr.
2007 - SystemOne v2 (Decaf) c/o Prof. Rodolfo Duldulao Jr.
2016 (January) - SystemOne v3 (Reborn) c/o Prof. Rommel Bulalacao
2016 (August) - Student Academic Information System (SAIS)

As a student of UPLB, you might be wondering how the physical machines that run SystemOne looks like. Below are some pictures of Eduardo, Discoro, and Eliezer (database server).

Teaching Load Credit Computation

(Notes from Prof. Marge Paterno)
In summary:
      * Course credits (CC) for labs is 1.0 only (to be used for column 8 only)
        while Teaching Load Credits (TLC) for labs is 1.5 (to be used for the
        last column)
      * CC is equal to TLC in the case of lectures, lect/discussion classes and
        SP
      * For the last column, apply the multipliers on the Teaching Load Credits
        (TLC) rather than on Course Credits (CC).

*For column #8 for COURSE CREDITS (CC) without multipliers:
                           Lab: CC = 1.0
                Lect (2hrs/wk): CC = 2.0
     Lect/Discussion (3hrs/wk): CC = 3.0
              CMSC 190 1 unit : CC = 1.0
              CMSC 190 2 units: CC = 2.0

*For column #10 (last column) for TEACHING LOAD CREDITS with 
MULTIPLIERS
(TLCM):

     STEP 1: Determine TEACHING LOAD CREDITS w/o multipliers (TLC):
                           Lab: TLC = 1.5
                Lect (2hrs/wk): TLC = 2.0
     Lect/Discussion (3hrs/wk): TLC = 3.0
              CMSC 190 1 unit : TLC = 1.0
              CMSC 190 2 units: TLC = 2.0

     STEP 2: Apply corresponding multiplier to TLC to obtain TLCM:

       *** For UNDERGRAD courses:
           Lab class (any number of students):
             TLCM = TLC (i.e., no multiplier)

           Lect (2hrs/wk) or Lect/Discussion (3hrs/wk):
             # of students <=40:  TLCM = TLC
             # of students  >40:  TLCM = TLC*[(# of students - 40)/120 + 1]
            [# of students >160:  TLCM = TLC*2.0]

           For CMSC 190
             TLCM = TLC*(# of students)*(0.5/3)

            // Hence, for 190(1 unit) : TLCM = n/2 * 1/3, maximum of 3 units
            //        for 190(2 units): TLCM = n/2 * 2/3, maximum of 3 units

           For IT 1 Lecture only (if # of students >= 25)
             multiply TLCM further by 1.33  // multiplier for GE lecture courses

       *** For GRAD courses:
           Lect or Lect/Discussion or Lab
             # of students <= 4:        TLCM = TLC
             # of students >4 and <= 9: TLCM = TLC*1.25
             # of students >9:          TLCM = TLC*1.5

Wednesday, July 4, 2012

Disable SSH login, allow FTP in Ubuntu

In our IT 210 class, we need students to be able to upload files to a web server using FTP but disable SSH login to the server. To do this in Ubuntu, edit
/etc/ssh/sshd_config
and add the line
DenyUsers stud1 stud2
Then restart SSH using
$sudo /etc/init.d/ssh restart