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
/* | |
FileName: GeometrySample.cpp | |
Discription: EigenのGeometry関連の関数のサンプル | |
Author: Atsushi Sakai | |
Update: 2013/03/16 |
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
# | |
# Get access_token from: https://app.bitly.com/settings/api/ | |
# Then, just call this function with your long url and access token | |
# | |
# Ref | |
# - https://dev.bitly.com/api-reference/#createBitlink | |
# - https://dev.bitly.com/docs/getting-started/introduction/ | |
import requests |
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 | |
# zip each directory | |
find . \! -name '*.zip' \! -name '.' -type d -exec zip -r {}.zip {} \; |
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
/* | |
FileName: ReductionSample.cpp | |
Discription:行列演算ライブラリEigenの換算関数のサンプル | |
Author: Atsushi Sakai | |
Update: 2013/03/23 |
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
''' | |
author: | |
@tangjeff0 | |
https://www.notion.so/tangjeff0/Public-Home-0e2636bd409b454ea64079ad8213491f | |
inspired by: https://praxis.fortelabs.co/p-a-r-a-iii-building-an-idea-generator-400347ef3bb6/ | |
with help from: https://medium.com/@jamiealexandre/introducing-notion-py-an-unofficial-python-api-wrapper-for-notion-so-603700f92369 | |
credits: | |
@jamiealexandre |
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
import Base.Threads.@spawn | |
using Ipopt | |
# hs071 | |
# min x1 * x4 * (x1 + x2 + x3) + x3 | |
# st x1 * x2 * x3 * x4 >= 25 | |
# x1^2 + x2^2 + x3^2 + x4^2 = 40 | |
# 1 <= x1, x2, x3, x4 <= 5 | |
# Start at (1,5,5,1) |
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
/** | |
@file: TcpLib.hpp | |
@brief:Linux用TCP通信サーバ用ライブラリ | |
ユーザが使用するクラス | |
1.TcpServer サーバ用 | |
2.TcpClient クライアント用 | |
@note TcpMasterクラスは、サーバとクライアントの | |
共通変数・関数用クラスなので |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"toc": "true" | |
}, | |
"source": [ | |
"# Table of Contents\n", | |
" <p><div class=\"lev1\"><a href=\"#scipy.interpolate-sample\"><span class=\"toc-item-num\">1 </span>scipy.interpolate sample</a></div><div class=\"lev2\"><a href=\"#一次元の補間\"><span class=\"toc-item-num\">1.1 </span>一次元の補間</a></div><div class=\"lev3\"><a href=\"#線形補間\"><span class=\"toc-item-num\">1.1.1 </span>線形補間</a></div><div class=\"lev3\"><a href=\"#最近傍補間\"><span class=\"toc-item-num\">1.1.2 </span>最近傍補間</a></div>" |
NewerOlder