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
#include <string> | |
#include <iostream> | |
#include <sstream> | |
#include <vector> | |
#include <cmath> | |
#include <queue> | |
using namespace std; | |
#define REP(i,n) for((i)=0;(i)<(int)(n);(i)++) |
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
package com.polysfactory.treetraversal; | |
import java.util.Stack; | |
/** | |
* Implementation for tree traversal | |
* | |
* @author horikawa | |
*/ |
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
package com.polysfactory.gcj2013; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Scanner; | |
import java.util.Set; |
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
package com.polysfactory.gcj2013; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Aerobics { | |
static class Entry implements Comparable<Entry> { | |
int r; |
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
D/CallNotifier( 593): RINGING... (new) | |
D/CallNotifier( 593): onNewRingingConnection(): state = RINGING, conn = { incoming: true state: INCOMING post dial state: NOT_STARTED } | |
D/IncomingBroadcastReceiver( 5656): state:RINGING | |
D/CallNotifier( 593): SignalInfoTonePlayer.run(toneId = 98)... | |
W/ActivityManager( 377): Unable to start service Intent { act=show_view cmp=com.anprosit.drivemode/.phone.service.LayerService (has extras) } U=0: not found | |
D/dalvikvm( 377): GC_EXPLICIT freed 1829K, 19% free 21509K/26500K, paused 14ms+9ms, total 136ms | |
D/PhoneStatusBar( 463): disable: < expand icons ALERTS* ticker system_info back home recent clock search > | |
D/AccelerometerListener( 593): enable(false) | |
E/HeadsetStateMachine( 879): terminateScoUsingVirtualVoiceCall:No present call to terminate | |
D/PhoneUtils( 593): answerCall(INCOMING)... |
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
D/HeadGestureDetector( 3078): 4:MPL Gyroscope:Invensense:1000:34.90656 | |
D/HeadGestureDetector( 3078): 1:MPL Accelerometer:Invensense:1000:19.6133 | |
D/HeadGestureDetector( 3078): 2:MPL Magnetic Field:Invensense:10000:9830.0 | |
D/HeadGestureDetector( 3078): 3:MPL Orientation:Invensense:5000:360.0 | |
D/HeadGestureDetector( 3078): 11:MPL Rotation Vector:Invensense:5000:1.0 | |
D/HeadGestureDetector( 3078): 10:MPL Linear Acceleration:Invensense:5000:19.6133 | |
D/HeadGestureDetector( 3078): 9:MPL Gravity:Invensense:5000:9.81 | |
D/HeadGestureDetector( 3078): 5:LTR-506ALS Light sensor:LiteOn:0:64000.0 | |
D/HeadGestureDetector( 3078): 11:Rotation Vector Sensor:Google Inc.:1000:1.0 | |
D/HeadGestureDetector( 3078): 9:Gravity Sensor:Google Inc.:1000:19.6133 |
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
Horizontal FoV: 54.8 | |
Vertical FoV: 42.5 | |
>>> math.tan(math.radians(27.4)) | |
0.5183507658105608 | |
>>> math.tan(math.radians(21.25)) | |
0.3888787318529897 | |
focal_x |
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
Shader "Custom/DynamicIllusionShader" { | |
Properties{ | |
_MainTex("Base (RGB)", 2D) = "white" {} | |
} | |
SubShader{ | |
Tags{ "Queue" = "Transparent" "IgnoreProjector" = "True" "RenderType" = "Transparent" } | |
Blend SrcAlpha OneMinusSrcAlpha | |
Pass{ | |
CGPROGRAM | |
#pragma vertex vert |
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
#include <VarSpeedServoSam.h> | |
VarSpeedServoSam servos[4]; | |
int MAX_SPEED = 50; | |
int PIN_NO[] = {2, 3, 4, 5}; | |
int MAX_DEGREE[] = {110, 110, 120, 100}; | |
int MIN_DEGREE[] = {70, 90, 80, 80}; | |
int INITIAL_DEGREE[] = {90, 90, 90, 90}; | |
int flag, sid, degree, speed; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE eagle SYSTEM "eagle.dtd"> | |
<eagle version="8.3.0"> | |
<drawing> | |
<settings> | |
<setting alwaysvectorfont="no"/> | |
<setting verticaltext="up"/> | |
</settings> | |
<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/> | |
<layers> |