This file contains 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
A | |
A + Certified | |
A-110 | |
A-122 | |
A-123 | |
A-133 | |
A-frames | |
A-GPS | |
A/B Testing | |
A/R analysis |
This file contains 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
require 'anemone' | |
puts "Enter the value of N" | |
n = gets.chomp.to_i | |
patterns = [] | |
1.upto(n) {|i| patterns << /chttp_tt_#{i}$/ } | |
cast = movies = {} | |
puts "Please wait crawling in progress" | |
Anemone.crawl('http://www.imdb.com/chart/top', :depth_limit=>1) do |anemone| |
This file contains 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
# models/floor.rb | |
class Floor | |
attr_accessor :main_corridors | |
attr_accessor :sub_corridors | |
def initialize(num_of_mc, num_of_sc) | |
@main_corridors = [] | |
@sub_corridors = [] | |
num_of_mc.times do | |
mc = Corridor.new |
This file contains 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
{ | |
"took": 11, | |
"timed_out": false, | |
"_shards": { | |
"total": 1, | |
"successful": 1, | |
"skipped": 0, | |
"failed": 0 | |
}, | |
"hits": { |
This file contains 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
! 31/07/2018, 21:08:01 https://www.linkedin.com/feed/ | |
www.linkedin.com###ember2092 | |
! 31/07/2018, 21:08:35 https://www.linkedin.com/notifications/ | |
www.linkedin.com###ember6985 | |
! 13/08/2018, 17:09:08 https://www.linkedin.com/feed/ | |
www.linkedin.com###ember1959 > .video-s-loader__video-components-container | |
! 21/12/2018, 13:57:28 https://www.linkedin.com/in/chandramouliswaran-v-phd-7378075/ |
This file contains 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
require 'anemone' | |
#The below count is manually extracted from https://www.linkedin.com/directory/topics-X where 'X' is the alphabet | |
word_to_char = { | |
a: 98, b: 100, c: 99, d: 99, e: 99, f: 97, g: 96, h: 95, i: 100, j: 88, k: 92, l: 97, m: 100, | |
n: 94, o: 99, p: 99, q: 87, r: 100, s: 100, t: 100, u: 94, v: 96, w: 100, x: 73, y: 53, z: 0 | |
} | |
all_urls, skipped_urls = [], [] | |
word_to_char.each{ |char, count| 1.upto(count) { |num| all_urls << "https://www.linkedin.com/directory/topics-#{char}-#{num}/" } } |
This file contains 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
{"index": {"_index": "employees","_type": "_doc","_id": "1"}} | |
{"employee": "Emp 01","city": "Chicago","age": 24} | |
{"index": {"_index": "employees","_type": "_doc","_id": "2"}} | |
{"employee": "Emp 02","city": "San Francisco","age": 26} | |
{"index": {"_index": "employees","_type": "_doc","_id": "3"}} | |
{"employee": "Emp 03","city": "San Francisco","age": 28} | |
{"index": {"_index": "employees","_type": "_doc","_id": "4"}} | |
{"employee": "Emp 04","city": "San Francisco","age": 30} | |
{"index": {"_index": "employees","_type": "_doc","_id": "5"}} | |
{"employee": "Emp 05","city": "San Francisco","age": 32} |
This file contains 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 globalLoop = 0; | |
looper = function(){ | |
if(globalLoop < 5){ | |
setTimeout(function() { braga() }, 30000); | |
} | |
} | |
clicker = function(){ | |
console.log("Time: "+(globalLoop+1)); |
This file contains 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
package dsa.tries; | |
import java.awt.Dimension; | |
import java.awt.Toolkit; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javax.swing.JButton; | |
import javax.swing.JFrame; | |
import javax.swing.JOptionPane; |
This file contains 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
package dsa.tries; | |
import java.io.BufferedReader; | |
import java.io.File; | |
import java.io.FileReader; | |
import java.io.IOException; | |
public class TrieLoader { | |
public static Trie trieDSA; |
NewerOlder