This file contains hidden or 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 net.vvakame.gamepads; | |
| import net.vvakame.gamepads.FeatureListFragment.FeatureListEventsCallback; | |
| import android.app.Activity; | |
| import android.app.Fragment; | |
| import android.app.FragmentManager; | |
| import android.app.FragmentTransaction; | |
| import android.os.Bundle; | |
| import android.widget.Toast; |
This file contains hidden or 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 net.vvakame.xg; | |
| import java.io.IOException; | |
| import javax.servlet.http.HttpServlet; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; | |
| import com.google.appengine.api.datastore.DatastoreService; |
This file contains hidden or 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 <stdio.h> | |
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <termios.h> | |
| #define BAUDRATE B115200 | |
| #define WAIT 20000 | |
| struct _sensor_data_1 { // 10 bytes |
This file contains hidden or 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 net.vvakame.android.game; | |
| import java.lang.Thread.UncaughtExceptionHandler; | |
| import android.app.Application; | |
| import android.content.Context; | |
| import android.content.pm.ApplicationInfo; | |
| public class GameApplication extends Application { |
This file contains hidden or 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
| web: coffee app.coffee |
This file contains hidden or 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
| # for Mac | |
| # node.js install and setup this project. | |
| sudo port install nodejs npm | |
| sudo npm install -g coffee-script | |
| npm install | |
| # start node.js locally | |
| npm start |
This file contains hidden or 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 net.vvakame.sapmle; | |
| import java.util.List; | |
| import android.content.Context; | |
| import android.content.pm.ApplicationInfo; | |
| import android.content.pm.PackageManager; | |
| import android.util.Log; | |
| import android.view.ActionProvider; | |
| import android.view.Menu; |
This file contains hidden or 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
| Processor : ARMv7 Processor rev 10 (v7l) | |
| processor : 0 | |
| BogoMIPS : 597.12 | |
| processor : 1 | |
| BogoMIPS : 597.12 | |
| Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 | |
| CPU implementer : 0x41 | |
| CPU architecture: 7 |
This file contains hidden or 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
| util = require 'util' | |
| fs = require 'fs' | |
| exec = require('child_process').exec | |
| spawn = require('child_process').spawn | |
| callback = (child) -> | |
| child.stdout.on 'data', (data) -> | |
| util.print data | |
| exec "notify-send Cakefile \"#{data}\"" | |
| child.stderr.on 'data', (data) -> |
This file contains hidden or 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
| # CommonJS の module っぽい何かを提供する っぽいだけ | |
| root = global ? window | |
| root.exports = root.exports || {} | |
| exports = root.exports | |
| createExports = (moduleName)-> | |
| exports[moduleName] = exports[moduleName] || {} | |
| # global に展開 |