Skip to content

Instantly share code, notes, and snippets.

View iAmMrinal0's full-sized avatar
💻
Writing code

Mrinal iAmMrinal0

💻
Writing code
View GitHub Profile
@iAmMrinal0
iAmMrinal0 / slack_emoji_downloader.py
Last active August 21, 2018 12:59 — forked from ArionMiles/slack_emoji_downloader.py
Download slack custom emojis
import requests
from bs4 import BeautifulSoup
#slack_emojis.html is the source of the slack custom emoji page, available at https://dev-s.slack.com/customize/emoji
#create a folder `output` in the current directory so all the emojis are saved there
file = open('slack_emojis.html', 'r')
soup = BeautifulSoup(file, 'html.parser')
custom_emoji = soup.find('table', {'id':'custom_emoji'})

Keybase proof

I hereby claim:

  • I am iammrinal0 on github.
  • I am iammrinal0 (https://keybase.io/iammrinal0) on keybase.
  • I have a public key whose fingerprint is DCA4 3049 F584 8A2C B85A 69D3 AA8E 1F50 C2BC 6CCD

To claim this, I am signing this object:

@iAmMrinal0
iAmMrinal0 / The Technical Interview Cheat Sheet.md
Created November 22, 2015 11:29 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@iAmMrinal0
iAmMrinal0 / Sony Bravia 2014.xml
Created June 20, 2015 13:12
Plex DLNA profile for Sony Bravia 2014 models
<?xml version="1.0" encoding="utf-8"?>
<Client name="Sony Bravia 2014">
<Identification>
<Header name="X-AV-Client-Info" regex=".*(KDL-\d{2}W[5-9]\d{2}B|KDL-\d{2}R480|XBR-\d{2}X[89]\d{2}B|KD-\d{2}[SX][89]\d{3}B).*" />
<DeviceDescription>
<Manufacturer substring="Sony" />
<FriendlyName regex="(KDL-\d{2}W[5-9]\d{2}B|KDL-\d{2}R480|XBR-\d{2}X[89]\d{2}B|KD-\d{2}[SX][89]\d{3}B).*" />
</DeviceDescription>
</Identification>
<DeviceDescription>