Skip to content

Instantly share code, notes, and snippets.

View vchrombie's full-sized avatar

Venu Vardhan Reddy Tekula vchrombie

View GitHub Profile
@aksHITa47
aksHITa47 / spomment.js
Last active December 2, 2020 19:53
Comment spam a GitHub Gist
// spam the comments of a github gist with spomment.js
// This is inspired by @scriptnull's thirugram.js (https://gist.github.com/scriptnull/7877b404f33de2b7445a)
// open GitHub and browse to the gist you want to comment spam
// open console ( Ctrl + Shift + J )
// execute the code
var message = ""; //text you want to spam the comments with
var interval = 1000 ; // in milliseconds
var count = 10 ; //number of comments to be send
var i = 0 ;
@vidusheeamoli
vidusheeamoli / final-report.md
Last active March 9, 2021 09:31
Google Summer of Code 2020 Final Report

Contributions to Homebrew - Google Summer of Code 2020

gsoc This summer I contributed to Homebrew as a part of the Google Summer of Code program. This was my first venture into the world of FOSS and I'm grateful to the Homebrew community for being so welcoming, helpful and encouraging! I worked on setting up Sorbet, a static type checker in our codebase.

Summary:

Here is a gist of everything that we've worked on during the GSoC period:

@ria18405
ria18405 / SCMS.md
Last active October 19, 2020 17:09
Social Currency Metric System
@yashk2000
yashk2000 / report.md
Last active September 12, 2023 07:08
Google Summer of Code 2020: Work Report
@valeriocos
valeriocos / snippet.py
Created June 7, 2020 16:42
using counter to count emotions
import collections
def __get_reactions(self, item):
item_reactions = item.get('award_emoji_data', [])
if item_reactions:
reactions_counter = collections.Counter([reaction["name"] for reaction in item_reactions])
item_reactions = [{"type": reaction, "count": reactions_counter[reaction]} for reaction in reactions_counter]
return {"reactions": item_reactions}
@animeshk08
animeshk08 / create_schema.py
Created April 11, 2020 08:49
Used to fetch the indexes of ElasticSearch and create a schema.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import time
import pandas as pd
import argparse
from elasticsearch import Elasticsearch
def create_schema(index, file_name=None):
@valeriocos
valeriocos / get-oauth2-token-slack-api
Created April 4, 2020 07:41
Get a OAuth2 token for Slack app using requests in Python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015-2020 Bitergia
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
@vchrombie
vchrombie / README.md
Last active September 8, 2022 17:01
automation script to setup the GrimoireLab project 🦉 🚀

glab-dev-env-setup

While setting up the developer environment of the GrimoireLab, one step is to fork all the GrimoireLab components, clone them to a target local folder (e.g., sources) and each local repo should have two remotes: origin points to the forked repo, while upstream points to the parent repo.

Reference: Cloning the repositories

This script automates the whole process.

@valeriocos
valeriocos / get-bearer-token-twitter-api
Created June 7, 2018 12:54
Get a bearer token for Twitter application-only requests in Python3
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015-2018 Bitergia
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 20, 2024 13:01
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites