Skip to content

Instantly share code, notes, and snippets.

View akashnimare's full-sized avatar
💭
I may be slow to respond.

Akash Nimare akashnimare

💭
I may be slow to respond.
View GitHub Profile
@akashnimare
akashnimare / README.md
Last active January 29, 2024 15:16
A Beginners Guide to writing a Kickass README ✍

Project title

A little info about your project and/ or overview that explains what the project is about.

Motivation

A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.

Build status

Build status of continus integration i.e. travis, appveyor etc. Ex. -

Build Status

@akashnimare
akashnimare / instructions.txt
Last active January 9, 2024 10:00
Download Frontend Master courses video. Note: This is for learning purpose only. Please don't mis-use it.
# Requirements
* Python 2.7
* Google Chrome
* ChromeDriver - WebDriver for Chrome
- Download the latest chromedrive which is 2.28 from here - https://sites.google.com/a/chromium.org/chromedriver/downloads
- Extract and move `chromedriver` file to `/usr/local/bin/chromedriver`
- git clone https://github.com/li-xinyang/OS_FrontendMaster-dl
- cd OS_FrontendMaster-dl
@akashnimare
akashnimare / index.html
Created March 7, 2017 13:53
Youtube embedded overlay image
<div class="video-container">
<img src="img/yt-video.jpg"/ id="play-video" class="img-responsive">
<iframe style="display:none" id="video" src="https://www.youtube.com/embed/SzmioR4Dj8E" frameborder="0" allowfullscreen></iframe>
</div>
@akashnimare
akashnimare / clear-cache.js
Created September 6, 2017 22:52
Clear cach in electron
const {BrowserWindow} = require('electron');
const win = BrowserWindow.getAllWindows()[0];
const ses = win.webContents.session;
ses.clearCache(() => {
alert("Cache cleared!");
});
@akashnimare
akashnimare / mailchimpform.html
Last active November 23, 2020 00:03
Mailchimp newsletter signup form using ajax ❤️ Demo- http://codepen.io/akashnimare/full/XMozEo/
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Mailchimp Signup form</title>
<meta name="description" content="Mailchimp Signup form using Ajax.">
<style type="text/css">
body {
background-image: linear-gradient(120deg, rgb(209, 219, 233), rgb(240, 250, 243));
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Helvetica Neue', Arial, sans-serif;
@akashnimare
akashnimare / git_tips.md
Last active March 16, 2020 10:11
Git tips for first time contributors
@akashnimare
akashnimare / autoupdater.js
Last active March 26, 2018 14:38
Add auto-updates to your Electron app
'use strict';
const os = require('os');
const {app, autoUpdater, dialog} = require('electron');
const version = app.getVersion();
const platform = os.platform() + '_' + os.arch(); // usually returns darwin_64
const updaterFeedURL = 'http://zulipdesktop.herokuapp.com/update/' + platform + '/' + version;
// replace updaterFeedURL with http://yourappname.herokuapp.com
function appUpdater() {
@akashnimare
akashnimare / index.js
Created February 27, 2018 20:55
Grab college list from - knowyourcollege-gov.in
const collegeList = [];
var getAllCollege = document.getElementsByClassName('instituteName');
for (let i = 0; i < getAllCollege.length; i++) {
console.log("Total College count:", getAllCollege.length)
collegeList.push
(
{
"name": document.getElementsByClassName('instituteName')[i].innerText,
"url": document.getElementsByClassName('instituteLinks')[i].innerHTML
@akashnimare
akashnimare / electron-reset-app-data.js
Created September 6, 2017 22:28
Clearing application data in Electron
const path = require('path');
const { app } = require('electron');
const fs = require('fs-extra');
const appName = app.getName();
// Get app directory
// on OSX it's /Users/Yourname/Library/Application Support/AppName
const getAppPath = path.join(app.getPath('appData'), appName);
fs.unlink(getAppPath, () => {
@akashnimare
akashnimare / Instructions
Last active March 21, 2017 20:56
Scarpe IMDB top 250 movies review
* Python - v2.7.13
* pip
## Installation
* pip install -r requirements.txt
* python imdb-reviews.py
* All reviews will be saved in result.json