Skip to content

Instantly share code, notes, and snippets.

View anirudh708's full-sized avatar

Ani anirudh708

  • Nellore
View GitHub Profile
@anirudh708
anirudh708 / Imomentous_ML_Excersise.
Created June 1, 2015 14:47
ipython notebook for ML excersise.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<h1 align=\"center\">Similarity of Jobs</h1>\n"
]
},
{
@anirudh708
anirudh708 / DziG-0.py
Created October 18, 2016 18:45
null created by anirudh708 - https://repl.it/DziG/0
class probDist(dict):
def __init__(self,mapping=(), **kwargs):
self.update(mapping,kwargs)
total = sum(self.values)
for outcome in self:
self[outcome] = self[outcome]/total
/*
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more than once.
Input Format:
The first line of the input will have N and M (separated by space) for the size of the board. Next M lines will have N letters of the board each.
The last line will have word to search.
Output Format:
from HTMLParser import HTMLParser
class MyHTMLParser(HTMLParser):
def __init__(self):
HTMLParser.__init__(self)
self.dataArray = set([])
self.currNode = ""
self.foundCurr = False
<!-- Munching Squares Anirudh -->
<!--
https://codepen.io/anon/pen/PJzqya
-->
<table>
<tbody>
<!-- ko foreach : row -->
<tr>
<!-- ko foreach : $parent.coloumn-->
@anirudh708
anirudh708 / MovieListing.java
Created September 29, 2017 18:53
Java code for listing all telugu movies from 1940
import java.io.IOException;
import java.util.Date;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
class Movie{
#installing a gem
/usr/local/opt/ruby/bin/gem install jekyll-paginate
#run locally
~/.gem/ruby/2.6.0/bin/jekyll build --incremental
~/.gem/ruby/2.6.0/bin/jekyll serve
https://www.linode.com/docs/applications/remote-desktop/remote-desktop-using-apache-guacamole-on-docker/#guacamole-in-browser
https://kifarunix.com/how-to-setup-guacamole-web-based-remote-desktop-access-tool-on-ubuntu-18-04/
https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/
https://www.tweaking4all.com/software/linux-software/use-xrdp-remote-access-ubuntu-14-04/
https://www.splitbrain.org/blog/2017-08/10-homeassistant_duckdns_letsencrypt
public class One {
public static void main(String[] args) {
int A = 2, B = 5;
int a = 1, b = 1; String result = "";
while ((A+B)>0) {
if (A > B) {
if (a < 3) {
result += "a";
a++; b=1; A--;
} else {
Complete credit to http://Learn.SharjeelSayed.com //copied for myself.
Curated Self Study Guide for Computer Science and DevOps/SRE/SysAdmin
https://github.com/docker-training/orchestration-workshop
An always updated copy of this document can be found at http://Learn.SharjeelSayed.com
Fork this at https://github.com/SharjeelSayed/SharjeelSayed.github.io
Reach me at http://SharjeelSayed.com