I hereby claim:
- I am flugsio on github.
- I am flugsio (https://keybase.io/flugsio) on keybase.
- I have a public key whose fingerprint is D055 0F8F B382 85D9 E3B2 F650 4E52 8C30 29E1 039B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
# Activate the gem you are reporting the issue against. |
mongo lichess --eval 'db.f_categ.insert({ | |
"_id": "lichess-feedback", | |
"name": "Lichess Feedback", | |
"desc": "Bug reports, feature requests, suggestions", | |
"pos": NumberInt(1), | |
"nbTopics": NumberInt(0), | |
"nbPosts": NumberInt(0), | |
"lastPostId": "00000000", | |
"nbTopicsTroll": NumberInt(0), | |
"nbPostsTroll": NumberInt(0), |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>title</title> | |
<style type="text/css"> | |
.cssContent::before { | |
content: 'textFromCssContent'; | |
} | |
</style> |
/** | |
* Returns true when the only non-king pieces that remain are bishops that cannot | |
* capture each other. | |
*/ | |
def bishopsOnDifferentColor(board: Board) = { | |
val notKingPieces = nonKingPieces(board) | |
def pieceSquareColorsFor(color: Color) = notKingPieces.filter(_._2.color == color).map(_._1.color) | |
notKingPieces.map(_._2.role).distinct match { | |
case List(Bishop) => { | |
(pieceSquareColorsFor(Color.White) intersect pieceSquareColorsFor(Color.Black)).isEmpty |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
<svg | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |