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
| /************************************************************************ | |
| * @author Nootan Ghimire <[email protected]> | |
| * @file a.stopwatch.basic.cpp | |
| * @includes conioLinux.h (Modified the code from StackOverflow) | |
| * | |
| * @license Creative Commons: Attribution-ShareAlike 4.0 International | |
| (CC BY-SA 4.0) | |
| * @license http://creativecommons.org/licenses/by-sa/4.0/deed.en_US | |
| * | |
| * @desc A Simple Stopwatch. |
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
| alert('Hello'); | |
| console.writeline("Started"); | |
| var mainUrl = "https://reps.mozilla.org/api/v1/rep/?offset=0&limit=0"; //Thanks to Debeloper | |
| var Ajax = new XMLHttpRequest(); | |
| Ajax.onreadystatechange = function(){ | |
| if(Ajax.status == 200 && Ajax.readyState == 4){ | |
| //Found the data. Now do the function. | |
| var rep_rep_JSON = JSON.parse(Ajax.responseText); | |
| themain(rep_rep_JSON); | |
| } |
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
| sudo apt-get update && sudo apt-get upgrade | |
| sudo apt-get install tasksel | |
| sudo tasksel install lamp-server | |
| sudo apt-get install zsh | |
| sudo apt-get install git |
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 <SDL2/SDL.h> | |
| #include <cmath> | |
| #include <ctime> | |
| #include <iostream> | |
| #define S_WIDTH 1024 | |
| #define S_HEIGHT 768 | |
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
| <html> | |
| <head> | |
| <title>Chat and Talk!</title> | |
| <style> | |
| body{ | |
| margin:0; | |
| padding:0; | |
| } | |
| .text{ | |
| color:blue; |
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 <string> | |
| using namespace std; | |
| int main() | |
| { | |
| std::string s; | |
| //s = new char[200]; | |
| int counter = 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 <iostream> | |
| class ovt { | |
| private: | |
| int num; | |
| public: | |
| ovt(int n = 1):num(n){} | |
| operator int(){ | |
| return num; | |
| } |
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
| module main; | |
| reg a, b, Cin; | |
| wire S, Cout; | |
| fulladder f1(a,b,Cin,S,Cout); | |
| initial | |
| begin | |
| a=1'b0;b=1'b0;Cin=1'b0; | |
| #40 | |
| $display("0 0 0"); | |
| $display("Sum: "); |
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
| /******************************* | |
| * Bisection Method: | |
| * @author nootanghimire | |
| *******************************/ | |
| /****************************** | |
| * | |
| * TODO: Dynamic function loading and solving.. | |
| * : see github/nootanghimire/calc-cpp | |
| * : function: addSpace(char[], *char[]) |
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
| /* | |
| * | |
| * @Author : Nootan Ghimire <[email protected]> | |
| * | |
| * Algorithm | |
| * | |
| * Here I try to Write the Algorithm | |
| * | |
| * Step 01 : Start (Yeah) | |
| * Step 02 : Get the Augmented Matrix |