Some important URL's about CI-Generic are below.
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> | |
| #define extract_msb(val, size) \ | |
| val >> ((size/2) * 4); \ | |
| int main() | |
| { | |
| int i = 0xffff; | |
| short j = extract_msb(i,4) | |
| printf("\n %d, %d", i, j); |
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
| ;; No need to set arg's & optional's args to nil. Just doing it, #debug purpose | |
| (defadvice kill-whole-line (around screwdriver-kill-wl (&optional arg)) | |
| (setq arg nil) | |
| (message "disable kill-whole-line")) | |
| (defadvice kill-rectangle (around screwdriver-kill-rectangle (start end &optional fill)) | |
| (setq start nil) | |
| (setq end nil) | |
| (message "disable kill-rectangle")) |
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
| #Black 0;30 Dark Gray 1;30 | |
| #Red 0;31 Light Red 1;31 | |
| #Green 0;32 Light Green 1;32 | |
| #Brown/Orange 0;33 Yellow 1;33 | |
| #Blue 0;34 Light Blue 1;34 | |
| #Purple 0;35 Light Purple 1;35 | |
| #Cyan 0;36 Light Cyan 1;36 | |
| #Light Gray 0;37 White 1;37 | |
| #No color 0; | |
| #!/bin/bash |
-
Visteon [Present]
** Currently working and leading a team on the development of Autonomous Framework from Bangalore. ** Ported DM-verity to one of the car embedded stacks, developed the file system manager to handle verity partitions. ** Enabled secure signing features on u-boot and ported the same onto ARM targets.
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
| // Header only implementation of linked list, & some operations | |
| #pragma once | |
| volatile size_t sz; | |
| typedef struct _node { | |
| int data; | |
| struct Node * next; | |
| } __attribute__((aligned)) Node; |
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> | |
| #define CHAR_BIT 8 | |
| int min(int x, int y) | |
| { | |
| return y ^ ((x ^ y) & -(x < y)); // min(x, y) | |
| } | |
| int max(int x, int y) |
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 <dirent.h> | |
| #include <error.h> | |
| #include <stdio.h> | |
| #include <sys/types.h> | |
| #include <sys/stat.h> | |
| #include <sys/wait.h> | |
| #include <signal.h> | |
| #include <stdlib.h> | |
| #include <time.h> |