Skip to content

Instantly share code, notes, and snippets.

<html data-ng-app>
<head>
<script src="angular.js"></script>
</head>
<body>
<div>
<label>Nama:</label>
<input type="text" data-ng-model="nama">
<hr>
<h1>Hai {{nama}}</h1>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.blogspot.wh3lly.myapplication" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ff3421"
tools:context=".splash">
<TextView
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
/**
* Created by GreenGoblin on 9/15/2014.
*/
public class SplassActivity extends Activity{
@Override
public void onCreate(Bundle savedInstanceState) {
// array.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <conio.h>
#include <stdio.h>
#include <iostream>
#include <iomanip>
using namespace std;
#include "stdafx.h"
#include <conio.h>
#include <iostream>
#include <stdio.h>
using namespace std;
void main(){
float sisi, keliling;
// my first program in C++
#include <iostream>
int main()
{
std::cout << "Hello World!";
}
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Animation</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="zoom_In_Out">Zoom In/Out</string>
<string name="rotate_String">Clockwise/Anti Clockwise</string>
<string name="fade_String">Fade In/Out</string>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/rotate360"
android:orderInCategory="100"
android:showAsAction="never"
android:title="@string/rotate_String"/>
<item
android:id="@+id/zoomInOut"
android:orderInCategory="100"
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator" >
<alpha
android:fromAlpha="0"
android:toAlpha="1"
android:duration="2000" >
</alpha>