Skip to content

Instantly share code, notes, and snippets.

Koruyucu mezar taşına ulaşmak ne kadar sürer?
KORUYUCU MEZAR TAŞI KÖYÜN YAKINLARINDA, BU YÜZDEN ORAYA VARMAK UZUN SÜRMEZ.
Bu arada, köydeki atmosfer biraz....
İnsanların ifadeleri de biraz tuhaf görünüyor.
SENİ UTANMAZ PİÇ! NASIL BAŞIN DİK DOLAŞABİLİYORSUN?!
@probonopd
probonopd / Wayland.md
Last active May 6, 2024 06:02
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.

Wayland proponents make it seem like Wayland is "the successor" of Xorg, when in fact it is not. It is merely an incompatible alternative, and not even one that has (nor wants to have) feature parity (missing features). And unlike X11 (the X Window System), Wayland protocol designers actively avoid the concept of "windows" (making up incompr

@CannibalVox
CannibalVox / Results
Created September 8, 2019 01:10
NLua vs. MoonSharp
fib(35) NLua - 00:00:01.0882426
fib(35) MoonSharp - 00:00:13.2349632
fib(15)x10k NLua - 00:00:00.7859748
fib(15)x10k MoonSharp - 00:00:08.7014046
fib(15)x10k+Binding NLua - 00:00:21.9166036
fib(15)x10k+Binding MoonSharp - 00:00:14.6797089
@srimalonline
srimalonline / TodoDAO.java
Last active May 6, 2024 05:58
j2ee-todo-mav-dao
package dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import model.Todo;
@kankikuchi
kankikuchi / AddressDuplicateDetecter.cs
Last active May 6, 2024 05:57
Addressable Assetsのアドレスの重複を検知する【Unity】【Addressable Assets】
// AddressDuplicateDetecter.cs
// http://kan-kikuchi.hatenablog.com/entry/AddressDuplicateDetecter
//
// Created by kan.kikuchi on 2019.09.16.
using System.IO;
using System.Linq;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.AddressableAssets.Settings;
@fomvasss
fomvasss / REST API.md
Last active May 6, 2024 05:52
Best practices Laravel Rest API

Best practices написание REST-API

  • Имена полей в ответе задавать в snake_case (prr_page, created_at, system_name,...)
  • Для времени использовать ISO 8601 (формат: YYYY-MM-DDTHH:MM:SSZ)
  • Отдавать данные (сам контент, поля сущностей, массивы сущностей), помещая их в data

Использование REST методов и примеры url'ов

  • GET: /api/users — получить список пользователей;
  • GET: /api/users/123 — получить указанного пользователя;
  • POST: /api/users — создать нового пользователя;
require "json"
require "faraday"
# Configure before using or execute this code as-is
# and get a 401
module Configuration
class << self
attr_accessor :organization_id, :api_key
end
end
@diasporx
diasporx / JetBrains products Activation code until 14 October 2024
Last active May 6, 2024 05:50
JetBrains products Activation code until 14 October 2024
I2A0QUY8VU-eyJsaWNlbnNlSWQiOiJJMkEwUVVZOFZVIiwibGljZW5zZWVOYW1lIjoiVU5JVkVSU0lEQURFIEVTVEFEVUFMIERFIENBTVBJTkFTIiwiYXNzaWduZWVOYW1lIjoiVGFvYmFv77yaSkVU5YWo5a625qG25r+AIOa0u+W3peS9nOWupCAgcmVuIHpodW4gZGlhbiBtaW5n77yBIiwiYXNzaWduZWVFbWFpbCI6IlJvYmJ5X1dlbmlnZXJAb3V0bG9vay5jb20iLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IkRQTiIsInBhaWRVcFRvIjoiMjAyNC0xMC0xNCIsImV4dGVuZGVkIjpmYWxzZX0seyJjb2RlIjoiREIiLCJwYWlkVXBUbyI6IjIwMjQtMTAtMTQiLCJleHRlbmRlZCI6ZmFsc2V9LHsiY29kZSI6IlB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