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
var gulp = require('gulp'); | |
var minifyCss = require('gulp-minify-css'); | |
var gulpConcat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var notify = require('gulp-notify'); | |
var cssFiles = [ | |
'public_html/res/css/bootstrap.css', | |
'public_html/res/css/datetimepicker.css', | |
'public_html/res/css/datepicker.css', |
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 gutil = require('gulp-util'); | |
const ftp = require( 'vinyl-ftp' ); | |
const sftp = require('gulp-sftp'); | |
// task for deploying files on the server | |
gulp.task('deploy', function() { | |
const config = require('./sftp-config.json'); | |
const globs = [ | |
'folder/file', |
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
# @author Avtandil Kikabidze | |
# @copyright Copyright (c) 2008-2016, Avtandil Kikabidze aka LONGMAN (akalongman@gmail.com) | |
# @link http://longman.me | |
# @license The MIT License (MIT) | |
import sublime | |
import sublime_plugin | |
import Git.git | |
import functools |
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 | |
# Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com> | |
PATH=$PATH:./node_modules/.bin | |
VERSION="1.1" | |
COLOR_RED=`tput setaf 1` | |
COLOR_GREEN=`tput setaf 2` | |
COLOR_BROWN=`tput setaf 3` | |
COLOR_RESET=`tput sgr0` |
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
/* Userstyle for Gitlab.com. Created by: 2E0PGS */ | |
/* Repository: https://bitbucket.org/2E0PGS/userstyles/overview */ | |
/* Licence: GNU v3 */ | |
/* Userstyle URL: todo /* | |
/* Version 1.0.7 01/02/2017 18:33*/ | |
/* I suggest you set your Syntax Highlighting Theme to "Dark" under your /profile/preferences Page.*/ | |
body, h1, h2, h3, h4, h5, h6, .wiki h1, .wiki h2, .wiki h3, .wiki h4, .wiki p, .wiki, .md-page, .blog-entry h1, .blog-entry h2, .blog-entry h3, .blog-entry h4, .blog-entry h5, .md-page h1, .md-page h2, .md-page h3, .md-page h4, .md-page h5, .blog-entry p, .md-page p, .detail-page-description .title, p, .cover-block .cover-title, .cover-block .cover-desc { | |
color: #ffffff !important; |
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
#!/bin/bash | |
# Fix for cron incorrect paths | |
HOME='/root' | |
# Sync database1 to database2 | |
SRC_DB='database1' | |
DST_DB='database2' | |
EXCLUDE_TABLES=(table1 table2) |
I hereby claim:
- I am akalongman on github.
- I am longman (https://keybase.io/longman) on keybase.
- I have a public key whose fingerprint is 0D89 FDF5 A359 331A CA5B 86F9 9BAC 7D14 3BD2 A016
To claim this, I am signing this object:
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
body { | |
white-space: pre; | |
font-family: monospace; | |
background: black; | |
color: #cccccc; | |
} | |
.property { | |
font-weight: bold; | |
color: #F060F0; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<ruleset name="Project code style checker config"> | |
<rule ref="../vendor/longman/php-code-style/longish.phpcs.xml"> | |
</rule> | |
<!-- Ban some functions --> | |
<rule ref="Generic.PHP.ForbiddenFunctions"> | |
<properties> | |
<property name="forbiddenFunctions" type="array"> | |
<element key="sizeof" value="count"/> |