Trivial
This file contains 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
// run this with sbt run | |
import org.apache.hadoop.hbase._ | |
import org.apache.hadoop.hbase.client._ | |
import org.apache.hadoop.hbase.util._ | |
import org.apache.hadoop.hbase.client.{HBaseAdmin,Scan,Result} | |
import org.apache.hadoop.hbase.mapreduce.{TableMapper,TableMapReduceUtil} | |
import org.apache.hadoop.hbase.HBaseConfiguration | |
import org.apache.hadoop.hbase.io.ImmutableBytesWritable |
This file contains 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
var http = require('http'); | |
var fs = require('fs'); | |
var filename = process.argv[process.argv.length-1]; | |
var filesize = fs.statSync(filename).size; | |
var boundary = "----FuckingBoundary12341234" | |
var options = { | |
host: '192.168.0.3', | |
port: '8080', |
This file contains 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
#/usr/bin/env python | |
# vim: set fileencoding=utf-8 | |
from ghost import Ghost | |
from config import COOKIE_FILE, LOGIN_ID, LOGIN_PW | |
import urllib2 | |
import cookielib | |
import Cookie | |
class NaverCrawler: |
이 문서는 kaggle에 올라온 문제를 푸는 과정을 기술한 것이다.
문제를 처음 읽고, 일단 sample submission(모든 id에 대해 0을 예측한)을 0.01로 바꿔서 제출해보았으나 점수가 sample보다도 낮았다. 그 외 포럼에서 나오는 말들을 종합해 볼때 일단 loss가 0인 데이터가 대다수라는 것을 train.csv를 보지 않고서도 알 수 있었다.
This file contains 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
#!/bin/bash | |
projects=( 'chart-comparison' 'codesprint' 'dynamodb-chart-browser' 'navercrawler' 'nodejs-sandbox' 'sandbox-judge' 'scala-hadoop-example' 'skplanetx' 'voiceserver' ) | |
# for var in ${projects[@]}; do | |
# git clone git@blmarket.net:${var}.git | |
# done | |
for var in ${projects[@]}; do | |
( |
This file contains 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
{AWS} = require './aws' # this is configured aws-sdk | |
async = require 'async' | |
redis = require 'redis' | |
client = redis.createClient(6379, '--our-redis-source--') | |
data = {} | |
dynamo = new AWS.DynamoDB() | |
client.keys '*', (err, res) -> # you can set your pattern | |
toTask = (row) -> |
This file contains 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
require 'formula' | |
class Terminator < Formula | |
homepage 'https://launchpad.net/terminator' | |
url 'http://launchpad.net/terminator/trunk/0.97/+download/terminator-0.97.tar.gz' | |
sha1 'aa92a6cacd572f6a834ac1de88ae699c7b7dee69' | |
depends_on 'pkg-config' => :build | |
depends_on :python | |
depends_on :x11 |
NewerOlder