This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always-semicolon": true, | |
"color-case": "lower", | |
"block-indent": "\t", | |
"color-shorthand": true, | |
"element-case": "lower", | |
"eof-newline": true, | |
"leading-zero": false, | |
"quotes": "double", | |
"sort-order-fallback": "abc", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Makes list of transitions in one property | |
* | |
* Example: | |
* transition: transitions((0: color, 1: opacity )); // returns transition:color .3s ease-in 0,opacity .3s ease-in 0 | |
*/ | |
@function transitions($properties: (0: all), $durations: (0: .3s), $timing-functions: (0: ease-in), $delays: (0: 0s)) { | |
$props: (( | |
'def': .3s, | |
'list': $durations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################## | |
# Wordpress Core files # | |
######################## | |
wp-admin/ | |
wp-content/backups/ | |
wp-content/blogs.dir/ | |
wp-content/languages/ | |
wp-content/index.php | |
wp-content/themes/index.php | |
wp-includes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ###################################################################### | |
# # MEDIA TYPES AND CHARACTER ENCODINGS # | |
# ###################################################################### | |
# ---------------------------------------------------------------------- | |
# | Media types | | |
# ---------------------------------------------------------------------- | |
# Serve resources with the proper media types (f.k.a. MIME types). | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"telegram-bot/api": "^2.2" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Changed PATH order, with §HOME/bin at the beginning, ahead of /usr/local/bin/ | |
PATH=$HOME/.local/bin:$HOME/bin:$PATH | |
export PATH | |
# Add n prefix | |
export N_PREFIX=$HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const start = 'ml' | |
const graph = { | |
ml: { | |
zp: 30, | |
dp: 120, | |
}, | |
zp: { | |
kv: 300, | |
dp: 70, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Written with best practices: | |
# - https://www.davidpashley.com/articles/writing-robust-shell-scripts/ | |
# - https://github.com/progrium/bashstyle | |
[[ "$TRACE" ]] && set -o xtrace # For debugging. Print command traces before executing command. | |
set -o errexit # Tells bash that it should exit the script if any statement returns a non-true return value | |
set -o nounset # Exit script if you try to use an uninitialised variable | |
set -o pipefail # false | true will be considered to have fail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Задача: | |
//- Дана строка 1 и символы A-Z и AA-ZZ, нам известно что A = 1, Z = 26, AA=27, ZZ =702 и т.д | |
//А вторая строка такая же но начинается с A=703. НУжно при вводе цифры вывести строку и символы для данной циры.. | |
function generate_row($prev_c = '', $nested = 0, $iter_nest = 1, $deep = 2) | |
{ | |
$str = ''; | |
++$nested; | |
for ($c = 65; $c < 91; $c++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class Container | |
*/ | |
class Container | |
{ | |
/** | |
* @var array | |
*/ |
OlderNewer