Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| ''' | |
| Created on 2012. 2. 19. | |
| This module is for playing mp3 (limited) and wav formatted audio file | |
| @author: John | |
| ''' | |
| import pygame | |
| def playsound(soundfile): | |
| """Play sound through default mixer channel in blocking manner. | |
| This will load the whole sound into memory before playback |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"The script will explain what changes it will make and prompt you before the installation begins. Once youโve installed Homebrew, insert the Homebrew directory at the top of your PATH environment variable. You can do this by adding the following line at the bottom of your ~/.bash_profile file
export PATH=/usr/local/bin:/usr/local/sbin:$PATH| #!/usr/bin/env python3 | |
| from sklearn.externals import joblib | |
| import numpy | |
| import pickle | |
| import _pickle | |
| import timeit | |
| def wrapper(func, *args, **kwargs): |
| #!/usr/bin/env bash | |
| # Author Saloua Litayem | |
| # For more details about pylint check https://docs.pylint.org/en/1.6.0/index.html | |
| if [ "$#" -lt 1 ] | |
| then | |
| echo "Usage: $0 folder_path [pylintrc file] [venv_folder(default: venv)]" | |
| exit 1 | |
| fi | |
| CMD="find $1 -name '*.py'" |
| # Install R + RStudio on Ubuntu 16.04 | |
| sudo apt-key adv โkeyserver keyserver.ubuntu.com โrecv-keys E084DAB9 | |
| # Ubuntu 12.04: precise | |
| # Ubuntu 14.04: trusty | |
| # Ubuntu 16.04: xenial | |
| # Basic format of next line deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu <enter your ubuntu version>/ | |
| sudo add-apt-repository 'deb https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/' | |
| sudo apt-get update |
| # vim: set fileencoding=utf-8 : | |
| # | |
| # How to store and retrieve gzip-compressed objects in AWS S3 | |
| ########################################################################### | |
| # | |
| # Copyright 2015 Vince Veselosky and contributors | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
$ mkdir ~/selenium
$ cd ~/selenium
$ wget http://goo.gl/rQhaxb
$ mv selenium-server-standalone-2.49.1.jar ~/selenium/People
:bowtie: |
๐ :smile: |
๐ :laughing: |
|---|---|---|
๐ :blush: |
๐ :smiley: |
:relaxed: |
๐ :smirk: |
๐ :heart_eyes: |
๐ :kissing_heart: |
๐ :kissing_closed_eyes: |
๐ณ :flushed: |
๐ :relieved: |
๐ :satisfied: |
๐ :grin: |
๐ :wink: |
๐ :stuck_out_tongue_winking_eye: |
๐ :stuck_out_tongue_closed_eyes: |
๐ :grinning: |
๐ :kissing: |
๐ :kissing_smiling_eyes: |
๐ :stuck_out_tongue: |