Skip to content

Instantly share code, notes, and snippets.

chown -R crediteleed:crediteleed public_html/
chmod -R 755 public_html/
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
history=cat %CMDER_ROOT%\config\.history
unalias=alias /d $1
ga=git add .
gc=git commit -am "CurrentWork"
gpm=git push origin master
:: Add aliases
@doskey /macrofile="%CMDER_ROOT%\config\aliases"
@cd /d "C:/xampp/htdocs" #my custom directory 54 line
:: Set home path
@if not defined HOME set HOME=%USERPROFILE%
cd app
chown -R user:user .
in cazul la leed:
chown leed:leed -R .
console: ssh-keygen
without phrase, retry git push
works for me
@binaryk
binaryk / Get date by lang
Created November 7, 2015 08:08
Get date by lang
// app/lang/en/date.php
return array(
"month" => array(
1 => "January",
2 => "February",
3 => "March",
4 => "April",
5 => "May",
6 => "June",
7 => "July",
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
#Require ip 127.0.0.1
#Require ip ::1
Require all granted
</RequireAny>
[
{
"keys": ["ctrl+;"], "command": "run_macro_file", "args": {"file": "Packages/User/EndOfLine.sublime-macro"}
},
{
"keys": ["ctrl+shift+;"], "command": "run_macro_file", "args": {"file": "Packages/User/DebugbarVar.sublime-macro"}
},
{
"keys": ["ctrl+alt+;"], "command": "run_macro_file", "args": {"file": "Packages/User/PrintAr.sublime-macro"}
},
$scope.$on("send-revenues", function (event, args) {
// $scope.revenues = args.revenues;
});
$scope.$broadcast("send-revenues", {revenues: revenues });
@binaryk
binaryk / gist:3d5fe3aae50f752faadb
Created October 6, 2015 06:18
git too long path name
git config --global core.longpaths true