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
"use strict"; | |
angular.module('naut') | |
.factory('AuthAPI', ['ENV','ApiService',function(ENV,ApiService) { | |
return { | |
login:function(params){ | |
return ApiService.post(ENV.apiEndpoint+"/auth/login",params); | |
} | |
}]); |
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
Show hidden characters
{ | |
"space_around_exclamation_mark": true, | |
"passes":[], | |
"excludes": [ "*.blade.php" ], | |
"php55compat": true, | |
"php55warning": false, | |
"php56warning": false, | |
"enable_auto_align":false, | |
"indent_with_space":2, | |
"enable_auto_align":true, |
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
var favicons = require('favicons'); | |
favicons({ | |
files: { | |
src: "src/icon.png", // Path(s) for file to produce the favicons. `string` or `object` | |
dest: "favicon/", // Path for writing the favicons to. `string` | |
html: "favicon/index.html", // Path(s) for HTML file to write or append metadata. `string` or `array` | |
iconsPath: "images/favicon/", // Path for overriding default icons path. `string` | |
androidManifest: null, // Path for an existing android_chrome_manifest.json. `string` |
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
> gulp bower --gulpfile gulpfile.js | |
[15:37:26] Using gulpfile D:\workspace\goodarticle\goodarticle-web\gulp_developm | |
ent.js | |
[15:37:26] Starting 'bower'... | |
[15:37:26] Finished 'bower' after 22 ms |
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
gulp.task('bower', function () { | |
require('wiredep')({src:'app/index.html'}); | |
}); |
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 node | |
var fs = require('fs'); | |
var path = require('path'); | |
var rootdir = process.argv[2]; | |
var fileName = rootdir+'/platforms/ios/cordova/build.xcconfig' | |
process.stdout.write(rootdir); |
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 node | |
/** | |
* 사용법 | |
* buildlog.js ${WORKSPACE} ${JOB_NAME} ${BUILD_NUMBER} ${BUILD_ID} ${BUILD_URL} | |
*/ | |
var fs = require('fs'); | |
var path = require('path'); |
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
bash-3.2$ cat /usr/local/bin/zipalign | |
#!/bin/bash | |
TOOL="/usr/local/Cellar/android-sdk/24/build-tools/20/zipalign" | |
exec "$TOOL" "$@" |
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
bash-3.2$ zipalign -v 4 ./platforms/android/ant-build/CordovaApp-release-unsigned.apk Gess.apk | |
/usr/local/bin/zipalign: line 3: /usr/local/Cellar/android-sdk/24/build-tools/20.0.0/zipalign: No such file or directory | |
/usr/local/bin/zipalign: line 3: exec: /usr/local/Cellar/android-sdk/24/build-tools/20.0.0/zipalign: cannot execute: No such file or directory |
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
var ticons = require('ticons'); | |
var src = { | |
"icon":"src/icon.png", | |
"splash":"src/splash.png" | |
}; | |
function log(type,output){ |
NewerOlder