yaourt android-sdk-platform-tools
yaourt android-udev
yaourt android-sdk
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
| #!/usr/bin/env bash | |
| # Create OSX Installer ISO. | |
| # 2017 robertoschwald | |
| # https://gist.github.com/robertoschwald/7f9eadf78739128ea1fb7a32c0472e1c | |
| installer_path=/Applications/Install\ macOS\ High\ Sierra.app | |
| installer_mountpoint=/Volumes/Install\ macOS\ High\ Sierra | |
| echo "Creating Install ISO" |
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
| variables: | |
| CODECOV_TOKEN: "CODECOV_TOKEN_STRING" | |
| _R_CHECK_CRAN_INCOMING_: "false" | |
| _R_CHECK_FORCE_SUGGESTS_: "true" | |
| APT_PKGS: "libcurl4-openssl-dev libssh2-1-dev libssl-dev libxml2-dev zlib1g-dev git" | |
| before_script: | |
| - apt-get update | |
| - apt-get install -y --no-install-recommends ${APT_PKGS} | |
| - apt-get install -y --no-install-recommends qpdf pandoc pandoc-citeproc |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
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
| #!/bin/bash | |
| # Copyright © 2021 Chirag Bhatia | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
| # The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
| # THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOF |
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
| /* | |
| Call the api client like this: | |
| var client = new ApiClient<SEnvelope>("https://baseurl.com/api/v1"); | |
| //you would overload and add an auth_token param here | |
| client.GetDtoAsync("envelopes", "object_id", (response) => //callback | |
| { | |
| this.SEnvelope = response.Data;//should be an envelope from the server | |
| }); | |
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
| /** | |
| * Convert the ResultSet to a List of Maps, where each Map represents a row with columnNames and columValues | |
| * @param rs | |
| * @return | |
| * @throws SQLException | |
| */ | |
| private List<Map<String, Object>> resultSetToList(ResultSet rs) throws SQLException { | |
| ResultSetMetaData md = rs.getMetaData(); | |
| int columns = md.getColumnCount(); | |
| List<Map<String, Object>> rows = new ArrayList<Map<String, Object>>(); |