scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
| class MainActivity extends Activity { | |
| // mEntries in this case is just an ArrayList store | |
| private ArrayList<String> mEntries; | |
| // ... | |
| // Fetch method | |
| private void fetch(RequestQueue requestQueue) { | |
| JsonArrayRequest request = new JsonArrayRequest("http://example.com/feed.json", | |
| new Response.Listener<JSONArray>() { |
| <?xml version="1.0" encoding="utf-8"?><!-- | |
| ~ Copyright (C) 2015 The Android Open Source Project | |
| ~ | |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); | |
| ~ you may not use this file except in compliance with the License. | |
| ~ You may obtain a copy of the License at | |
| ~ | |
| ~ http://www.apache.org/licenses/LICENSE-2.0 | |
| ~ | |
| ~ Unless required by applicable law or agreed to in writing, software |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " Author: | |
| " Moonhead | |
| " | |
| " Version: | |
| " 1.0 - 01/20/2014 | |
| " 1.1 - 10/10/2014 | |
| " | |
| " Raw_Version: | |
| " http://pastebin.com/u/Moonhead |
| In Terminal cd to the root folder of the Framework project | |
| Archive for iOS | |
| xcodebuild archive \ | |
| -scheme FrameworkName \ | |
| -configuration Release \ | |
| -destination 'generic/platform=iOS' \ | |
| -archivePath './build/FrameworkName.framework-iphoneos.xcarchive' \ | |
| SKIP_INSTALL=NO \ |
scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
| # > GIT BRANCH TERMINAL | |
| function parse_git_branch() { | |
| local branch | |
| branch=$(git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/\1/p') | |
| [[ -n $branch ]] && echo "[$branch]" | |
| } | |
| # blink on/off | |
| BLINK_ON=$'%{\e[5m%}' |