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
class Cls<T> { | |
blah-blah | |
} | |
class B { | |
public List<Cls<?>> list; | |
} |
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
eugeny@eugeny-desktop ~/workspace/Player (master) $ find src res|grep -P '(.java|.xml)'|sort|xargs wc -l | |
6 res/drawable/button.xml | |
4 res/drawable/ic_tab_albums.xml | |
4 res/drawable/ic_tab_artists.xml | |
5 res/drawable/ic_tab_folders.xml | |
5 res/drawable/ic_tab_genres.xml | |
4 res/drawable/ic_tab_playlists.xml | |
4 res/drawable/ic_tab_songs.xml | |
24 res/drawable/list_selector_background_np.xml | |
19 res/drawable/list_selector_background.xml |
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
<string name="pref_split">Split screen</string> | |
<string name="pref_split_desc">Requires restart</string> | |
<string-array name="pref_split_vals"> | |
<item>Never</item> | |
<item>In landscape</item> | |
<item>Always</item> | |
</string-array> | |
<string name="pref_import_playlists">Import playlists</string> | |
<string name="pref_import_playlists_desc">From default music player</string> |
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
private void showDialog() { | |
final AlertDialog dlg = new AlertDialog.Builder(this).setTitle( | |
R.string.pref_music_root).setMultiChoiceItems( | |
(String[]) mNames.toArray(new String[0]), mSelected, | |
new OnMultiChoiceClickListener() { | |
@Override | |
public void onClick(DialogInterface arg0, int arg1, boolean arg2) { | |
mSelected[arg1] = arg2; | |
} | |
}).setPositiveButton(android.R.string.ok, new OnClickListener() { |
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
< printf("Sign of first parner:%s\n",*signs[FirstPerson.sign]); | |
< printf("Sign of second parner:%s\n",*signs[SecondPerson.sign]); | |
--- | |
> printf("Sign of first parner:%s\n",signs[FirstPerson.sign-1]); | |
> printf("Sign of second parner:%s\n",signs[SecondPerson.sign-1]); | |
< int sign = 12, i = 0; | |
--- | |
> int i = 0; | |
< sign = i + 1; | |
< return sign; |
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
--- Horoscope1.cpp 2011-03-10 20:30:49.127143766 +0200 | |
+++ Horoscope.cpp 2011-03-10 20:31:11.627142105 +0200 | |
@@ -87,8 +87,8 @@ | |
{ | |
FirstPerson.sign = WhatSign(HowManyDays(FirstPerson.month, FirstPerson.day)); | |
SecondPerson.sign = WhatSign(HowManyDays(SecondPerson.month, SecondPerson.day)); | |
- printf("Sign of first parner:%s\n",*signs[FirstPerson.sign]); | |
- printf("Sign of second parner:%s\n",*signs[SecondPerson.sign]); | |
+ printf("Sign of first parner:%s\n",signs[FirstPerson.sign-1]); | |
+ printf("Sign of second parner:%s\n",signs[SecondPerson.sign-1]); |
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
>everythingWorks< calmchess what for is that printStackTrace? | |
>calmchess< e.printStackTrace will print the stack trace to logCat | |
error messages | |
google it for more detail | |
i don't know all the underlying stuff | |
i don't use it as much as Exception e | |
>mikedg< i'm good at it though | |
>calmchess< do you know how to use a try catch | |
>calmchess< try catch can save you hours of headache |
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
Index: WebContent/WEB-INF/jsp/create/forms/CertificateForm.jsp | |
=================================================================== | |
--- WebContent/WEB-INF/jsp/create/forms/CertificateForm.jsp (revision 580) | |
+++ WebContent/WEB-INF/jsp/create/forms/CertificateForm.jsp (working copy) | |
@@ -30,6 +30,10 @@ | |
dijit.byId('destinationField_${ns}').reset(); | |
dijit.byId('countSpin_${ns}').reset(); | |
}); | |
+ | |
+ function onCertificatePrinting() { |
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
<? | |
$menus = array( | |
"MAIN" => array( | |
array( | |
"icon" => "", | |
"text" => "", | |
"url" => "/" | |
), | |
array( | |
"icon" => "", |
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
All reader settings are user-specified. | |
Code scanning for the tags: | |
if (mReader.Running) | |
mReader.Stop(); | |
foreach (Tag t in mReader.Expose().QueryTags(1).Tags) // mReader is a wrapper over SpeedwayReader, Expose() returns the very SpeedwayReader instance | |
ProcessTag(t); // <-- t.SerializedTid == null! |