Skip to content

Instantly share code, notes, and snippets.

View hygull's full-sized avatar
😃
Enjoying work at AIPALETTE & in home. Programming is there as my best friend.

Rishikesh Agrawani hygull

😃
Enjoying work at AIPALETTE & in home. Programming is there as my best friend.
View GitHub Profile
@hygull
hygull / Try-Restructured-Text.rst
Last active April 13, 2019 17:49
ReStructured Text

#### Rishikesh Agrawani ####

References ^^^^

@hygull
hygull / pandas-apply-itersection.md
Last active March 26, 2019 18:32
A solution to this problem - with a little research with passion (Until I got the result/success) - `26 March 2019, Tue`.

Use the below statement as others suggested.

family._embedded['wp:featuredmedia']['0'].media_details.sizes["family-profile-thumb"].source_url

The below example clarifies when to use . (dot) & [] (brackets).

Creating an object

> o = {
... "fullname": "Rishikesh Agrawani",
@hygull
hygull / MATLAB-TO-PYTHON-PACKAGE-THEN-GENERATE-MATLAB-CODE-TO-PYTHON-USING-OMPC.md
Last active February 10, 2019 15:29
MATLAB TO PYTHON PACKAGE, Python equivalent of MATLAB code using OMPC compiler

Creating Python package from MATLAB code using SDK compiler

This example shows how to create a Python package using a MATLAB function. You can then pass the generated package to the developer, who is responsible for integrating it into an application.

To compile a Python package from MATLAB code, follow the following steps one by one.

  1. In MATLAB, examine the MATLAB code that you want to deploy as a Python package. The example used here is makesqr.m, located in matlabroot\toolbox\javabuilder\Examples\MagicSquareExample\MagicDemoComp

    a. Open makesqr.m.

@hygull
hygull / best-js-libraries-to-use-in-web-app.md
Last active January 11, 2019 10:57
Best JS libraries to use in web applications

Please have a look at the following 2 ways of implementation. Please prefer 2nd way. Also check their related o/p that I have pasted from my terminal.

1 way - not good and much user friendly

This is just to answer the question, check 2nd way and try to implement like that.

	set1 = [1,2,3,4,5,6,7,8]
	new_list = []