add website root directory
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 14 KiB |
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/assets/img/favicons/mstile-150x150.png" />
|
||||
<TileColor>#da532c</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,23 @@
|
|||
|
||||
|
||||
{
|
||||
"name": "Aliberk Sandıkçı",
|
||||
"short_name": "Aliberk Sandıkçı",
|
||||
"description": "Personal Website & Blog of Aliberk Sandıkçı",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/img/favicons/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/assets/img/favicons/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}],
|
||||
"start_url": "/index.html",
|
||||
"theme_color": "#2a1e6b",
|
||||
"background_color": "#ffffff",
|
||||
"display": "fullscreen"
|
||||
}
|
||||
|
After Width: | Height: | Size: 272 KiB |
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting…</title>
|
||||
<link rel="canonical" href="http://localhost:4000/404.html">
|
||||
<script>location="http://localhost:4000/404.html"</script>
|
||||
<meta http-equiv="refresh" content="0; url=http://localhost:4000/404.html">
|
||||
<meta name="robots" content="noindex">
|
||||
<h1>Redirecting…</h1>
|
||||
<a href="http://localhost:4000/404.html">Click here if you are not redirected.</a>
|
||||
</html>
|
|
@ -0,0 +1,42 @@
|
|||
const swconf = {
|
||||
|
||||
cacheName: 'chirpy-1713000696',resources: [
|
||||
'/assets/css/jekyll-theme-chirpy.css',
|
||||
'/',
|
||||
|
||||
'/about/',
|
||||
|
||||
'/now/',
|
||||
|
||||
'/categories/',
|
||||
|
||||
'/tags/',
|
||||
|
||||
'/archives/',
|
||||
|
||||
'/donate/',
|
||||
|
||||
|
||||
|
||||
|
||||
'/assets/js/dist/categories.min.js',
|
||||
'/assets/js/dist/commons.min.js',
|
||||
'/assets/js/dist/home.min.js',
|
||||
'/assets/js/dist/misc.min.js',
|
||||
'/assets/js/dist/page.min.js',
|
||||
'/assets/js/dist/post.min.js'
|
||||
],allowHosts: [
|
||||
|
||||
'fonts.googleapis.com',
|
||||
'fonts.gstatic.com',
|
||||
'fonts.googleapis.com',
|
||||
'cdn.jsdelivr.net',
|
||||
'cdnjs.cloudflare.com'
|
||||
|
||||
],denyPaths: [
|
||||
|
||||
],
|
||||
purge: false
|
||||
|
||||
};
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
if ('serviceWorker' in navigator) {
|
||||
const isEnabled = 'true' === 'true';
|
||||
|
||||
if (isEnabled) {
|
||||
const swUrl = '/sw.min.js';
|
||||
const $notification = $('#notification');
|
||||
const $btnRefresh = $('#notification .toast-body>button');
|
||||
|
||||
navigator.serviceWorker.register(swUrl).then((registration) => {
|
||||
|
||||
if (registration.waiting) {
|
||||
$notification.toast('show');
|
||||
}
|
||||
|
||||
registration.addEventListener('updatefound', () => {
|
||||
registration.installing.addEventListener('statechange', () => {
|
||||
if (registration.waiting) {
|
||||
if (navigator.serviceWorker.controller) {
|
||||
$notification.toast('show');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$btnRefresh.on('click', () => {
|
||||
if (registration.waiting) {
|
||||
registration.waiting.postMessage('SKIP_WAITING');
|
||||
}
|
||||
$notification.toast('hide');
|
||||
});
|
||||
});
|
||||
|
||||
let refreshing = false;
|
||||
|
||||
|
||||
navigator.serviceWorker.addEventListener('controllerchange', () => {
|
||||
if (!refreshing) {
|
||||
window.location.reload();
|
||||
refreshing = true;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
navigator.serviceWorker.getRegistrations().then(function (registrations) {
|
||||
for (let registration of registrations) {
|
||||
registration.unregister();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
/*!
|
||||
* Chirpy v6.5.5 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
||||
*/
|
||||
!function(){"use strict";const o=$(".mode-toggle");function s(o){var s=function(o,s){if("object"!=typeof o||!o)return o;var t=o[Symbol.toPrimitive];if(void 0!==t){var e=t.call(o,s||"default");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(o)}(o,"string");return"symbol"==typeof s?s:s+""}function t(o,t,e){return(t=s(t))in o?Object.defineProperty(o,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):o[t]=e,o}const e=$("body"),a="sidebar-display";class r{static toggle(){!1===r.isExpanded?e.attr(a,""):e.removeAttr(a),r.isExpanded=!r.isExpanded}}t(r,"isExpanded",!1);const l=$("#sidebar-trigger"),n=$("#search-trigger"),i=$("#search-cancel"),c=$("#main-wrapper>.container>.row"),f=$("#topbar-title"),d=$("search"),u=$("#search-result-wrapper"),p=$("#search-results"),b=$("#search-input"),m=$("#search-hints"),g=$("html,body"),C="loaded",v="unloaded",h="input-focus",w="d-flex";class y{static on(){y.offset=window.scrollY,g.scrollTop(0)}static off(){g.scrollTop(y.offset)}}t(y,"offset",0),t(y,"resultVisible",!1);class k{static on(){l.addClass(v),f.addClass(v),n.addClass(v),d.addClass(w),i.addClass(C)}static off(){i.removeClass(C),d.removeClass(w),l.removeClass(v),f.removeClass(v),n.removeClass(v)}}class T{static on(){y.resultVisible||(y.on(),u.removeClass(v),c.addClass(v),y.resultVisible=!0)}static off(){y.resultVisible&&(p.empty(),m.hasClass(v)&&m.removeClass(v),u.addClass(v),c.removeClass(v),y.off(),b.val(""),y.resultVisible=!1)}}function x(){return i.hasClass(C)}const E=$(".collapse");$(".code-header>button").children().attr("class"),function(){const o=$(window),s=$("#back-to-top");o.on("scroll",(()=>{o.scrollTop()>50?s.fadeIn():s.fadeOut()})),s.on("click",(()=>{o.scrollTop(0)}))}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((o=>new bootstrap.Tooltip(o))),0!==o.length&&o.off().on("click",(o=>{const s=$(o.target);let t=s.prop("tagName")==="button".toUpperCase()?s:s.parent();modeToggle.flipMode(),t.trigger("blur")})),$("#sidebar-trigger").on("click",r.toggle),$("#mask").on("click",r.toggle),n.on("click",(function(){k.on(),T.on(),b.trigger("focus")})),i.on("click",(function(){k.off(),T.off()})),b.on("focus",(function(){d.addClass(h)})),b.on("focusout",(function(){d.removeClass(h)})),b.on("input",(()=>{""===b.val()?x()?m.removeClass(v):T.off():(T.on(),x()&&m.addClass(v))})),E.on("hide.bs.collapse",(function(){const o="h_"+$(this).attr("id").substring(2);o&&($("#".concat(o," .far.fa-folder-open")).attr("class","far fa-folder fa-fw"),$("#".concat(o," i.fas")).addClass("rotate"),$("#".concat(o)).removeClass("hide-border-bottom"))})),E.on("show.bs.collapse",(function(){const o="h_"+$(this).attr("id").substring(2);o&&($("#".concat(o," .far.fa-folder")).attr("class","far fa-folder-open fa-fw"),$("#".concat(o," i.fas")).removeClass("rotate"),$("#".concat(o)).addClass("hide-border-bottom"))}))}();
|
|
@ -0,0 +1,4 @@
|
|||
/*!
|
||||
* Chirpy v6.5.5 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
||||
*/
|
||||
!function(){"use strict";const e=$(".mode-toggle");function s(e){var s=function(e,s){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var t=o.call(e,s||"default");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(e)}(e,"string");return"symbol"==typeof s?s:s+""}function o(e,o,t){return(o=s(o))in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const t=$("body"),r="sidebar-display";class a{static toggle(){!1===a.isExpanded?t.attr(r,""):t.removeAttr(r),a.isExpanded=!a.isExpanded}}o(a,"isExpanded",!1);const l=$("#sidebar-trigger"),i=$("#search-trigger"),n=$("#search-cancel"),c=$("#main-wrapper>.container>.row"),d=$("#topbar-title"),f=$("search"),u=$("#search-result-wrapper"),p=$("#search-results"),g=$("#search-input"),m=$("#search-hints"),b=$("html,body"),v="loaded",C="unloaded",h="input-focus",y="d-flex";class w{static on(){w.offset=window.scrollY,b.scrollTop(0)}static off(){b.scrollTop(w.offset)}}o(w,"offset",0),o(w,"resultVisible",!1);class k{static on(){l.addClass(C),d.addClass(C),i.addClass(C),f.addClass(y),n.addClass(v)}static off(){n.removeClass(v),f.removeClass(y),l.removeClass(C),d.removeClass(C),i.removeClass(C)}}class T{static on(){w.resultVisible||(w.on(),u.removeClass(C),c.addClass(C),w.resultVisible=!0)}static off(){w.resultVisible&&(p.empty(),m.hasClass(C)&&m.removeClass(C),u.addClass(C),c.removeClass(C),w.off(),g.val(""),w.resultVisible=!1)}}function x(){return n.hasClass(v)}!function(){const e=$(window),s=$("#back-to-top");e.on("scroll",(()=>{e.scrollTop()>50?s.fadeIn():s.fadeOut()})),s.on("click",(()=>{e.scrollTop(0)}))}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((e=>new bootstrap.Tooltip(e))),0!==e.length&&e.off().on("click",(e=>{const s=$(e.target);let o=s.prop("tagName")==="button".toUpperCase()?s:s.parent();modeToggle.flipMode(),o.trigger("blur")})),$("#sidebar-trigger").on("click",a.toggle),$("#mask").on("click",a.toggle),i.on("click",(function(){k.on(),T.on(),g.trigger("focus")})),n.on("click",(function(){k.off(),T.off()})),g.on("focus",(function(){f.addClass(h)})),g.on("focusout",(function(){f.removeClass(h)})),g.on("input",(()=>{""===g.val()?x()?m.removeClass(C):T.off():(T.on(),x()&&m.addClass(C))}))}();
|
|
@ -0,0 +1,4 @@
|
|||
/*!
|
||||
* Chirpy v6.5.5 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
||||
*/
|
||||
!function(){"use strict";const t=$(".mode-toggle");function e(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function a(t,a,s){return(a=e(a))in t?Object.defineProperty(t,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[a]=s,t}const s=$("body"),o="sidebar-display";class r{static toggle(){!1===r.isExpanded?s.attr(o,""):s.removeAttr(o),r.isExpanded=!r.isExpanded}}a(r,"isExpanded",!1);const i=$("#sidebar-trigger"),l=$("#search-trigger"),n=$("#search-cancel"),c=$("#main-wrapper>.container>.row"),d=$("#topbar-title"),u=$("search"),m=$("#search-result-wrapper"),f=$("#search-results"),p=$("#search-input"),g=$("#search-hints"),h=$("html,body"),b="loaded",v="unloaded",C="input-focus",y="d-flex";class w{static on(){w.offset=window.scrollY,h.scrollTop(0)}static off(){h.scrollTop(w.offset)}}a(w,"offset",0),a(w,"resultVisible",!1);class T{static on(){i.addClass(v),d.addClass(v),l.addClass(v),u.addClass(y),n.addClass(b)}static off(){n.removeClass(b),u.removeClass(y),i.removeClass(v),d.removeClass(v),l.removeClass(v)}}class k{static on(){w.resultVisible||(w.on(),m.removeClass(v),c.addClass(v),w.resultVisible=!0)}static off(){w.resultVisible&&(f.empty(),g.hasClass(v)&&g.removeClass(v),m.addClass(v),c.removeClass(v),w.off(),p.val(""),w.resultVisible=!1)}}function x(){return n.hasClass(b)}$(".collapse");$(".code-header>button").children().attr("class");const E="data-src",j="data-lqip",M={SHIMMER:"shimmer",BLUR:"blur"};function A(t){$(this).parent().removeClass(t)}function F(){this.complete&&(this.hasAttribute(j)?A.call(this,M.BLUR):A.call(this,M.SHIMMER))}function R(){const t=$(this),e=t.attr(E);t.attr("src",encodeURI(e)),t.removeAttr(E)}class S{static get attrTimestamp(){return"data-ts"}static get attrDateFormat(){return"data-df"}static get locale(){return $("html").attr("lang").substring(0,2)}static getTimestamp(t){return Number(t.attr(S.attrTimestamp))}static getDateFormat(t){return t.attr(S.attrDateFormat)}}!function(){const t=$(window),e=$("#back-to-top");t.on("scroll",(()=>{t.scrollTop()>50?e.fadeIn():e.fadeOut()})),e.on("click",(()=>{t.scrollTop(0)}))}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((t=>new bootstrap.Tooltip(t))),0!==t.length&&t.off().on("click",(t=>{const e=$(t.target);let a=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),a.trigger("blur")})),$("#sidebar-trigger").on("click",r.toggle),$("#mask").on("click",r.toggle),l.on("click",(function(){T.on(),k.on(),p.trigger("focus")})),n.on("click",(function(){T.off(),k.off()})),p.on("focus",(function(){u.addClass(C)})),p.on("focusout",(function(){u.removeClass(C)})),p.on("input",(()=>{""===p.val()?x()?g.removeClass(v):k.off():(k.on(),x()&&g.addClass(v))})),dayjs.locale(S.locale),dayjs.extend(window.dayjs_plugin_localizedFormat),$("[".concat(S.attrTimestamp,"]")).each((function(){const t=dayjs.unix(S.getTimestamp($(this))),e=t.format(S.getDateFormat($(this)));$(this).text(e),$(this).removeAttr(S.attrTimestamp),$(this).removeAttr(S.attrDateFormat);const a=$(this).attr("data-bs-toggle");if(void 0===a||"tooltip"!==a)return;const s=t.format("llll");$(this).attr("data-bs-title",s),new bootstrap.Tooltip($(this))})),function(){const t=$("article img");t.length&&t.on("load",F),$('article img[loading="lazy"]').each((function(){this.complete&&A.call(this,M.SHIMMER)}));const e=$("article img[".concat(j,'="true"]'));e.length&&e.each(R)}()}();
|
|
@ -0,0 +1,4 @@
|
|||
/*!
|
||||
* Chirpy v6.5.5 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
||||
*/
|
||||
!function(){"use strict";const t=$(".mode-toggle");function e(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function a(t,a,s){return(a=e(a))in t?Object.defineProperty(t,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[a]=s,t}const s=$("body"),o="sidebar-display";class r{static toggle(){!1===r.isExpanded?s.attr(o,""):s.removeAttr(o),r.isExpanded=!r.isExpanded}}a(r,"isExpanded",!1);const l=$("#sidebar-trigger"),i=$("#search-trigger"),n=$("#search-cancel"),c=$("#main-wrapper>.container>.row"),d=$("#topbar-title"),u=$("search"),f=$("#search-result-wrapper"),m=$("#search-results"),p=$("#search-input"),g=$("#search-hints"),b=$("html,body"),h="loaded",v="unloaded",C="input-focus",y="d-flex";class w{static on(){w.offset=window.scrollY,b.scrollTop(0)}static off(){b.scrollTop(w.offset)}}a(w,"offset",0),a(w,"resultVisible",!1);class T{static on(){l.addClass(v),d.addClass(v),i.addClass(v),u.addClass(y),n.addClass(h)}static off(){n.removeClass(h),u.removeClass(y),l.removeClass(v),d.removeClass(v),i.removeClass(v)}}class k{static on(){w.resultVisible||(w.on(),f.removeClass(v),c.addClass(v),w.resultVisible=!0)}static off(){w.resultVisible&&(m.empty(),g.hasClass(v)&&g.removeClass(v),f.addClass(v),c.removeClass(v),w.off(),p.val(""),w.resultVisible=!1)}}function x(){return n.hasClass(h)}$(".collapse");$(".code-header>button").children().attr("class");class j{static get attrTimestamp(){return"data-ts"}static get attrDateFormat(){return"data-df"}static get locale(){return $("html").attr("lang").substring(0,2)}static getTimestamp(t){return Number(t.attr(j.attrTimestamp))}static getDateFormat(t){return t.attr(j.attrDateFormat)}}!function(){const t=$(window),e=$("#back-to-top");t.on("scroll",(()=>{t.scrollTop()>50?e.fadeIn():e.fadeOut()})),e.on("click",(()=>{t.scrollTop(0)}))}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((t=>new bootstrap.Tooltip(t))),0!==t.length&&t.off().on("click",(t=>{const e=$(t.target);let a=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),a.trigger("blur")})),$("#sidebar-trigger").on("click",r.toggle),$("#mask").on("click",r.toggle),i.on("click",(function(){T.on(),k.on(),p.trigger("focus")})),n.on("click",(function(){T.off(),k.off()})),p.on("focus",(function(){u.addClass(C)})),p.on("focusout",(function(){u.removeClass(C)})),p.on("input",(()=>{""===p.val()?x()?g.removeClass(v):k.off():(k.on(),x()&&g.addClass(v))})),dayjs.locale(j.locale),dayjs.extend(window.dayjs_plugin_localizedFormat),$("[".concat(j.attrTimestamp,"]")).each((function(){const t=dayjs.unix(j.getTimestamp($(this))),e=t.format(j.getDateFormat($(this)));$(this).text(e),$(this).removeAttr(j.attrTimestamp),$(this).removeAttr(j.attrDateFormat);const a=$(this).attr("data-bs-toggle");if(void 0===a||"tooltip"!==a)return;const s=t.format("llll");$(this).attr("data-bs-title",s),new bootstrap.Tooltip($(this))}))}();
|
|
@ -0,0 +1,4 @@
|
|||
/*!
|
||||
* Chirpy v6.5.5 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
|
||||
*/
|
||||
!function(){"use strict";const t=$(".mode-toggle");function e(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var s=o.call(t,e||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function o(t,o,s){return(o=e(o))in t?Object.defineProperty(t,o,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[o]=s,t}const s=$("body"),a="sidebar-display";class n{static toggle(){!1===n.isExpanded?s.attr(a,""):s.removeAttr(a),n.isExpanded=!n.isExpanded}}o(n,"isExpanded",!1);const r=$("#sidebar-trigger"),i=$("#search-trigger"),l=$("#search-cancel"),c=$("#main-wrapper>.container>.row"),u=$("#topbar-title"),d=$("search"),f=$("#search-result-wrapper"),p=$("#search-results"),m=$("#search-input"),g=$("#search-hints"),h=$("html,body"),b="loaded",v="unloaded",C="input-focus",w="d-flex";class y{static on(){y.offset=window.scrollY,h.scrollTop(0)}static off(){h.scrollTop(y.offset)}}o(y,"offset",0),o(y,"resultVisible",!1);class k{static on(){r.addClass(v),u.addClass(v),i.addClass(v),d.addClass(w),l.addClass(b)}static off(){l.removeClass(b),d.removeClass(w),r.removeClass(v),u.removeClass(v),i.removeClass(v)}}class S{static on(){y.resultVisible||(y.on(),f.removeClass(v),c.addClass(v),y.resultVisible=!0)}static off(){y.resultVisible&&(p.empty(),g.hasClass(v)&&g.removeClass(v),f.addClass(v),c.removeClass(v),y.off(),m.val(""),y.resultVisible=!1)}}function T(){return l.hasClass(b)}$(".collapse");const E=".code-header>button",A="fas fa-check",x="timeout",M="data-title-succeed",R="data-bs-original-title",I=2e3;function V(t){if($(t)[0].hasAttribute(x)){let e=$(t).attr(x);if(Number(e)>Date.now())return!0}return!1}function q(t){$(t).attr(x,Date.now()+I)}function N(t){$(t).removeAttr(x)}const P=$(E).children().attr("class");const U="data-src",j="data-lqip",B={SHIMMER:"shimmer",BLUR:"blur"};function H(t){$(this).parent().removeClass(t)}function O(){this.complete&&(this.hasAttribute(j)?H.call(this,B.BLUR):H.call(this,B.SHIMMER))}function z(){const t=$(this),e=t.attr(U);t.attr("src",encodeURI(e)),t.removeAttr(U)}!function(){const t=$(window),e=$("#back-to-top");t.on("scroll",(()=>{t.scrollTop()>50?e.fadeIn():e.fadeOut()})),e.on("click",(()=>{t.scrollTop(0)}))}(),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map((t=>new bootstrap.Tooltip(t))),0!==t.length&&t.off().on("click",(t=>{const e=$(t.target);let o=e.prop("tagName")==="button".toUpperCase()?e:e.parent();modeToggle.flipMode(),o.trigger("blur")})),$("#sidebar-trigger").on("click",n.toggle),$("#mask").on("click",n.toggle),i.on("click",(function(){k.on(),S.on(),m.trigger("focus")})),l.on("click",(function(){k.off(),S.off()})),m.on("focus",(function(){d.addClass(C)})),m.on("focusout",(function(){d.removeClass(C)})),m.on("input",(()=>{""===m.val()?T()?g.removeClass(v):S.off():(S.on(),T()&&g.addClass(v))})),function(){const t=$("article img");t.length&&t.on("load",O),$('article img[loading="lazy"]').each((function(){this.complete&&H.call(this,B.SHIMMER)}));const e=$("article img[".concat(j,'="true"]'));e.length&&e.each(z)}(),$(".popup")<=0||$(".popup").magnificPopup({type:"image",closeOnContentClick:!0,showCloseBtn:!1,zoom:{enabled:!0,duration:300,easing:"ease-in-out"}}),function(){if($(E).length){const t=new ClipboardJS(E,{target:t=>t.parentNode.nextElementSibling.querySelector("code .rouge-code")});[...document.querySelectorAll(E)].map((t=>new bootstrap.Tooltip(t,{placement:"left"}))),t.on("success",(t=>{t.clearSelection();const e=t.trigger;V(e)||(!function(t){$(t).children().attr("class",A)}(e),function(t){const e=$(t).attr(M);$(t).attr(R,e).tooltip("show")}(e),q(e),setTimeout((()=>{!function(t){$(t).tooltip("hide").removeAttr(R)}(e),function(t){$(t).children().attr("class",P)}(e),N(e)}),I))}))}const t=$("#copy-link");t.on("click",(t=>{let e=$(t.target);V(e)||navigator.clipboard.writeText(window.location.href).then((()=>{const t=e.attr(R),o=e.attr(M);e.attr(R,o).tooltip("show"),q(e),setTimeout((()=>{e.attr(R,t),N(e)}),I)}))})),t.on("mouseleave",(function(t){$(t.target).tooltip("hide")}))}()}();
|
|
@ -0,0 +1,16 @@
|
|||
async function addToClipboard(id) {
|
||||
var copyText = document.getElementById(id);
|
||||
navigator.clipboard.writeText(copyText.innerHTML);
|
||||
|
||||
var copyButton = document.getElementById(id+"-button");
|
||||
copyButton.setAttribute("aria-label", "Copied!");
|
||||
copyButton.setAttribute("data-balloon-pos", "up");
|
||||
copyButton.setAttribute("data-balloon-visible", "1");
|
||||
|
||||
// hide message after 2s
|
||||
setTimeout(() => {
|
||||
copyButton.removeAttribute("aria-label");
|
||||
copyButton.removeAttribute("data-balloon-pos");
|
||||
copyButton.removeAttribute("data-balloon-visible");
|
||||
}, 2000);
|
||||
}
|
|
@ -0,0 +1,177 @@
|
|||
|
||||
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<id>http://localhost:4000/</id>
|
||||
<title>Aliberk Sandıkçı</title>
|
||||
<subtitle>Personal Website & Blog of Aliberk Sandıkçı</subtitle>
|
||||
<updated>2024-04-13T12:31:35+03:00</updated>
|
||||
<author>
|
||||
<name>Aliberk Sandıkçı</name>
|
||||
<uri>http://localhost:4000/</uri>
|
||||
</author>
|
||||
<link rel="self" type="application/atom+xml" href="http://localhost:4000/feed.xml"/>
|
||||
<link rel="alternate" type="text/html" hreflang="en"
|
||||
href="http://localhost:4000/"/>
|
||||
<generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator>
|
||||
<rights> © 2024 Aliberk Sandıkçı </rights>
|
||||
<icon>/assets/img/favicons/favicon.ico</icon>
|
||||
<logo>/assets/img/favicons/favicon-96x96.png</logo>
|
||||
|
||||
|
||||
|
||||
<entry>
|
||||
<title>Android Cihazlar için Açık Kaynak / Özgür Yazılım Uygulama Alternatifleri</title>
|
||||
<link href="http://localhost:4000/posts/android-foss-apps/" rel="alternate" type="text/html" title="Android Cihazlar için Açık Kaynak / Özgür Yazılım Uygulama Alternatifleri" />
|
||||
<published>2023-11-21T18:00:00+03:00</published>
|
||||
|
||||
<updated>2023-11-21T18:00:00+03:00</updated>
|
||||
|
||||
<id>http://localhost:4000/posts/android-foss-apps/</id>
|
||||
<content src="http://localhost:4000/posts/android-foss-apps/" />
|
||||
<author>
|
||||
<name>asandikci</name>
|
||||
</author>
|
||||
|
||||
|
||||
|
||||
<category term="Android" />
|
||||
|
||||
|
||||
|
||||
|
||||
<summary>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Günümüzde gizlilik ve güvenlik en önemli konulardan biri. Bunu sağlamanın en garanti yollarında biri ise kullandığımız uygulamaların açık kaynak olmasına dikkat etmek. Bu tarz uygulamaların kaynak kodu herkese açık bir şekilde görüntülenebildiği için hem güvenlik yamaları daha hızlı bir şekilde gelmekte hem de gizlilik ile ilgili kafamızda bir soru işareti oluşmamakta. Dolayısı ile bu uygulama...
|
||||
</summary>
|
||||
|
||||
|
||||
</entry>
|
||||
|
||||
|
||||
<entry>
|
||||
<title>Linux / Pardus / Debian üzerinde Epson Yazıcı Kullanma</title>
|
||||
<link href="http://localhost:4000/posts/linux-epson-yazici/" rel="alternate" type="text/html" title="Linux / Pardus / Debian üzerinde Epson Yazıcı Kullanma" />
|
||||
<published>2023-09-15T18:00:00+03:00</published>
|
||||
|
||||
<updated>2023-09-15T18:00:00+03:00</updated>
|
||||
|
||||
<id>http://localhost:4000/posts/linux-epson-yazici/</id>
|
||||
<content src="http://localhost:4000/posts/linux-epson-yazici/" />
|
||||
<author>
|
||||
<name>asandikci</name>
|
||||
</author>
|
||||
|
||||
|
||||
|
||||
<category term="Linux" />
|
||||
|
||||
<category term="Troubleshooting" />
|
||||
|
||||
|
||||
|
||||
|
||||
<summary>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Merhabalar evimde 1 Arch, 1 Pardus bilgisayarı olan biri olarak Epson yazıcı kullanmak ilk başlarda benim için bir işkenceydi. Ancak araştırmalarım neticesinde şu anda rahat bir şekilde Epson yazıcımı kullanabiliyor ve gerekli bakım işlemlerini yapabiliyorum.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Öncelikle bu blog yazısında anlatacağım tüm işlemleri L382 model bir Epson yazıcıda ve Pardus XFCE 21.4 ve 21.5 sürümlerinde dene...
|
||||
</summary>
|
||||
|
||||
|
||||
</entry>
|
||||
|
||||
|
||||
<entry>
|
||||
<title>Teknofest Pardus 21 Hata Yakalama ve Öneri Yarışması Deneyimlerim</title>
|
||||
<link href="http://localhost:4000/posts/teknofest-deneyimlerim/" rel="alternate" type="text/html" title="Teknofest Pardus 21 Hata Yakalama ve Öneri Yarışması Deneyimlerim" />
|
||||
<published>2023-06-15T18:00:00+03:00</published>
|
||||
|
||||
<updated>2023-06-15T18:00:00+03:00</updated>
|
||||
|
||||
<id>http://localhost:4000/posts/teknofest-deneyimlerim/</id>
|
||||
<content src="http://localhost:4000/posts/teknofest-deneyimlerim/" />
|
||||
<author>
|
||||
<name>asandikci</name>
|
||||
</author>
|
||||
|
||||
|
||||
|
||||
<category term="Competitions" />
|
||||
|
||||
|
||||
|
||||
|
||||
<summary>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Merhabalar, ben Teknofest 2023 Pardus 21 Hata Yakalama ve Öneri Yarışması finalisti Aliberk. Bu yazı içerisinde sizlere milli imkanlarla geliştirilen işletim sistemimiz Pardus üzerinde yakalamış olduğum hatalardan, yaptığım önerilerden ve genel olarak süreçten bahsetmek istiyorum.
|
||||
|
||||
|
||||
|
||||
Yaklaşık 2 yıldır GNU/Linux işletim sistemleri kullanmaktayım. Bu sebepten Teknofest içerisinde düzenlenen Pard...
|
||||
</summary>
|
||||
|
||||
|
||||
</entry>
|
||||
|
||||
|
||||
<entry>
|
||||
<title>Pardus Ekibinden Ali Rıza ile Röportaj</title>
|
||||
<link href="http://localhost:4000/posts/pardus-roportaj/" rel="alternate" type="text/html" title="Pardus Ekibinden Ali Rıza ile Röportaj" />
|
||||
<published>2023-02-14T18:00:00+03:00</published>
|
||||
|
||||
<updated>2023-02-14T18:00:00+03:00</updated>
|
||||
|
||||
<id>http://localhost:4000/posts/pardus-roportaj/</id>
|
||||
<content src="http://localhost:4000/posts/pardus-roportaj/" />
|
||||
<author>
|
||||
<name>asandikci</name>
|
||||
</author>
|
||||
|
||||
|
||||
|
||||
<category term="Reportages" />
|
||||
|
||||
|
||||
|
||||
|
||||
<summary>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Ankara'da düzenlenen 5. Verimlilik ve Teknoloji Fuarı kapsamında birçok stand ve etkinliğin yanında Pardus standı da vardı. Ben de hazır Ankara'da iken hem Pardus ekibi ile konuşmak hem de fuarı gezmek için alana gittim. Ekip ile tanıştıktan sonraki gün hazır ekibi yerinde bulmuşken neden bir röportaj yapmayayım dedim. Soruları hazırlamak için Yusuf İpek'in Discord kanalındanki değerli arkadaş...
|
||||
</summary>
|
||||
|
||||
|
||||
</entry>
|
||||
|
||||
</feed>
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting…</title>
|
||||
<link rel="canonical" href="http://localhost:4000/404.html">
|
||||
<script>location="http://localhost:4000/404.html"</script>
|
||||
<meta http-equiv="refresh" content="0; url=http://localhost:4000/404.html">
|
||||
<meta name="robots" content="noindex">
|
||||
<h1>Redirecting…</h1>
|
||||
<a href="http://localhost:4000/404.html">Click here if you are not redirected.</a>
|
||||
</html>
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<meta charset="utf-8">
|
||||
<title>Redirecting…</title>
|
||||
<link rel="canonical" href="http://localhost:4000/404.html">
|
||||
<script>location="http://localhost:4000/404.html"</script>
|
||||
<meta http-equiv="refresh" content="0; url=http://localhost:4000/404.html">
|
||||
<meta name="robots" content="noindex">
|
||||
<h1>Redirecting…</h1>
|
||||
<a href="http://localhost:4000/404.html">Click here if you are not redirected.</a>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
{"/norobots/":"http://localhost:4000/404.html","/assets/":"http://localhost:4000/404.html","/posts/":"http://localhost:4000/404.html"}
|
|
@ -0,0 +1,5 @@
|
|||
User-agent: *
|
||||
|
||||
Disallow: /norobots/
|
||||
|
||||
Sitemap: http://localhost:4000/sitemap.xml
|
|
@ -0,0 +1,97 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>http://localhost:4000/posts/pardus-roportaj/</loc>
|
||||
<lastmod>2023-02-14T18:00:00+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/posts/teknofest-deneyimlerim/</loc>
|
||||
<lastmod>2023-06-15T18:00:00+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/posts/linux-epson-yazici/</loc>
|
||||
<lastmod>2023-09-15T18:00:00+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/posts/android-foss-apps/</loc>
|
||||
<lastmod>2023-11-21T18:00:00+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/about/</loc>
|
||||
<lastmod>2024-04-13T12:31:35+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/now/</loc>
|
||||
<lastmod>2024-04-13T12:31:35+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/categories/</loc>
|
||||
<lastmod>2024-04-13T12:31:35+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/</loc>
|
||||
<lastmod>2024-04-13T12:31:35+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/archives/</loc>
|
||||
<lastmod>2024-04-13T12:31:35+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/donate/</loc>
|
||||
<lastmod>2024-04-13T12:31:35+03:00</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/linux/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/pardus/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/tubitak/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/duzenlenecek/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/teknofest/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/liderahenk/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/epson/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/printer/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/arch/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/debian/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/app-recommendations/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/tags/foss/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/categories/reportages/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/categories/competitions/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/categories/linux/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/categories/troubleshooting/</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://localhost:4000/categories/android/</loc>
|
||||
</url>
|
||||
</urlset>
|
|
@ -0,0 +1,96 @@
|
|||
const swconfUrl = '/assets/js/data/swconf.js';
|
||||
|
||||
importScripts(swconfUrl);
|
||||
const purge = swconf.purge;
|
||||
|
||||
function verifyHost(url) {
|
||||
for (const host of swconf.allowHosts) {
|
||||
const regex = RegExp(`^http(s)?://${host}/`);
|
||||
if (regex.test(url)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function verifyUrl(url) {
|
||||
if (!verifyHost(url)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const requestPath = new URL(url).pathname;
|
||||
|
||||
for (const path of swconf.denyPaths) {
|
||||
if (requestPath.startsWith(path)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!purge) {
|
||||
swconf.allowHosts.push(location.host);
|
||||
}
|
||||
|
||||
self.addEventListener('install', (event) => {
|
||||
if (purge) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.waitUntil(
|
||||
caches.open(swconf.cacheName).then((cache) => {
|
||||
return cache.addAll(swconf.resources);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('activate', (event) => {
|
||||
event.waitUntil(
|
||||
caches.keys().then((keyList) => {
|
||||
return Promise.all(
|
||||
keyList.map((key) => {
|
||||
if (purge) {
|
||||
return caches.delete(key);
|
||||
} else {
|
||||
if (key !== swconf.cacheName) {
|
||||
return caches.delete(key);
|
||||
}
|
||||
}
|
||||
})
|
||||
);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('message', (event) => {
|
||||
if (event.data === 'SKIP_WAITING') {
|
||||
self.skipWaiting();
|
||||
}
|
||||
});
|
||||
|
||||
self.addEventListener('fetch', (event) => {
|
||||
event.respondWith(
|
||||
caches.match(event.request).then((response) => {
|
||||
if (response) {
|
||||
return response;
|
||||
}
|
||||
|
||||
return fetch(event.request).then((response) => {
|
||||
const url = event.request.url;
|
||||
|
||||
if (purge || event.request.method !== 'GET' || !verifyUrl(url)) {
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
let responseToCache = response.clone();
|
||||
|
||||
caches.open(swconf.cacheName).then((cache) => {
|
||||
cache.put(event.request, responseToCache);
|
||||
});
|
||||
return response;
|
||||
});
|
||||
})
|
||||
);
|
||||
});
|
||||
|