Skip to content

Instantly share code, notes, and snippets.

View hikarivina's full-sized avatar

Hikarivina hikarivina

  • Tokyo
View GitHub Profile
@hikarivina
hikarivina / gist:6b21c59d08ac5fffc293963f1d197aca
Created March 26, 2019 05:18
(コピペ)nginx最大パフォーマンスを出すための基本設定

http://nodejs.osser.jp/server/nginx-max-performance/

nginx最大パフォーマンスを出すための基本設定

  • Nginxチューニング
  • nginx最大限にスピードを出すために、設定パラメーターをチュニングしました。
  • nginx設定例
user www-data;
@hikarivina
hikarivina / tradingrrl.cpp
Created September 16, 2018 12:41 — forked from darden1/tradingrrl.cpp
c++ implementation of RRL.
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include <math.h>
#include <ctime>
using namespace std;
@hikarivina
hikarivina / Playground.swift
Created April 5, 2017 15:24 — forked from timdonnelly/Playground.swift
Maintaining visible scroll position while inserting items in a UICollectionView (Swift playground)
import Foundation
import UIKit
import XCPlayground
XCPlaygroundPage.currentPage.needsIndefiniteExecution = true
class Layout: UICollectionViewLayout {
private var attributes: [[UICollectionViewLayoutAttributes]] = []