Friday, May 30, 2014

Revit Origin

GOAL: find the origin (0,0,0) of a Revit 3D Building Model

STEPS:
  1. Double Click "Level 1"
  2. "View" Tab
  3. Visibility / Graphics
  4. + Site
  5. Check "Project Base Point" & Survey Point
  6. Apply
  7. OK

Origin will now show in red.

Specific to Revit 2012.  No guarantees past this.
REFERENCES
http://danielgijsbers.blogspot.com/2012/05/revit-origin.html



Wednesday, May 28, 2014

Server Jargon: Memory vs. Storage

The memory and storage are separate pieces of hardware from the processor (described here) also on the motherboard of a computer or server.



Memory = RAM = Random Access Memory
  • Short Term Memory
  • Physically: a thin metal & plastic board

Storage = Disk Space = Hard Drive (HD) = Solid State Drive (SSD)
  • Long Term Memory
  • Physically: a small metal box



WOW.  If you're a server beginner, this is another Wall Of Words you have to climb.
DISCLAIMER
I'm not a computer engineer, just a software developer.  This is my understanding as of May 2014.

REFERENCES

Server Jargon: Processor vs. Core vs. Thread

A thread is inside of a core which is inside a processor which sits in a socket on a motherboard of a computer or server.  WOW.  If you're a server beginner, this is one of the Wall Of Words you have to climb.


Processor = CPU = Central Processing Unit
  • Physically:  a tiny metal board with circuits and nano-sized wiring that sits inside of a "socket" on the "motherboard".
    • Socket = the slot the processor sits in on the "motherboard"
    • Motherboard = PCB = Printed Circuit Board for a computer/server
      • 2014 Support:  only 2 sockets / slots are in a motherboard
  • Sized by:  
    • Clock Speed = # calculations in 1 second before degrading (measured in 1million+ cycles/second, MHz or GHz)

Core = a processor inside of a processor
  • Physically: a small black box inside the processor
  • 2014 Support:  2-4 cores can fit inside a processor

Thread = a process = 1 terminal command
  • Physically:  No, thread's don't exist physically.  This is an abstracted OperatingSystem / Software concept.  Certain software languages can only run 1 thread at a time.
  • 2014 Support:  2 threads can run inside a core



DISCLAIMER
I'm not a computer engineer, just a software developer.  This is my understanding as of May 2014.

REFERENCES

Thursday, May 22, 2014

Reduce File Size of Image

  1. pixlr.com/editor/
  2. Open image from computer > Browse for image
  3. File > Save...
  4. Format:  JPEG
  5. Adjust Quality dial & see resulting Size (KB) at bottom
    6.  OK
    7.  Choose where you want the image downloaded to


Free Online Alternative to Photoshop

Pixlr is a free, online, web app alternative to Adobe Photoshop...  pixlr.com/editor/



It can perform many of the basic functions of Photoshop such as:
  • resizing images
  • setting a transparent background
  • deleting chunks of the image with magic wand
  • converting to JPEG, PNG, BMP, TIFF
  • adjusting the color or grayscale, etc.  
It's all FREE and doesn't require any installs.



Friday, May 2, 2014

Bootstrap #id href Link Covered by Nav Bar [Fixed]

< h1 id="output" style="padding-top:40px; margin-top:-40px;">

this does not create extra space in content & href to #output now jumps down to this anchor without the top nav bar (default in twitter bootstrap) covering the title up.  no change needed for the href="#output" tag at top.

BEFORE

AFTER
REFERENCE
http://stackoverflow.com/questions/9047703/fixed-position-navbar-obscures-anchors

Thursday, May 1, 2014

OpenSSL Bug Fix for Ubuntu Linux 12.04 by Bitnami

The OpenSSL Heartbleed Bug affected the majority of the internet in early April 2013.  If you haven't patched your ubuntu server yet...

CHECK
BAD
built on: Tue Jun  4 07:26:06 UTC 2013
(or anything earlier than Apr 7 2014 is vulnerable to the OpenSSL Bug)
OpenSSL 1.0.1 14 Mar 2012 does not matter [reference], only the "built on" date.

GOOD
built on: Mon Apr  7 20:33:29 UTC 2014

FIX UBUNTU 12.04
sudo apt-get update 
sudo apt-get upgrade
(note: upgrade does not change your ubuntu version)

FIX UBUNTU 12.04 by BITNAMI
1. wget http://downloads.bitnami.com/files/download/opensslfixer/bitnami-opensslfixer-1.0.1g-1-linux-x64-installer.run 
2. chmod +x ./bitnami-opensslfixer-1.0.1g-1-linux-x64-installer.run

3. sudo ./bitnami-opensslfixer-1.0.1g-0-linux-x64-installer.run --mode text

ALTERNATIVES

REFERENCES
Bitnami creates custom builds of Ubuntu to make the setup easier for developers.  


Disk Space Tool for Ubuntu Linux Server

GOAL
Find out the breakdown of which files/folders are taking up the most room on your computer / server through command line / terminal.
INSTALL
sudo apt-get install gt5

COMMAND TO RUN
from the directory you want to analyze:
gt5

COMMAND TO EXIT
Ctrl + Z

FOR
Ubuntu Linux 12.04

REFERENCES

Forward Penn State Email to Gmail

  1. Change your email@psu.edu forwarding address (here)
  2. Sign In 
  3. Change