This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this is default: | |
xrandr --output LVDS1 --mode 1366x768 --scale 1x1 --panning 1366x768 | |
this is 20% higher: | |
xrandr --output LVDS1 --mode 1366x768 --scale 1.2x1.2 --panning 1639x922 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const object = { | |
"name": "blabla", | |
"surname": "blabla", | |
"age": 18, | |
"foo": "bar", | |
"date": new Date().toString() | |
}; | |
var updatedKeys = Object.keys(object); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace Common\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Request; | |
class FacebookWebhookMiddleware | |
{ | |
/** | |
* Verify the facebook callback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | |
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* It flattens multidimensional array to make arrays comparable | |
* then compares request with DB (usually) | |
* @param $request | |
* @param $toCompare | |
* @return array | |
* @example request: [["title" => "ABC"], ["title" => "DEF"]] | |
* toCompare: [["title" => "ABC"], ["title" => "XYZ"]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers; | |
use Exception; | |
use Illuminate\Http\JsonResponse; | |
use Illuminate\Support\Facades\DB; | |
use Illuminate\Support\Facades\Log; | |
use Illuminate\Support\Facades\Redis; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Ibrahim Dogan", | |
"email": "[email protected]", | |
"phone": "+90 507 7207028", | |
"summary": "I'm Ibrahim Dogan, a versatile software engineer based in Istanbul, Turkey. I have experience working with Trendyol eCommerce and Teknasyon, specializing in backend development, microservices, and various programming languages such as Java, C#, Golang, and PHP. I hold two bachelor's degrees from Istanbul Bilgi University in Computer Engineering and Business Administration. In my free time, I enjoy exploring IoT automation, smart home technologies, and outdoor activities.", | |
"location": { | |
"city": "Istanbul", | |
"countryCode": "TR" | |
} |