This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| thin: | |
| thin start --port 5075 --address 127.0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main(int argc, char *argv[]) { | |
| printf("Hello, pdoak!\n"); | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LightBulb | |
| attr_accessor :state, :fitting, :filament, :wattage, :voltage | |
| def initialize(wattage, fitting) | |
| @wattage = wattage | |
| @fitting = fitting | |
| puts "creating a light bulb with #{wattage}W with a fitting of '#{fitting}'" | |
| end | |
| def is_on? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| college path | |
| C:\Documents and Settings\9892075\Application Data\npm;C:\Program Files\nodejs;C:\Python27;c:\jruby-1.6.7\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Novell\ZENworks\;C:\Program Files\Windows Imaging\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\QuickTime\QTSystem\ | |
| scalas next |
Contact @poptartinc if you want to slag him off
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <syslog.h> | |
| int main(int argc, const char *argv[]) | |
| { | |
| printf("opening syslog...\n"); | |
| openlog("sysdemo", LOG_PID, LOG_USER); | |
| syslog(LOG_INFO, "hello world"); | |
| closelog(); | |
| return 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main(int argc, const char *argv[]) | |
| { | |
| int i, *n; | |
| i = 6; | |
| n = &i; | |
| i--; | |
| printf("%d\n", *n); | |
| return 0; |
- To hide the complex hardware interactions from the user, and to manage resources like memory and processor time to programs
- Processor time - how long each program can spend running instructions, memory to allocate what memory is available to each program, input/output devices to avoid conflicts, and managing secondary storage for storing permanent information such as logs
- Processor time => Processor managment, memory => memory managment, i/o => hardware, secondary storage => i/o managment
- An embedded system is a computer which is designed to perform one task and one task only, and not function as general purpose as an entire computer. Consider, a router
- An embedded system is designed for one task and is not designed to be reprogrammed
- A virtual machine is a method of recreating or reimplementing a computer ontop of a computer. A virtual machine can either host an entire operting system, or it can host a programming language by interpreting code and running it based on a limited instruction s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fantastic |