Saturday, October 26, 2013
Thursday, October 10, 2013
Git Tagging
Add Tag.
git tag -a v1.0 -m 'version 1.0'
Add Tag to a commit
git tag -a v1.0 -m 'version 1.0' c4283bb
Push Tag to remote origin (All TAG)
git push --tag
Push Tag to remote with specific tag.
git push origin tag v1.0
Here is how to delete a tag from a remote Git repository.
If you have a tag named '12345' then you would just do this:
git tag -d 12345 git push origin :refs/tags/12345
That will remove '12345' from the remote repository.
Friday, October 4, 2013
Custom validation on nested attributes
instead of hitting the database with a sum-query, you could calculate the stuff based of the activities collection like this
self.activities.map(&:hours).sum
Subscribe to:
Posts (Atom)
Proxmox installation display out of range
Reference: https://forum.proxmox.com/threads/proxmox-ve-screen-out-of-range.131297/
-
How to remove BBCODE from a string ? <?php $String = "[b][color=#0000ff]TEST[/color][/b]"; $regex = '|[[\/\!]*?[^\[\]...
-
Original Source:: http://www.zytrax.com/tech/pc/serial.html Tech Info - USB and Firewire USB and FireWire (IEEE 1394a and b) represent the...