All 98 Comments

re: Do you feel comfortable learning in your own language or do you prefer English? (For non English-native speakers)
I am native Czech speaker. I have been using Czech language...
re: Git 001 ~Add Alias to .gitconfig~
[alias] ci = commit co = checkout up = push ...
re: Tips For Validating HTML Form Inputs
User can bypass client-side validation.
re: Tips For Validating HTML Form Inputs
This is a first validation - on client. You need make a sec...
re: 10 More Git Tricks That You Should Know
Add all private untracked files to .git/info/exclude help....
re: PHP - Elegant method call
This is a wrong way in my opinion. You need split data stru...
re: PHP - Elegant method call
$something = Something($params); Edit: Sorry, the right...
re: Elegant code in PHP
My code for this: <?php $doc = new \DOMDocument('1.0'...
re: Elegant code in PHP
@if, @else , @endif - they are components of your new imper...
re: PHP - Elegant method call
Better way: $sendmail = new Sendmail(); $sendmail->han...
re: 10 rules to code like NASA (applied to interpreted languages)
60x80 is enough for a class.
re: Important Abbreviations
Add links to an external dictionary, eg: TCP/IP: Transmi...
re: Imaginary Language Features
Use decorator.
re: My Git tips for a better life in your console
I recommend using git-aliases instead.
re: A Series of My Unfortunate Mistakes (When Writing Tests)
Write tests first! Nice article.
re: Anyone using VIM here?
Vim daily. Without VS Code.
re: A short example of how types can make your life easier
All items of enums are objects: ab = Audiobook('mp3') eb...
re: Unlimited git repositories
Other Git placement options: Secondary HDD or SSD, USB flas...
re: How to crawl website using #bash script?
use quotation marks around the variable name: wget "$url"....
re: Why switch is better than if-else
I got rid of all "else" in my programs. They are shorter, ...
re: How to crawl website using #bash script?
An unusable script with too much mistakes. Pure wget is bet...
re: The 7 most important software design patterns
Singleton is good pattern for create NullObject. Observer ...
re: Code Smell: No AND in Function name
I use method names: drink(), add(), find(), insert(), updat...
re: Easily Merge Multiple Java --classpath Arguments
An alternative to the for loop is the while loop with the s...
re: The Git Rebase Workflow
rebase master->feature merge feature->master
re: Are CSS and HTML programming languages?
No. HTML is a markup language, CSS is a style language.
re: How to Produce Readable Code
actions on objects: user.get(), user.add(), post.modify(), ...
re: I created a .gitignore command-line generator !
Create an alias to Git to write: git ignore -h ...
re: How To Enforce Conventional Commit Messages Using GIT Hooks
I prefer to explain the pattern when validation fails. Goo...
re: //TODO: Write a better comment
interface AccountDAO { suspend fun insert(account: Acco...
re: Using isset() and empty() hurts your code
Deep structures are unwanted in OOP. Maybe you use it for r...
re: Computers are Tools
I do not feel with hardware, I feel with the user. The ap...
re: IDE's vs Text Editors!
source code editor build tools debugger I'm using editor...
re: Robust Shell Scripts
This cycle is dangerous - there may be a dead-lock.
re: Strict Error Settings
sipb.mit.edu/doc/safe-shell/
re: Please, do not pollute project's .gitignore
Look for .git/info/exclude too. It is good for project spec...
re: Storing permissions ~ AoaH Nine
$username = 'myName" OR "1';
re: How did linguistics influence programming?
Naming things: class, object, variable - nouns function, ...
re: What tense do you use in Git Commit messages?
Imperative for simplicity and for non-english readers.
re: How to use git efficiently
Where is a branch bugfix?
re: Basic Text Formatting in PHP using printf() with decimals, prices, strings, and dates
$date = date("m/d/Y"); echo $date;
re: Up your git game with --patch
Thanks for your article!
re: How to Get the Git Directory
$ git config --global alias.pwd '!pwd' $ git pwd
re: Up your git game with --patch
You changed (destroyed) functionality in first hunk - you d...
re: How I Backup/Sync my Dotfiles & Apps
$ cat .gitignore * !.gitconfig !.gitignore !.bashrc !.zshr...
re: Help Me Name My New Computer
I use the names of heroes, constellations, stars and satell...
re: SQL 101: Relational Database Fundamentals
One record in relational database is a basic relation.
re: Security holes in PHP
This is not vulnerability PHP. This is bad manipulation wit...
re: Security holes in PHP
Use complex SQL or transaction.
re: Security holes in PHP
Some example? I have no problem with this.
re: Shellscripting: Functions
#!/bin/bash for i in $@; do echo "$i" done $ ./args.sh...
re: My Git Aliases
gs has an unpleasant collision with GhostScript.
re: PHP XML Reader Example
When using large XML with a DOMDocument... $doc = new \DOM...
re: Don't return associative arrays!
Don't return errors. Use exceptions.
re: Fun with Bash
data.csv name, usage (mb), allocated (mb), CPU %, contai...
re: Do you use the Pomodoro Technique?
pomodorostrt='sleep 1500 && notify-send "Your pomod...
re: Demystifying vim
V will get you in select mode. It's little diferent from vi...
re: Repository-Specific Ignored Files in Git
I have two git macros for edit these files: git ignore and ...
re: Demystifying vim
Fix the indentation: gg=G for whole file =G from actual...
re: 25 Tips for New Developers: Advice from a (Mostly) Self-Taught Software Engineer
I'm not native English. This discussion is the best course ...
re: Security Tips for a PHP Application
XSLT is the best template framework.
re: A quick guide to squashing Git commits
create new branch for feature/bug edit, test, commit, repe...
re: 3 Common Mistakes that Python Newbies Make
Eliminating else made my source code cleaner and faster. I ...
re: 3 Common Mistakes that Python Newbies Make
Negative comparisons are needed to eliminate else from sour...
re: 3 Common Mistakes that Python Newbies Make
This is a bit faster, because the first condition is met mo...
re: Why Git Alias
In my ~/.bashrc is included: alias gita='git add' alias ...
re: Why Git Alias
My aliases in ~/.gitconfig ci = commit -v co = checkout un...
re: SSH Shortcuts
$ alias example='ssh example' $ example 'command paramete...
re: How to read dot files with PHP?
.htconfig.ini [MySQL] dsn = "mysql:host=localhost;dbname...
re: Just enough bash to be dangerous
I don't like ask the user. The best answer is the one I wil...
re: An automatic interactive pre-commit checklist, in the style of infomercials
The problem with these three questions is that the develope...
re: An automatic interactive pre-commit checklist, in the style of infomercials
Instead of querying, I use automated tests.
re: Managing Your Personal Sprints w/Β Trello
I like Trello. I have over twenty boards for diary, ideas, ...
re: I Want Scalar Objects in PHP
<?php class Name { private $name; function __c...
re: Upload stuff on git push when branch is not master
current_branch="$(git symbolic-ref --short HEAD)"
re: The Shell Introduction I Wish I Had
alias bashrc='vim "$HOME/.bashrc" && . "$HOME/.bash...
re: What are the most used commands in your shell history?
1 117 12.4468% ll 2 113 12.0213% xmllint ...
re: Need help with editing a massive file
xmllint --xpath "//*[local-name()='image']/*[local-name()='...
re: On esoteric languages
I used it as part of my application. It was very simple, Tu...
re: On esoteric languages
I wrote my own esoteric language and used it commercially....
re: How do you organize source code on your computer?
~/CompanyName/ProjectName # Day Jobs ~/Customer/CompanyNa...
re: convert JS Object to CSS in command
:'<,'>s/\([A-Z]\)/-\l\1/g
re: Vim practical example
Bash$ xargs open https://db-provider.com/dashboard.html#dat...
re: Vim Is The Perfect IDE
Too much plugins for too little benefits. I do not traverse...
loading...