Skip to content

Instantly share code, notes, and snippets.

View cemtopkaya's full-sized avatar
🏠
Working from home

Cem Topkaya cemtopkaya

🏠
Working from home
View GitHub Profile
@cemtopkaya
cemtopkaya / MainActivity.java
Last active March 20, 2019 15:37
Android Spinner Adapter Örneği
package com.cemtopkaya.spinner_tutorial;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.Spinner;
import android.widget.Toast;
@cemtopkaya
cemtopkaya / ActivityName.java
Created April 8, 2019 14:32 — forked from gauravat16/ActivityName.java
[Android] Add Context Menu to RecyclerView
//Import Statements
public class ActivityName extends AppCompatActivity {
private RecyclerView mRecyclerView;
private RecyclerView.Adapter mAdapter;
private RecyclerView.LayoutManager mLayoutManager;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@cemtopkaya
cemtopkaya / 1. angular.json
Last active May 6, 2019 11:04
Projeyi application veya library oluşturmadan başlatmışsak angular.json dosyasında projects:{} boş olarak görünüyor.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {}
}
+-----------+--------------------+---------------+
| house | leader | seat |
+-----------+--------------------+---------------+
| Stark | Jon Snow | Winterfell |
| Lannister | Cersei Lannister | Kings Landing |
| Targaryen | Daenerys Targaryen | Dragonstone |
| Greyjoy | Pyke | Euron Greyjoy |
+-----------+--------------------+---------------+
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
.circle:hover {
/* calculate using: (2 * PI * R) */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
.circle:hover {
/* calculate using: (2 * PI * R) */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style>
</style>
</head>