Search found 111 matches

by dendiz
Thu Mar 21, 2019 9:21 pm
Forum: Programming
Topic: gitea migration
Replies: 0
Views: 52

gitea migration

this is the second time I had to migrate my gitea installation to another server. I had the same issues with the git hooks not working and my pushes being rejected because of this. The issue is that the configuration file for the hooks in the directory /data/gitea/git/repositories/<user>/<repo>/hook...
by dendiz
Thu Mar 21, 2019 8:43 pm
Forum: Chess
Topic: Some notable online games
Replies: 6
Views: 432

Re: Some notable online games

etmel cuf bir mat daha.. bilerek olmadi ama olsun

https://www.chess.com/live/game/3553601461
board.jpeg
by dendiz
Mon Mar 11, 2019 8:03 am
Forum: Chess
Topic: Some notable online games
Replies: 6
Views: 432

Re: Some notable online games

Yet another cool checkmate from a double check.

https://www.chess.com/live/game/3525260734
by dendiz
Sat Feb 23, 2019 8:23 am
Forum: Chess
Topic: Some notable online games
Replies: 6
Views: 432

Re: Some notable online games

A great checkmate
dynboard (5).png
by dendiz
Tue Feb 19, 2019 5:48 am
Forum: Chess
Topic: Some notable online games
Replies: 6
Views: 432

Re: Some notable online games

https://www.chess.com/live/game/3471416832

A different type of smothered mate
dynboard (4).png
by dendiz
Thu Feb 14, 2019 11:02 pm
Forum: Programming
Topic: Generating Solr Queries
Replies: 0
Views: 69

Generating Solr Queries

an interesting problem that I came across while working with n11 was this: Some users search by substituting umlaut letters for their plain versions. E.g. instead of "önlük" they will search for "onluk" or "onlük" or even "önluk" or any other combination. Since the titles of the products only (usual...
by dendiz
Tue Feb 12, 2019 6:35 am
Forum: Chess
Topic: Some notable online games
Replies: 6
Views: 432

Re: Some notable online games

https://www.chess.com/live/game/3452592383

A game where I lost no pawns (queen was promoted from a pawn)
dynboard (3).png
by dendiz
Tue Feb 12, 2019 5:01 am
Forum: Programming
Topic: Leetcode 77. Combinations
Replies: 0
Views: 72

Leetcode 77. Combinations

Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Input: n = 4, k = 2 Output: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ] image_1548886059.png (this image was made by someone on the leetcode discussion forums) class Solution { public List<List<Integer>> com...
by dendiz
Mon Feb 11, 2019 11:07 pm
Forum: Programming
Topic: Leetcode 52. N - Queens problem
Replies: 0
Views: 61

Leetcode 52. N - Queens problem

The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. 8-queens.png Given an integer n, return the number of distinct solutions to the n-queens puzzle. This is a classical backtracking exhaustive search problem. There no shortcuts, you...
by dendiz
Mon Feb 04, 2019 11:56 pm
Forum: Programming
Topic: Leetcode 34. First and last position of element in sorted array
Replies: 0
Views: 72

Leetcode 34. First and last position of element in sorted array

Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found in the array, return [-1, -1]. Example 1: Input: nums = [5,7,7,8,8,10], target =...