This file contains hidden or 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
for i in de en es fr it pt tr; do app/console translation:extract --config=app $i; done |
This file contains hidden or 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
# This is Git's per-user configuration file. | |
[core] | |
# Please adapt and uncomment the following lines: | |
editor = vim | |
filemode = false | |
[push] | |
default = matching | |
[help] |
This file contains hidden or 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
Show hidden characters
{ | |
"build_systems": | |
[ | |
{ | |
"name": "Electron", | |
"cmd": ["electron", "$project_path"], | |
"selector": "source.js", | |
"osx": { | |
"cmd": ["electron", "$project_path/main.js"], |
This file contains hidden or 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
# | |
# Git alias | |
# | |
alias changesgit="git diff --name-status -r" | |
alias gdiff="git diff --stat -r" | |
alias ghead="git show -s --pretty='tformat:%h, %s, %ad' --date=short" | |
alias gl="git log --color --graph --pretty=format:'%Credbold%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
alias gb="git branch -v" | |
alias g="git status -sb" | |
alias gc="git commit" |
This file contains hidden or 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
sleep_after() { | |
local sleep_time=$1; | |
if [[ $2 = "hour" ]] then | |
sleep_time=$(($sleep_time*60*60)); | |
elif [[ $2 = "min" ]] then | |
sleep_time=$(($sleep_time*60)); | |
elif [[ !$2 ]] then | |
echo "options is not valid: $2"; | |
return 0; |
This file contains hidden or 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
shell: | |
@docker start mongoserver | |
@docker start mongoshell -i | |
@docker stop mongoshell mongoserver | |
connect: createMongo | |
docker run -it --name mongoshell --link mongoserver:mongo mongo sh -c 'exec mongo "$$MONGO_PORT_27017_TCP_ADDR:$$MONGO_PORT_27017_TCP_PORT"' | |
@docker stop mongoshell mongoserver | |
createMongo: |
This file contains hidden or 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
# https://stackoverflow.com/a/32727069 | |
sudo killall taskgated | |
codesign -fs gdb-cert "$(which gdb)" |
This file contains hidden or 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
r -> run | |
p -> print | |
d -> display expression | |
set -> set a valeu to a var | |
b -> breakpoint | |
bt -> backtrace | |
c -> continue | |
n -> next, doesn't go inside | |
s -> step, goes inside | |
where -> backtrace |
This file contains hidden or 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
// ==UserScript== | |
// @name php.net always in English | |
// @namespace php.net.english | |
// @author matheusfaustino | |
// @description set always english for php.net | |
// @include *php.net/manual/*/* | |
// @exclude *php.net/manual/en/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
// ==UserScript== | |
// @name Mozilla Dev Website Always Eng | |
// @namespace mozilla.dev.docs.always.eng | |
// @author matheusfaustino | |
// @description Always change the language of mozilla docs to English | |
// @include https://developer.mozilla.org/*/docs/* | |
// @exclude https://developer.mozilla.org/en*/docs/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
OlderNewer