Skip to content

Instantly share code, notes, and snippets.

View nipunsadvilkar's full-sized avatar
:octocat:
Focusing

Nipun Sadvilkar nipunsadvilkar

:octocat:
Focusing
View GitHub Profile
@nipunsadvilkar
nipunsadvilkar / 0_reuse_code.js
Created July 15, 2016 17:56
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@nipunsadvilkar
nipunsadvilkar / useful_pandas_snippets.py
Last active August 9, 2018 10:40 — forked from bsweger/useful_pandas_snippets.md
Useful Pandas Snippets
#unique number of values in a DataFrame column
df[column_name].nunique()
# List unique values in a DataFrame column
pd.unique(df.column_name.ravel())
# Convert Series datatype to numeric, getting rid of any non-numeric values
df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True)
(http://stackoverflow.com/questions/17071871/select-rows-from-a-dataframe-based-on-values-in-a-column-in-pandas)
@nipunsadvilkar
nipunsadvilkar / index.html
Created September 5, 2017 12:10 — forked from siddharthpolisiti/index.html
Max-Min-Avg Chart
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?

@nipunsadvilkar
nipunsadvilkar / download-vimeo-video.js
Created August 22, 2020 06:18 — forked from dmlogv/download-vimeo-video.js
Download private embed Vimeo video
// Ctrl+Shift+C to open Chrome Console.
// Choose an IFrame of the Vimeo Video with a comment `player.vimeo.com`
// in the drop-down list `top`.
// Run a script:
var videos = [];
$$('script')[3].textContent.match(/\{[^{]+?mp4[^}]+?\}/g).forEach(
x => { o = JSON.parse(x);
videos.push(o);});
videos.sort((a, b) => a.quality.localeCompare(b.quality)).forEach(
@nipunsadvilkar
nipunsadvilkar / README.md
Created January 31, 2022 11:06 — forked from hofmannsven/README.md
Show/Hide hidden system files on macOS
@nipunsadvilkar
nipunsadvilkar / about.md
Created October 19, 2022 19:50 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer