Skip to content

Instantly share code, notes, and snippets.

Boris Lachev vectorman1

  • Cobuilder
  • Sofia, Bulgaria
View GitHub Profile
@vectorman1
vectorman1 / lyrics.py
Created Mar 30, 2017
Python script to get Lyrics from an API
View lyrics.py
import json
from pip._vendor import requests
# You only need to input your API key
__APIKEY__ = ""
__APIURL__ = "http://api.musixmatch.com/ws/1.1/"
endpoints = ["track.search?q_track={}&page_size=10000&page=1&s_track_rating=desc", "track.lyrics.get?track_id={}"]
View round.cpp
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
const int NMAX = 1024;
struct Circle
{
int x,y;
View goats.cpp
#include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
vector<int> sheep;
bool cr(const int a, const int b)
{
return a > b;
}
@vectorman1
vectorman1 / install-pacaur.sh
Created Mar 19, 2016 — forked from rumpelsepp/install-pacaur.sh
A small script for arch linux which builds and installs "pacaur" automatically
View install-pacaur.sh
#!/bin/sh
#
# The MIT License (MIT)
#
# Copyright (c) 2015-2016 Stefan Tatschner
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
You can’t perform that action at this time.