Skip to content

Instantly share code, notes, and snippets.

@ccprog
ccprog / law_2429.md
Last active November 12, 2020 13:58
This is a very inofficial translation of the turkish holiday law. Please do not cite, this is only for reference in the context of https://github.com/jurajmajer/enrico/pull/21

LAW ON NATIONAL HOLIDAYS AND GENERAL HOLIDAYS

Article 1 - October 29, when the Republic was proclaimed in 1923, is a National Day. Its name alone made it ceremonial today inside and outside of the State of Turkey. The holiday starts from 13:00 on October 28th and lasts through October 29th

Article 2 - The following official and religious holidays and New Year's Day, May 1 and July 15 are general holidays.(2)

A) Official holidays are as follows:

  1. (Amended: 20/4/1983 - 2818 art. 1) April 23 is the National Sovereignty and Children's Day.
  2. May 19 is the Commemoration of Atatürk and the Youth and Sports Day.
  3. August 30 is Victory Day.
@ccprog
ccprog / dev-badge-svgomg.svg
Created October 22, 2020 03:49
dev.io icon optimized with SVGOMG
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccprog
ccprog / dev-badge-a.svg
Created October 22, 2020 03:42
dev.io icon with my handish optimization
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccprog
ccprog / dev-badge.svg
Last active October 22, 2020 03:45
dev.io icon Original
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccprog
ccprog / reversal.js
Created September 2, 2020 14:16
add path direction reversal to pathfit
const Parser = require('./pathParser.js');
const Formatter = require('./formatter.js');
function parse (str) {
const sequence = [];
const parser = new Parser();
const splited = parser.commands(str);
if (splited.length && !splited[0].match(/m/i)) {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccprog
ccprog / hover.svg
Created August 30, 2017 19:07
a strange animation behavior
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ccprog
ccprog / render-assets.sh
Created September 7, 2016 20:04
Optimized asset script for Mint-Y-theme, GTK3 variant
#! /bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
SRC_FILE="assets.svg"
ASSETS_DIR="assets"
INDEX="assets.txt"
TEMP_INDEX="assets.tmp"
@ccprog
ccprog / SassMeister-input.scss
Created August 28, 2016 14:42
Generated by SassMeister.com.
// ----
// libsass (v3.3.6)
// ----
*:link {
&:visited {
*:selected & { color: red; }
}
}
@ccprog
ccprog / SassMeister-input.scss
Created August 28, 2016 14:37
Generated by SassMeister.com.
// ----
// Sass (v3.4.21)
// Compass (v1.0.3)
// ----
*:link {
&:visited {
*:selected & { color: red; }
}
}