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
| Node MergeLists(Node headA, Node headB) { | |
| Node list1 = headA; | |
| Node list2 = headB; | |
| Node newList = null; | |
| Node lastNode = null; | |
| int toPut = 0; | |
| while (list1 != null || list2 != null) { |
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
| PRINTF MACRO TXT ; MACRO TO PRINT STRING | |
| LEA DX, TXT ; LOAD THE STRING IN DX (DL) | |
| MOV AH, 09H ; OUTPUT MODE FOR STRING | |
| INT 21H ; PRINT THE STRING | |
| ENDM | |
| SCANF MACRO NUMBER, LAB1, DONE_ENTER, NORMAL_NUM, HEX_NUM, SKIP_HEX ; MACRO TO READ NUMBER | |
| MOV CX, 10H ; PUT 16D TO CX |
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 <iostream> | |
| #include <stdlib.h> | |
| using namespace std; | |
| class Node { | |
| public: | |
| Node *next; | |
| int data; |
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
| //////////////////// | |
| // Thread pthread // | |
| //////////////////// | |
| /** | |
| * Define a thread | |
| */ | |
| pthread_t thread; | |
| /** | |
| * Create a thread | |
| * if( pthread_create != 0) return err; |
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
| //////////////// | |
| // Semaphores // | |
| //////////////// | |
| /** | |
| * Define semaphores | |
| */ | |
| sem_t a, b, c; | |
| /** |
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
| var nw = require('nw.gui'); | |
| var win = nw.Window.get(); | |
| $(function() { | |
| $('#prntbtn').click(function() { | |
| $('.prnthide').hide(); | |
| window.print(); | |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Orient Logistics - English Invoice</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="assets/bootstrap.min.css" rel="stylesheet"> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Orient Logistics - Arabic Invoice</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="assets/bootstrap.min.css" rel="stylesheet"> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Orient Logistics - English Invoice</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> |