(require 'package)
(setq package-archives
set nocompatible | |
filetype off | |
syntax on | |
filetype plugin indent on | |
set modelines=0 | |
set number | |
set ruler | |
set visualbell | |
set encoding=utf-8 | |
set formatoptions=tcqrn1 |
$.ajax({ | |
url: 'index.php?route=checkout/cart/add', | |
type: 'post', | |
data: $('.product-info input[type=\'text\'], .product-info input[type=\'hidden\'], .product-info input[type=\'radio\']:checked, .product-info input[type=\'checkbox\']:checked, .product-info select, .product-info textarea'), | |
dataType: 'json', | |
success: function(json) { | |
$('.success, .warning, .attention, information, .error').remove(); | |
if (json['error']) { |
class Restaurant { | |
private val customers = mutableListOf<Customer>() | |
private val menu = Menu() | |
fun addCustomer(customer: Customer) { | |
customers.add(customer) | |
} | |
fun removeCustomer(customer: Customer) { | |
customers.remove(customer) |
public class Restaurant { | |
private List<Customer> customers; | |
private Menu menu; | |
public Restaurant() { | |
customers = new ArrayList<>(); | |
menu = new Menu(); | |
} | |
public void addCustomer(Customer customer) { |
Choose archetype: | |
1: remote -> br.gov.frameworkdemoiselle.archetypes:demoiselle-jsf-jpa (Archetype for web applications (JSF + JPA) using Demoiselle Framework) | |
2: remote -> br.gov.frameworkdemoiselle.archetypes:demoiselle-minimal (Basic archetype for generic applications using Demoiselle Framework) | |
3: remote -> co.ntier:spring-mvc-archetype (An extremely simple Spring MVC archetype, configured with NO XML.) | |
4: remote -> com.agilejava.docbkx:docbkx-quickstart-archetype (-) | |
5: remote -> com.alibaba.citrus.sample:archetype-webx-quickstart (-) | |
6: remote -> com.bsb.common.vaadin:com.bsb.common.vaadin.embed-simple-archetype (-) | |
7: remote -> com.bsb.common.vaadin:com.bsb.common.vaadin7.embed-simple-archetype (-) | |
8: remote -> com.cedarsoft.open.archetype:multi (-) | |
9: remote -> com.cedarsoft.open.archetype:simple (-) |
import java.util.Scanner; | |
public class Time | |
{ | |
public static void main(String[] args) | |
{ | |
String kelime[]={"", "BIR","IKI","UC","DORT", | |
"BES","ALTI","YEDI","SEKIZ", | |
"DOKUZ","ON","ONBIR","ONIKI", | |
"ONUC","ONDORT","ONBES","ONALTI", |
<!DOCTYPE html> | |
<html> | |
<body> | |
<h2>What Can JavaScript Do?</h2> | |
<p id="demo">JavaScript can change HTML content.</p> | |
<button type="button" onclick='document.getElementById("demo").innerHTML = "Hello JavaScript!"'>Click Me!</button> |