Joined June 2011
·
Posted to
How to use the new Github
over 1 year
ago
Great tip! I rotated my monitor 90° thinking it was a problem with my setup. This makes a lot more sense.
Posted to
Run Code Sniffer on modified files
over 1 year
ago
Great tip!
I found if no files had changed it would just run phpcs
for the entire project, so use the following:
#!/bin/bash
files=$(git ls-files -om --exclude-standard)
if [ -z "$files" ]; then
echo 'No files to check';
else
phpcs $files
fi
Posted to
One line browser notepad
over 1 year
ago
Really cool, I liked @fvsch version, I just added a title so the text on the tab makes a bit more sense
data:text/html, <title>Text Editor</title><body contenteditable style="font-size:2rem;line-height:1.4;max-width:60rem;margin:0 auto;padding:4rem;">
Achievements
197 Karma
2,241 Total ProTip Views

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Mongoose
Have at least one original repo where Ruby is the dominant language

Charity
Fork and commit to someone's open source project in need

Forked
Have a project valued enough to be forked by someone else

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language
Very nice, I made a small change to weed out non git directories: