Skip to content

Instantly share code, notes, and snippets.

View dim4o's full-sized avatar
🎯
Focusing

Dimcho Nedev dim4o

🎯
Focusing
View GitHub Profile
@jellis505
jellis505 / Microsoft_ASR.py
Created February 11, 2017 02:09
Microsoft Bing Speech API Wrapper in Python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import httplib
import uuid
import json
class Microsoft_ASR():
def __init__(self):
@crlane
crlane / trie.py
Last active March 17, 2024 15:54
An implementation of a trie in python using defaultdict and recursion
from collections import defaultdict
def node():
return defaultdict(node)
def word_exists(word, node):
if not word:
return None in node
return word_exists(word[1:], node[word[0]])
@robwierzbowski
robwierzbowski / contributing.md
Last active January 24, 2018 19:15
Simple rules for contributing to GitHub repositories. Edits encouraged.

Hi! Thanks for using this project. I had a lot of fun building it, and I hope you're having fun using it too.

If you have an error or support request

  • Read the error message and documentation.
  • Search existing issues, closed issues, and the internet first.
  • If the issue is with a dependency of this project, post on the dependency's repo.
  • If you can fix the issue, submit a PR πŸ‘ πŸ’ƒ πŸ’ƒ πŸš€.
  • If the issue persists, post on the issue tracker. Include any information that could help others reproduce and fix.
@stuart11n
stuart11n / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote