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
#!/bin/bash | |
i=$(<config-a-bash-b) | |
while [ $i -lt 195225 ] | |
do | |
echo "Executing: hg pull --rev $i" | |
hg pull --rev $i | |
i=$[$i+100] | |
echo "$i" > config-a-bash-b | |
done |
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]> | |
* @desc Implementation of Solution Tower of hanoi in C. (Recursive implementation) | |
*/ | |
#include <stdio.h> | |
/** | |
* Includes for benchmarking | |
*/ |
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 |
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
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
#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
#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
<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 <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
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 |