Skip to content

Instantly share code, notes, and snippets.

View fatihgvn's full-sized avatar
🏠
Always work from home

Fatih Güven fatihgvn

🏠
Always work from home
View GitHub Profile
$Storage.set('lang','EN');
var lang = $Storage.get('lang');
$Storage.setJson('user',{
'username':'james bond',
'password':'cbdb7e2b1ed566ceb796af2df07205a3' //bond007
});
var user = $Storage.getJson('user');
@fatihgvn
fatihgvn / autoiframe.js
Created September 18, 2019 10:49
iframe auto resize from width
$(function() {
// auto size iframe
$('iframe[data-size]').each(function () {
var frame = $(this);
var size = frame.data('size').split('x');
var rate = size[0]/size[1];
frame.width(size[0]);
frame.height(frame.width()/rate);
<?php
/**
* uri ve file path yollarını combinler
* author: https://github.com/fatihgvn
* source: https://gist.github.com/fatihgvn/8cb5c3bd085c3a097fee0f2b4b005020
* date: 19.08.2019
*/
class Combine
{
0-mail.com
0815.ru
0845.ru
0clickemail.com
0wnd.net
0wnd.org
10mail.com
10mail.org
10minutemail.cf
10minutemail.co.za
var ajax = {};
ajax.x = function () {
if (typeof XMLHttpRequest !== 'undefined') {
return new XMLHttpRequest();
}
var versions = [
"MSXML2.XmlHttp.6.0",
"MSXML2.XmlHttp.5.0",
"MSXML2.XmlHttp.4.0",
"MSXML2.XmlHttp.3.0",