Skip to content

Instantly share code, notes, and snippets.

View lambdacoresw's full-sized avatar
💭
working...

ISMAIL YESILYURT lambdacoresw

💭
working...
  • BLACK MESA RESEARCH FACILITY
  • Turkey
  • 03:29 (UTC +03:00)
View GitHub Profile

Emacs Config

Package

(require 'package)

Package Mirrors

(setq package-archives
@lambdacoresw
lambdacoresw / .vimrc
Created August 16, 2025 20:43
my basic vimrc
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) {
@lambdacoresw
lambdacoresw / maven-archetype.list
Created June 23, 2018 15:08 — forked from zbigniewTomczak/maven-archetype.list
Maven archetypes list (mvn archetype:generate)
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 (-)
@lambdacoresw
lambdacoresw / Time.java
Last active November 14, 2017 10:19
show time in words...
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>