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
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist | xargs -IFILE defaults write FILE DVTPlugInCompatibilityUUIDs -array-add A2E4D43F-41F4-4FB9-BB94-7177011C9AED |
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 "MovieViewController.h" | |
#import <MediaPlayer/MediaPlayer.h> | |
@interface MovieViewController () | |
@property (strong, nonatomic) MPMoviePlayerController *player; | |
@end | |
@implementation MovieViewController |
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 "MainViewController.h" | |
#import <AVFoundation/AVFoundation.h> | |
@interface MainViewController () | |
@property (strong, nonatomic) AVAudioPlayer *player; | |
@end | |
@implementation MainViewController |
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
String str = ",,,"; | |
String[] arrays = str.split(",", -1); | |
# arrays => ["", "", "", ""] | |
# arrays.length => 4 |
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
String str = ",,,"; | |
String[] arrays = str.split(","); | |
# arrays => [] | |
# arrays.length => 0 |
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
String str = ",,,"; | |
String[] arrays = str.split(",", -1) | |
# arrays => ["", "", "", "", ""] | |
# arrays.length => 4 |
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
DecimalFormat df = new DecimalFormat(); | |
df.setRoundingMode(RoundingMode.HALF_UP); |
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
<!DOCTYPE html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
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
<body onLoad="alert('hello');"> |
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
@echo off | |
<Bitnami Redmine Install Drive. If C was C:> | |
cd <Bitnami Redmine Install Path by htdocs> | |
<Bitnami mysql Install Path>mysqldump -u root -p<password> bitnami_redmine > backup.sql | |
net use <Share Files Server Path[=SFSP]> | |
copy config¥database.yml <SFSP> /Y |
OlderNewer