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
class Bar | |
end |
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
$ launchctl list | grep jenkins | |
28201 - homebrew.mxcl.jenkins | |
$ launchctl stop homebrew.mxcl.jenkins | |
$ launchctl list | grep jenkins | |
- 143 homebrew.mxcl.jenkins | |
$ launchctl start homebrew.mxcl.jenkins | |
$ launchctl list | grep jenkins | |
16812 - homebrew.mxcl.jenkins |
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
mrb = mrb_open(); | |
NSString * bcfile = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"context.mrb"]; | |
NSFileHandle * fileHandle = [NSFileHandle fileHandleForReadingAtPath:bcfile]; | |
NSData * data = [fileHandle readDataToEndOfFile]; | |
uint8_t * bytes = (uint8_t *)malloc([data length]); | |
memcpy(bytes, [data bytes], [data length]); | |
[fileHandle closeFile]; | |
mrb_load_irep(mrb, 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
#include <MRuby/mruby.h> | |
#include <Mruby/mruby/proc.h> |
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 Application extends Sprite | |
{ | |
public function Apllication() | |
{ | |
var context:Context = new Context() | |
.install(MVCSBundle) | |
.configure(MainConfig) | |
.configure(ContextView(this)) | |
context.initialize(); | |
} |
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
新宿駅 | |
山手線、中央線、埼京線、湘南新宿ライン、中央総武線、京王線、京王新線、都営新宿線、大江戸線、丸ノ内線、小田急小田原線 | |
新宿三丁目駅 | |
都営新宿線、丸ノ内線、副都心線、 | |
代々木駅 | |
中央総武線、山手線、大江戸線 | |
南新宿駅 |
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
module Poker | |
class Card | |
attr_accessor :number, :mark | |
def initialize(number, mark) | |
@number = number | |
@mark = mark | |
end | |
def number_string |
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
nm -u libThirdParty.a | grep ASIdentifierManager |
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 button:Button = new Button(); | |
button.clicked.add(function():void { | |
trace("The button clicked."); | |
}); |
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
// AirLowMemoryWarningSuppressor.h | |
#import <UIKit/UIKit.h> | |
#import "FlashRuntimeExtensions.h" | |
@interface AirLowMemoryWarningSuppressor : NSObject <UIApplicationDelegate> | |
@end | |
// AirLowMemoryWarningSuppressor.m |