http://www.jitbit.com/news/181-jitbits-sql-interview-questions/
employees
- employee_id
- department_id
- boss_id
- name
#!/bin/bash | |
# server-jre-8u5-linux-x64.tar.gz | |
DEBIAN_FRONTEND=noninteractive | |
UCF_FORCE_CONFFNEW=true | |
export UCF_FORCE_CONFFNEW DEBIAN_FRONTEND | |
apt-get update | |
apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" dist-upgrade |
#from functools import lru_cache#python >=3.2 | |
from functools32 import lru_cache#python 2.7 | |
#from repoze.lru import lru_cache#python 2.7 | |
#NOTE: you can use python -m trace --count fibonacci.py | |
#to see how many times each instruction is called | |
#@lru_cache(maxsize=500)#repoze.lru needs maxsize arg | |
@lru_cache()#using functools32 | |
def fibonacci(n): |
# The Ubuntu USB startup creator often crashes. | |
# This is an alternate way of doing the same process through the command line | |
# First plug in the USB pendrive. It will mount automatically | |
# Then check where it is (which device) | |
df | |
# Let's say we see it's in /dev/sdb1 | |
# Then we have to use /dev/sdb and NOT /dev/sdb1 |
http://www.jitbit.com/news/181-jitbits-sql-interview-questions/
employees