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
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/widgets.dart'; | |
// TODO(dragostis): Missing functionality: | |
// * mobile horizontal mode with adding/removing steps | |
// * alternative labeling |
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
// Copyright 2014 The Flutter Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/widgets.dart'; | |
// TODO(dragostis): Missing functionality: | |
// * mobile horizontal mode with adding/removing steps | |
// * alternative labeling |
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
### Watching | |
1. Nagato Yuki-chan no Shōshitsu | |
2. Nisekoi 2 | |
3. Ore Monogatari | |
4. Shokugeki no Soma | |
5. Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka | |
6. Punch Line | |
7. Yamada-kun and the Seven Witches | |
8. Houkago no Pleiades |
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
https://www.google.com.ph/search?q=android+setNavigationMode+deprecated | |
// ActionBar.setNavigationMode is deprecated | |
https://developer.android.com/training/material/lists-cards.html | |
http://www.binpress.com/tutorial/android-l-recyclerview-and-cardview-tutorial/156 | |
// RecyclerView and CardView | |
http://javatechig.com/android/listview-with-section-header-in-android | |
// ListView with section header |
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
/** | |
* Returns a Bitmap object with a circle crop effect. | |
* This can be used in an ImageView and it must use | |
* "centerCrop" on its scaleType to achieve desired output. | |
* <p> | |
* Reference: {@link} http://stackoverflow.com/a/14051472/2497859 | |
* | |
* @param bitmap The bitmap that we're going to "circle crop" | |
* @return Bitmap with a circle crop overlay | |
* @see android.graphics.Bitmap |
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
/** | |
* Sort a 2d array | |
* | |
* @author Omatt | |
* @version 2015/02/22 | |
*/ | |
public class Sort{ | |
private static final int maxRow = 5, maxCol = 5; | |
private static String cube[][] = new String[maxRow][maxCol]; | |
public static void main(String[] args){ |
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
public class InfosLegalesActivity extends BaseDrawerNormalActivity { | |
private FragmentTabHost mTabHost; | |
private static TextView txtTitleInfosLegales; | |
@Override | |
protected int getLayoutContentId() { | |
return R.layout.layout_infoslegales; | |
} | |
@Override |
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
$ git config --global user.name <Name Here> | |
$ git config --global user.email <Email Address> | |
// Set-up name and email address to be used | |
$ git init | |
// Initialize git on current dir/folder | |
$ git add <file> | |
// You can add files one-by-one or all of them with asterisk (*) | |
// Include the file extension of the files |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<head> | |
<title>Seatwork</title> | |
<script type="text/javascript"> | |
function valForm(){ | |
if(document.myForm.firstName.value==""){ | |
if(document.myForm.firstName.value==""){ | |
document.getElementById("fName").innerHTML = "this is required"; | |
} |
NewerOlder