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
| [sanjiv@localhost ~]$ rvm install ruby | |
| Searching for binary rubies, this might take some time. | |
| No binary rubies available for: redhat/4 | |
| 86 | |
| 64/x86_64/ruby-2.1.0. | |
| Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. | |
| Checking requirements for redhat. | |
| Installing requirements for redhat. | |
| Updating system. |
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
| import std.stdio; | |
| void main(){ | |
| ulong i = 0; | |
| while(i < 100000000){ | |
| i = i + 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
| use std::io::prelude::*; | |
| use std::io::BufReader; | |
| use std::fs::File; | |
| fn main() { | |
| let f = File::open("DuplicateIntegerArray.txt").unwrap(); | |
| let reader = BufReader::new(f); | |
| let mut v: Vec<u32> = Vec::new(); | |
| for line in reader.lines() { | |
| let line = line.unwrap(); |
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 MergeSort{ | |
| constructor(array){ | |
| this.list = array | |
| this.len = this.list.length | |
| } | |
| // get len(){ | |
| // return this.len | |
| // } |
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> | |
| <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | |
| <script> | |
| $( document ).ready(function() { | |
| $("#providersFormElementsTable").html("<tr><td>Nickname</td><td><input type='text' id='nickname' name='nickname'></td></tr><tr><td>CA Number</td><td><input type='text' id='account' name='account'></td></tr>"); | |
| function _renderTableHeader(){ | |
| let input = [ | |
| {"text": 'Name'}, |