Skip to content

Instantly share code, notes, and snippets.

View randomprimate's full-sized avatar
👾

Jose Torres randomprimate

👾
View GitHub Profile

Keybase proof

I hereby claim:

  • I am randomprimate on github.
  • I am randomprimate (https://keybase.io/randomprimate) on keybase.
  • I have a public key ASA5QSuHv53J6pL6IcLHtoej4qyEd6vpaXwJCDh9Wdn8xQo

To claim this, I am signing this object:

@randomprimate
randomprimate / sentiment_classification.py
Created February 24, 2017 14:29 — forked from bonzanini/sentiment_classification.py
Sentiment analysis with scikit-learn
# You need to install scikit-learn:
# sudo pip install scikit-learn
#
# Dataset: Polarity dataset v2.0
# http://www.cs.cornell.edu/people/pabo/movie-review-data/
#
# Full discussion:
# https://marcobonzanini.wordpress.com/2015/01/19/sentiment-analysis-with-python-and-scikit-learn
06-19 14:17:36.317 13096-13096/example.com.LocalVpn I/art: Late-enabling -Xcheck:jni
06-19 14:17:42.452 13096-13635/example.com.LocalVpn D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
06-19 14:17:42.465 13096-13096/example.com.LocalVpn D/Atlas: Validating map...
06-19 14:17:42.509 13096-13635/example.com.LocalVpn I/Adreno-EGL: <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016_msm8226_LA.BF.1.1.1_RB1__release_AU ()
OpenGL ES Shader Compiler Version: E031.25.03.00
Build Date: 02/11/15 Wed
Local Branch:
Remote Branch: quic/LA.BF.1.1.1_rb1.10
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016 + 62ca4eb + acd831d + 9f8b442 + e027a02 + cba30ba + 53c303a + a649d79 + 23e16f8 + 5e97da7 + cbd2a44 + 33d072a + 7aacf06 + 72b33e7 + 28f6f60 + b4c13d8 + NOTHING
@randomprimate
randomprimate / rails_bare_metal_vps.md
Created October 29, 2015 06:14 — forked from orendon/rails_bare_metal_vps.md
Bare Metal Linux - Rails Capistrano - Nginx + Passenger tux
@randomprimate
randomprimate / Carrierwave Uploader
Last active February 26, 2017 04:30
Uploading files from Ionic Android to Rails
###
# Remember to add the gem to your gemfile with:
# gem 'carrierwave'
# Follow setup through the gem's github readme.
###
# encoding: utf-8
class AudioSampleUploader < CarrierWave::Uploader::Base
@randomprimate
randomprimate / SVG-Animated-Badge.markdown
Created September 23, 2013 00:32
A Pen by Jose Torres.

SVG Animated Badge

Animated SVG badge. Rotates 180 deg on hover and 360 deg on click. The inner icon also changes colour on click.

A Pen by Jose Torres on CodePen.

License.