Skip to content

Instantly share code, notes, and snippets.

View devmnj's full-sized avatar
💭
Exploring Algos

Manoj AP devmnj

💭
Exploring Algos
View GitHub Profile
@jkuruzovich
jkuruzovich / fbme.py
Created February 3, 2017 18:28 — forked from espeed/fbme.py
Facebook Graph API Example in Python
# Facebook Graph API Example in Python
# by James Thornton, http://jamesthornton.com
# Facebook API Docs
# https://developers.facebook.com/docs/graph-api/using-graph-api#reading
# Get Your Facebook Access Token Here...
# https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=me
# Before running this script...
@muddassirm
muddassirm / LoadJson3.dart
Created August 24, 2018 18:30
Display JSON data in Flutter : Using a FutureBuilder
import 'package:flutter/material.dart';
import 'dart:convert';
import 'dart:async' show Future;
import 'package:flutter/services.dart' show rootBundle;
class Student {
String studentId;
String studentName;
int studentScores;
@grandsilence
grandsilence / DapperInnerJoin.cs
Created August 30, 2019 14:57
INNER JOIN multiple tables in C# Dapper library
public override async Task<IEnumerable<City>> GetAllAsync()
{
var cities = new Dictionary<long, City>();
//var areas = new Dictionary<long, Area>();
const string sql =
@"SELECT c.id, c.name, a.id, a.name FROM cities c
INNER JOIN city_areas ca ON ca.city_id = c.id
INNER JOIN areas a ON a.id = ca.area_id";