Skip to content

Instantly share code, notes, and snippets.

[募集終了]NextInt社 つよつよ人材 腰掛け雇用枠

参考ツイート

雇用条件

  • 月収30万円
  • 週3勤務
    • 残りの週2日については副業、勉強、大学院、転職活動等に充ててよい
    • 曜日はいい感じに調整、応相談
  • 土日祝日は休み、休日はちゃんと休め
@tokoroten
tokoroten / box2dtest.cpp
Last active January 10, 2018 11:30
box2dで遊んでみる
# include <Siv3D.hpp>
# include <HamFramework.hpp>
class Ball
{
public:
static const double SIZE;
static const Polygon POLYGONS[];
static const Color COLORS[];
static Font FONT;
@tokoroten
tokoroten / box2dtest.cpp
Last active January 3, 2018 21:25
siv3d box2d
# include <Siv3D.hpp>
# include <HamFramework.hpp>
class Ball
{
public:
static const double SIZE;
static const Polygon POLYGONS[];
static const Color COLORS[];
const int mColor;
#pragma once
// Original code from https://gist.github.com/ialhashim/b29e5455333aa6ae0071#file-dbscan-hpp
// Code adapted from https://github.com/propanoid/DBSCAN
#include <vector>
#include <algorithm>
#include <omp.h>
https://twitter.com/tenhouginsama/status/910099478165590016
https://pbs.twimg.com/media/DKFSpDTVYAAuKV_.jpg
===== ==== ================= =======================
子供1 子供2 女の子はいますか? もう一人も女の子ですか?
===== ==== ================= =======================
男 男 いいえ ----
女 男 はい いいえ
男 女 はい いいえ
女 女 はい はい
@tokoroten
tokoroten / PIDgame.go
Created September 3, 2017 01:08
PID制御でゲームを作ってみよう
package main
import (
"fmt"
"image/color"
"log"
"math"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"
@tokoroten
tokoroten / kickstarter_clawler.py
Created March 16, 2017 22:02
Kickstarter Crawler
#coding: utf-8
import urllib.request
import json
import datetime
import os
import time
try:
os.mkdir("result")
except:
@tokoroten
tokoroten / kickstarter_clawler.py
Created April 4, 2016 09:43
kickstarter_scraping
#coding: utf-8
import urllib
import json
import datetime
import os
import time
# http://www.kbremner.com/2014/03/15/kickstarter-part1.html
# https://github.com/markolson/kickscraper/wiki/Project
@tokoroten
tokoroten / randomforest_compress_test.py
Last active August 29, 2015 14:21
scikit-learn randomforest serialize problem
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
import shutil
import random
import math
import cPickle
import pickle
# https://www.kaggle.com/c/otto-group-product-classification-challenge/details/evaluation
def print_kaggle_score(label_list, proba_result):
label_index = sorted(list(set(label_list)))
score = - 1.0 / len(label_list) * sum(
[
math.log(
max(min(
proba_result[i][label_index.index(label_list[i])]
/ sum(proba_result[i])