Language | Locale | FULL | LONG | MEDIUM | SHORT | MONTH_DAY | MONTH_DAY_BEST |
---|---|---|---|---|---|---|---|
Arabic | ar | الخميس، ٣٠ مارس ١٩٩٥ | ٣٠ مارس ١٩٩٥ | ٣٠/٠٣/١٩٩٥ | ٣٠/٣/١٩٩٥ | مارس٣٠ | ٣٠ مارس |
Bulgarian | bg | четвъртък, 30 март 1995 г. | 30 март 1995 г. | 30.03.1995 г. | 30.03.95 г. | март30 | 30 март |
Chinese | zh | 1995年3月30日星期四 | 1995年3月30日 | 1995年3月30日 | 1995/3/30 | 三月30 | 3月30日 |
Catalan | ca | dijous, 30 de març de 1995 | 30 de març de 1995 | 30 de març 1995 | 30/3/95 | de març30 | 30 de març |
Czech | cs | čtvrtek 30. března 1995 | 30. března 1995 | 30. 3. 1995 | 30.03.95 | března30 | 30. března |
Danish | da | torsdag den 30. marts 1995 | 30. marts 1995 | 30. mar. 1995 | 30/03/1995 | marts30 | 30. marts |
Dutch | nl | donderdag 30 maart 1995 | 30 maart 1995 | 30 mrt. 1995 | 30-03-95 | maart30 | 30 maart |
English | en | Thursday, March 30, 1995 | March 30, 1995 | Mar 30, 1995 | 3/30/95 | March30 | March 30 |
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
//******************************************************************** | |
// Account.java Author: Lewis/Loftus/Cocking | |
// | |
// Represents a bank account with basic services such as deposit | |
// and withdraw. | |
//******************************************************************** | |
import java.text.NumberFormat; | |
public class Account |
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
#!/bin/sh | |
# chmod a+x brew.sh | |
# https://computers.tutsplus.com/tutorials/perfect-configurations-with-homebrew-and-cask--cms-20768 | |
# brew packages | |
brew install git | |
brew install gradle | |
brew install openssl | |
brew install ruby |
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
This file seeks to explain what should and should not be backed up from the Library folder on your Mac to minimize the amount of data sent over the wire to your backup server. Some files in the Library folder are important to backup whereas others are not critical. | |
There are two general strategies for handling the Library folder: | |
1. Start with nothing (de-select the Library folder) and selectively add files/folders | |
2. Start with everything and de-select files/folders we do not want to back up | |
Regardless of strategy, here are some things that you SHOULD back up and things you SHOULD NOT back up. Note, the exclusion list includes folders outside the Library folder that should also not be backed up. | |
GOOD TO BACK 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
public class WebViewMeasuringActivity extends RelativeLayout { | |
public void loadHtml(String html) | |
WebView webView = (WebView) findViewById(R.id.web_view); | |
webView.getSettings().setJavaScriptEnabled(true); | |
webView.addJavascriptInterface(new WebViewResizer(), "WebViewResizer"); | |
webView.setWebViewClient(new WebViewClient() { | |
@Override | |
public void onPageFinished(WebView webView, String url) { | |
webView.loadUrl("javascript:window.WebViewResizer.processHeight(document.querySelector('body').offsetHeight);"); |
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
# Helper script that all Jenkins scripts can source in to get step/next/try error checking | |
# Source: https://stackoverflow.com/a/5196220 | |
# Use step(), try(), and next() to perform a series of commands and print | |
# [ OK ] or [FAILED] at the end. The step as a whole fails if any individual | |
# command fails. | |
# | |
# Example: | |
# step "Remounting / and /boot as read-write:" | |
# try mount -o remount,rw / |
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
<paths> | |
<cache-path name="debug" path="/"/> | |
</paths> |
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
<provider | |
android:name="android.support.v4.content.FileProvider" | |
android:authorities="gg.mark.provider" | |
android:exported="false" | |
android:grantUriPermissions="true"> | |
<meta-data | |
android:name="android.support.FILE_PROVIDER_PATHS" | |
android:resource="@xml/file_paths"/> | |
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
val attachmentUris = ArrayList<Uri>().apply { | |
add(FileProvider.getUriForFile(activity, "gg.mark.provider", File.createTempFile("gg", ".txt", context.cacheDir))) | |
add(FileProvider.getUriForFile(activity, "gg.mark.provider", File.createTempFile("hello", ".txt", context.cacheDir))) | |
} | |
val sendEmailIntent = Intent(Intent.ACTION_SEND_MULTIPLE).apply { | |
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) | |
type = "text/plain" |
NewerOlder