Skip to content

Instantly share code, notes, and snippets.

🤷‍♂
¯\_(ツ)_/¯

Aveek Saha Aveek-Saha

🤷‍♂
¯\_(ツ)_/¯
Block or report user

Report or block Aveek-Saha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Aveek-Saha
Aveek-Saha / App.svelte
Last active May 18, 2019
A simple Svelte todo app, copy paste this in the src/App.svelte file in the svelte boilerplate.
View App.svelte
<script>
let task = "";
let todos = ["eat", "sleep", "code"]
function addTask() {
if(task!=""){
todos.push(task)
todos = todos;
task = ""
}
@Aveek-Saha
Aveek-Saha / scrape_tags.py
Created May 14, 2019
A python script to scrape today's trending Twitter hashtags from https://trendogate.com
View scrape_tags.py
from bs4 import BeautifulSoup
import urllib
URL = "https://trendogate.com/place/23424977"
# Open the URL
page = urllib.request.Request(URL)
result = urllib.request.urlopen(page)
# Store the HTML page in a variable
resulttext = result.read()
You can’t perform that action at this time.