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
sudo mv ○○.sty /usr/local/texlive/texmf-local/tex/latex/○○ | |
sudo mkxisr |
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
sudo port install opencv +python27 | |
/opt/local/bin/python2.7 |
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 geoip2.database | |
reader = geoip2.database.Reader('/usr/local/share/Geoip/GeoLite2-City.mmdb') | |
import sys | |
ip_address = raw_input('ip address -> ') | |
response = reader.city(ip_address) | |
print "%s, %s, %s" % (response.country.name, response.subdivisions.most_specific.name, response.city.name) |
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
飛行機代 = 10{万円} * 2{往復} | |
rep (i,[{月},{年}]) { | |
>> 学校代 = 5{万円/月->i} | |
>> お泊まり代 = 6{万円/月->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
/* | |
* スプレッドシートの複数のシートを複数のCSVにエクスポートする. | |
* マイドライブに置かれる. | |
* script to export data in all sheets in the current spreadsheet as individual csv files | |
* files will be named according to the name of the sheet | |
* author: Michael Derazon | |
*/ | |
function onOpen() { |
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
Time | Content / Presenter | |
---|---|---|
18:30 - | Reception | |
19:00 - | Venue and event guide | |
19:10 - 19:40 | 6DoF Project North Star using Windows MR by Yamaura(tw: @yamaulab) at exiii | |
19:40 - 20:10 | Make AR HMD by Dabu(tw: @troll01234) | |
20:10 - 20:25 | The first exhibition of a custum north star by Hirano, Iwanaka, Nakanishi(tw: @skckmdtk2m) at 1-10,inc | |
20:25 - 20:40 | How to make apps, Discord community, Tips by Task(tw: @supertask_jp) at teamLab | |
20:40 - 22:00 | Trial session and networking |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Requirements: | |
# Command: | |
# python3 | |
# Python library(pip): | |
# requests | |
# urllib3 | |
# File: checking_urls.txt |
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
void surf (Input IN, inout SurfaceOutput o) { | |
fixed4 tex = tex2D(_MainTex, IN.uv_MainTex); | |
o.Albedo = 0.0; | |
o.Gloss = 0.0; | |
o.Alpha = 1.0; | |
o.Specular = 0.0; | |
o.Normal = UnpackNormal(tex2D(_BumpMap, IN.uv_BumpMap)); | |
o.Emission = tex.rgb; | |
} |
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
v2f vert_inflation(appdata v) { | |
v2f o; | |
v.vertex = LeapGetLateVertexPos(v.vertex, _isLeftHand); // late-latch support | |
o.vertex = UnityObjectToClipPos(v.vertex + float4(_InflationAmount * v.normal, 0)); | |
return o; | |
} | |
fixed4 frag(v2f i) : SV_Target{ | |
return _Color; | |
} |
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
// | |
// Debug Compute Buffer | |
// When you define a struct/class, | |
// please use override ToString(), public override string ToString() => $"MpmParticle(position={position}, velocity={velocity})"; | |
// | |
// debugging range is startIndex <= x < endIndex | |
// example: | |
// Util.PrintBuffer<uint2>(this.particlesBuffer, 1024, 1027); | |
// | |
public static void PrintBuffer<T>(ComputeBuffer buffer, int startIndex, int endIndex) where T : struct |
OlderNewer