-
liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
-
classifier-reborn: Bayesian and LSI classification
dependencies: GSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* ๅๅใจใใฆๅฎๅฎ็ใฎใชใชใผในใฎใฟใๅๆใใ็นใซ้่ฆใจๆใใใ้ๅฎๅฎ็ใฎใชใชใผในใใ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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 */ |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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, |
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.