-
liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
-
classifier-reborn: Bayesian and LSI classification
dependencies: GSL
* ๅๅใจใใฆๅฎๅฎ็ใฎใชใชใผในใฎใฟใๅๆใใ็นใซ้่ฆใจๆใใใ้ๅฎๅฎ็ใฎใชใชใผในใใnot stableใใจใใฆ่จ่ผใใใ | |
* ๅใชใชใผในใฎๅบๆใจใชใฃใใใฉใณใใๆ่จใใใพใใใใใฎใใฉใณใใฎ็บ็ๆๆใ็คบใใใใชใใชใใธใใชใฎSubversionๅๅใฏtrunkใจใใ็จ่ชใฏไฝฟใใใฆใใชใใใๆททไนฑใ้ฟใใใใใซ็ตฑไธใใใใพใใruby_1_8_7ใใฉใณใใฏไบๆ ใฎใใใซ1.8.7ใชใชใผในๅพใซv1_8_7ใฟใฐใใๅใ็ดใใใฆใใใ | |
* ๅ จๅฝ่ฆๆจกใใใใฏๅ จไธ็่ฆๆจก(?)ใฎใคใใณใใๅ่ใฎใใใซ่จ่ผใใใ้ๅฌๅฐใฏ่ฑ่ชๅใง้็จใใฆใใใจๆใใใ่กจ่จใๆก็จใใใ | |
* 1.2.1ใฏrepackใจ็งฐใใฆ2ๅ็ฎใฎใชใชใผในใ่กใใใใไปใซใๅๆงใฎไพใใใใใใใใใฏๆฅไปใๅคใใฃใฆใใชใใฎใง่จ่ผใใฆใใชใใ | |
* 1.0ใฏๅคง้ใซๆฅไปใคใใงใชใชใผในใใใใฎใง้ไธญใฏๅฒๆใใใ | |
* ๅๅฎๅฎ็็ณปๅใฎๆ็ตใใผใธใงใณใซใฏใfinalใใจ่จ่ผใใใใชใใ1.4็ณปๅใซใคใใฆใฏใชใใฃใทใฃใซใซใฏ็ตไบใฎใขใใฆใณในใฏใชใใใ็ตไบใใฆใใๆจใฎ้ๅ ฌๅผใช่จๅใฏๆฃ่ฆใใใใใๆขใซ็ตไบใใฆใใใจใฟใชใใใ | |
1993-02-24 (start) | |
1995-12-21 0.95 (not stable; first public release) | |
1996-12-25 1.0-961225 (from trunk) |
struct Vdbe { | |
sqlite3 *db; /* The database connection that owns this statement */ | |
Op *aOp; /* Space to hold the virtual machine's program */ | |
Mem *aMem; /* The memory locations */ | |
Mem **apArg; /* Arguments to currently executing user function */ | |
Mem *aColName; /* Column names to return */ | |
Mem *pResultSet; /* Pointer to an array of results */ | |
int nMem; /* Number of memory locations currently allocated */ | |
int nOp; /* Number of instructions in the program */ | |
VdbeCursor **apCsr; /* One element of this array for each open cursor */ |
require 'test_helper' | |
class RedemptionCodeTest < ActiveSupport::TestCase | |
def setup | |
@business = businesses :vinovolo | |
@business.enabled_reward_back = true | |
@user = users :warren | |
@user.punchh_app = punchh_apps :vinovolo | |
end |
Here's how I set up a tiny Nginx/Rails server that uses HTTPS via a Let's Encrypt issued certificate.
I use the smallest DigitalOcean droplet (512 MB) here, which is built from the "Ubuntu Ruby on Rails on 14.04" image provided by them.
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init
-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath>
-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example,vagrant init ubuntu/trusty64
.
vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)
mike@rbci:~$ psql -U postgres | |
psql (9.0.3) | |
Type "help" for help. | |
postgres=# update pg_database set datallowconn = TRUE where datname = 'template0'; | |
UPDATE 1 | |
postgres=# \c template0 | |
You are now connected to database "template0". | |
template0=# update pg_database set datistemplate = FALSE where datname = 'template1'; | |
UPDATE 1 |
# Assumes: | |
# - curl is installed | |
# - you have a slack channel with an incoming webhook configured | |
require 'json' | |
def notify_slack(webhook_url, channel, username, text, image) | |
payload = { | |
:channel => channel, | |
:username => username, |
I hereby claim:
- I am gaurav2728 on github.
- I am gaurav2728 (https://keybase.io/gaurav2728) on keybase.
- I have a public key ASBBEQN2hrMTS5LRF_x76wLLJPALDOW5Bh6cRjtPM4hgXQo
To claim this, I am signing this object:
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
- Installing Homebrew is effortless, open Terminal and enter :
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.