Skip to content

Instantly share code, notes, and snippets.

@anuragsolanki
anuragsolanki / news-summarizer-project.md
Last active April 29, 2025 23:36
Gist of Hackathon 2

📰 News Summarizer Project — Full Build & Chat Transcript

🚀 Project Overview Backend: Ruby on Rails API (news_summarizer) Summarization Engine: Python script (HuggingFace Transformers + newspaper3k) Frontend: React app (news_summarizer_frontend) Goal: Paste a news article URL, get an AI-generated summary, with robust error handling, tests, and a modern, animated UI. 👤 User Requests & Actions

@anuragsolanki
anuragsolanki / FacebookViewController.m
Created September 2, 2012 06:01
Integrating Facebook in iOS 6
#import "Social/Social.h"
#import "Accounts/Accounts.h"
-(IBAction)postToFaceBook:(id)sender{
//Deprecated in iOS6
/*
ACAccountStore *accountStore = [[ACAccountStore alloc] init];
ACAccountType *accountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook];
#include<stdio.h>
#include<conio.h>