Linux
Struct file_operations
Struct file – represents open file
filp – file pointer f_mode (read , write ) , f_op , f_pos , private data , inode
inode – represent file
i_rdev actual device number
i_cdev char device info
process descriptor
struct tast_struct
process state –> task_running , task_interruptible , task_stopped (after signal ) task_traced (debug mode )
exit_state –> exit_zombie , exit_dead
multiplexed IO
select method waits for files to become ready (can be used to sleep )
gnome
gdk+
g_signal_connect
gdk_window_new
gdk_main
Tomcat
Tomcat class loaders
loads classes in the following hierarchy:
Bootstrap –> $java_home/jre/lib/ext + jvm
System –> $catalina_home base jars
common
Webappx –> class loaders for each web app
JAVA
getClassLoader –> every class after compilation has a property class that can retrieve the class loader
the class loader can load classes from the net or from byte array
Embedded Linux
LXR : Linux cross reference utility
Block drivers request struct blk_fs_request
physical memory
pg_data_t
config_page_data
The physical memory is divides to 3 parts :
Zone_DMA , Zone_normal < 1G , Zone_Hight
http://www.makelinux.net/books/lkd2/ch11lev1sec2
mmu – memory managements unit
Kernel logic address –> 840Mb ממופה למקום קבוע
Kernel virtual address , user space , zero pages –> random opportunities
Spring
autowire = “constractor”
annotations of bean members :
@Required
@autowired –> the required can be cancel on the annotation
@qualifier
BeanInitializeException
Bash
$./myscript 3>&1 1&sdtout.log 2> &3 | tee –a stderr.log
ps –ax | tee processes.txt | more
OSGI
BundleActivator interface
context.RegisterService
Context.getServiceReferances
DDD
Refactoring
WIF
wif claims programming model
ClaimIdentity implements IIdentity
ClaimsPrincipal implements IIPrincipal
claim class
asp .net
OAuthWebSecurity
Spring integration
Gatway – sync , async
Allow to create a gateway to the channels in order to send messages
Service_Interafce = “<the interface >”
Service_Activator
maven
maven eclipse pluging
QT
require “qt”
class QTapp < qt::widget
def initialize
super
hotlable = qt::Label.new .self
MDX
The with statement allow to add calculation to the facts table