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.gabuchan.devquiz.slidingpuzzle; | |
| import java.util.Arrays; | |
| public class Solver { | |
| private static final char[] pieces = | |
| new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', | |
| 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', | |
| 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' }; | |
| private static final char UP = 'U'; |
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
| var navGroup, rootWindow; | |
| Ti.UI.setBackgroundColor('#fff'); | |
| rootWindow = Ti.UI.createWindow(); | |
| navGroup = Ti.UI.iPhone.createNavigationGroup({ | |
| window: new (require('ui/title_window').TitleWindow)() | |
| }); | |
| rootWindow.add(navGroup); | |
| rootWindow.open(); |
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
| import play.api._ | |
| Play.start(new Application(new java.io.File("."), getClass.getClassLoader, None, Mode.Dev)) |
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
| def gabu(id: String, bid: String) = Action { | |
| Project.findOneByID(id) match { | |
| case Some(project: Project) => Build.findOneByID(new ObjectId(bid)) match { | |
| case Some(build: Build) => | |
| // etc... | |
| Ok(views.html.gabu(build) | |
| case None => NotFound | |
| } | |
| case None => NotFound | |
| } |
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
| Process: Xcode [924] | |
| Path: /Applications/Xcode.app/Contents/MacOS/Xcode | |
| Identifier: com.apple.dt.Xcode | |
| Version: 4.3.2 (1177) | |
| Build Info: IDEApplication-1177000000000000~6 | |
| Code Type: X86-64 (Native) | |
| Parent Process: launchd [490] | |
| Date/Time: 2012-06-07 18:29:13.447 +0900 | |
| OS Version: Mac OS X 10.7.4 (11E53) |
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
| public class CopyOfRecipe056Activity extends ListActivity { | |
| ItemAdapter mAdapter; | |
| ArrayList<Item> mItems; | |
| @Override | |
| public void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| if (savedInstanceState == null) { | |
| mItems = new ArrayList<Item>(); |
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
| private Recipe114Handler mHander; | |
| private static class Recipe114Handler extends Handler { | |
| private final WeakReference<Recipe114Activity> mActivity; | |
| public Recipe114Handler(Recipe114Activity activity) { | |
| mActivity = new WeakReference<Recipe114Activity>(activity); | |
| } | |
| @Override |
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
| Remote Name: Galaxy Nexus | |
| Connected to Device: FC:C7:34:B5:30:DA | |
| Wait For Incoming Connection Request | |
| Bluetooth pin is set too: 0000 | |
| Information request | |
| SDP Incoming Connection Request | |
| SDP Configuration Request | |
| SDP Successfully Configured | |
| Disconnected SDP Channel | |
| HCI Disconnected from Device |
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
| <activity | |
| android:name=".ui.MainActivity_" | |
| android:label="@string/app_name" | |
| android:uiOptions="splitActionBarWhenNarrow" > | |
| <intent-filter> | |
| <action android:name="android.intent.action.MAIN" /> | |
| <category android:name="android.intent.category.LAUNCHER" /> | |
| </intent-filter> | |
| <intent-filter> |
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
| sidekiq [options] | |
| -c, --concurrency INT processor threads to use | |
| -d, --daemon Daemonize process | |
| -e, --environment ENV Application environment | |
| -g, --tag TAG Process tag for procline | |
| -i, --index INT unique process index on this machine | |
| -p, --profile Profile all code run by Sidekiq | |
| -q, --queue QUEUE[,WEIGHT]... Queues to process with optional weights | |
| -r, --require [PATH|DIR] Location of Rails application with workers or file to require | |
| -t, --timeout NUM Shutdown timeout |
OlderNewer