-
マックのアプリで「ディスクユーティリティ」を起動
-
検証&修復を繰り返す
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
// 参考:http://konashi.ux-xu.com/documents/ | |
var noble = require('noble'); | |
var co = require('co'); | |
noble.on('stateChange', function(state) | |
{ | |
console.log( "state change:", state ); |
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
<!DOCTYPE html> | |
<html> | |
<title>アンケート抽選用</title> | |
<body> | |
<script type="text/javascript"> | |
var names = [ | |
"Aさん", | |
"Bさん", |
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
clock_t clockStart, clockEnd; | |
clockStart = clock(); | |
// ... 処理 ... | |
clockEnd = clock(); | |
cout << "duration = " << (double)(clockEnd - clockStart) / CLOCKS_PER_SEC << "sec.\n"; |
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
// fffmpegが必要 | |
// さんこう:http://takuya-1st.hatenablog.jp/entry/2015/07/15/002701 | |
// require | |
var _exec = require('child_process').execSync; | |
// static const | |
var _moviePath = "./src/test.mp4"; | |
var _outPath ="./dest/out.gif" | |
var _rate = 0.5; |
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
map<int,int> aa; | |
aa[0] = 0; | |
aa[1] = 0; | |
aa[2] = 2; | |
for( auto bb : aa ) | |
{ | |
cout << bb.first << ":" << bb.second << endl; | |
aa.erase(bb.first); |
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
// ofTexureからofImageの変換 | |
ofTexture tex = xxx.getTextureReference(); | |
ofPixels p; | |
tex.readToPixels(p); | |
ofImage img; | |
//img.setFromPixels(p, tex.getWidth(), tex.getHeight(), OF_IMAGE_COLOR_ALPHA); | |
img.setFromPixels(p); |
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
// https://www.instagram.com/p/BA4WOQ2MtnT/ | |
#pragma once | |
#include "ofMain.h" | |
class ofApp : public ofBaseApp | |
{ | |
public: |
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 "test" | |
a = test.AClass() | |
a\update() | |
a\update() | |
a\print() |
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
test = require "test" | |
t = test.TestClass() | |
t\update() | |
t\print() | |
print t.val | |
OlderNewer