Skip to content

Instantly share code, notes, and snippets.

View tanveery's full-sized avatar

Tanveer Yousuf tanveery

View GitHub Profile
[
{
"company": "3M",
"description": "3M, based in Minnesota, may be best known for its Scotch tape and Post-It Notes, but it also produces sand paper, adhesives, medical products, computer screen filters, food safety items, stationery products and many products used in automotive, marine, and aircraft industries.",
"initial_price": 44.28,
"price_2002": 56.27,
"price_2007": 95.85,
"symbol": "MMM"
},
{
@tanveery
tanveery / Startup.cs
Last active December 26, 2016 15:09
LinkedIn APIs for .NET
public void ConfigureAuth(IAppBuilder app)
{
// ...
var linkedInOptions = new LinkedInAuthenticationOptions();
linkedInOptions.ClientId = "Your LinkedIn API Key";
linkedInOptions.ClientSecret = "Your LinkedIn Secret Key";
linkedInOptions.Scope.Add("r_fullprofile");
@tanveery
tanveery / BundleConfig.cs
Last active May 22, 2021 14:42
Using JQuery AJAX along with Model Validation in ASP.NET MVC
using System.Web;
using System.Web.Optimization;
namespace AjaxDemo
{
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
@tanveery
tanveery / Build Berkeley DB
Last active August 29, 2015 13:56
Build Bitcoin Dependencies
cd /c/deps/
tar xvfz db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --disable-replication --enable-mingw --enable-cxx
make