From 42925e884d8290746536ddd984c73216c68c39d3 Mon Sep 17 00:00:00 2001 From: codeXsidd Date: Sat, 21 Mar 2026 11:39:01 +0530 Subject: [PATCH 1/2] Add codeXsidd function to participate in social coding --- socode.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/socode.py b/socode.py index d33186f..159eb0c 100755 --- a/socode.py +++ b/socode.py @@ -1799,6 +1799,9 @@ def rickyc(): return "1LZNMnc2hHS9LJfJPRb7FmBhhKyKQCpWFx" +def codeXsidd(): + print "Let's keep the social coding spirit alive! Happy hacking!" + def typd(): print 'bazinga' nands() @@ -1938,6 +1941,7 @@ def elebumm(): if __name__ == "__main__": bluehatbrit() cjwelborn() + codeXsidd() prashantc29() abhirajbutala() newsocialifecom(); From 88714c66a0cd7076bea4472ca7b16e8c9297db8d Mon Sep 17 00:00:00 2001 From: codeXsidd Date: Sat, 21 Mar 2026 11:49:49 +0530 Subject: [PATCH 2/2] Fix TypeError in jpadilla and ncammarata functions by calling .json() --- socode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socode.py b/socode.py index 159eb0c..4418f7d 100755 --- a/socode.py +++ b/socode.py @@ -567,7 +567,7 @@ def evinugur(): def ncammarata(): - tweets = requests.get("https://search.twitter.com/search.json?q=a").json + tweets = requests.get("https://search.twitter.com/search.json?q=a").json() tweet = tweets['results'][0]['text'] print "Random Tweet:", tweet.encode('utf-8') @@ -822,7 +822,7 @@ def uiri(): def jpadilla(): - repo = requests.get('https://api.github.com/repos/sricola/socode').json + repo = requests.get('https://api.github.com/repos/sricola/socode').json() try: print 'Forked {} times'.format(repo['forks_count']) except ValueError: