-
Git Flow is a very popular workflow for working with git. I have the lucky to set up Git on a medium sized project, and the following article helped me a lot… I report you the schema too, because it was very useful in a presentation I attended.
Read More -
cvs2svn/cvs2git is a tool that can be used to migrate CVS repositories to newer version control tools, including git. git is a distributed version control system most famous for being used for Linux kernel development. The program used to convert to git, called cvs2git, is distributed as part of the cvs2svn project.
Read More -
E’ facile fare un backup con sql server: Basta selezionare tasto destro Tasks>>Backup su un db. Ma come fare il restore?… Ecco un semplice script che chiarisce la cosa (non sempre lampante dallo wizard di restore….): [sql] – Usare il seguente comando per recuperare i parametri sorgente da usare nella MOVE – Nel nostro caso ssaranno MY_BACKUP e MY_BACKUP_log RESTORE FILELISTONLY FROM DISK = N’C:\TEMP\MY_BACKUP\Backup.bak’ ;
Read More -
!UPDATED!
Okey I love emacs, you are allowed to say I am a nerd. But I use emacs. So I could solve your problems with a Ctrl-Alt-x kung fu combination, involving yoga-like finger movements.
So do not mess with me… :D (I am like the Zohan, only with glasses :)
Read More -
Cod Zauker Revenge: Code me maybe
Oct 22, 2012 路 1 min read 路Code Me Mabye
Hey, I just met you, and this is crazy聽 But here's my number, so call me maybe And all the other boys, try to chase me,聽 But here's my number, so call me maybe
Read More -
ZFS is a very innovative file system….
ZFS聽is a combined聽file system聽and聽logical volume manager聽designed by聽Sun Microsystems. The features of ZFS include protection against聽data corruption, support for high storage capacities, integration of the concepts of filesystem and聽volume management,聽snapshots聽and聽copy-on-write聽clones, continuous integrity checking and automatic repair,聽RAID-Z聽and native聽NFSv4聽ACLs. ZFS is implemented as聽open-source software, licensed under the聽Common Development and Distribution License聽(CDDL). The ZFS name was a trademark of聽Oracle[3]聽until September 20, 2011.[4]
[…]
Read More -
How I Structure My Flask Applications Flask has been my preferred web framework as of late. I think it has a great core feature set and Armin, the main author, has done well to keep its API minimal and easy to digest even for developers that are relatively new to Python. However, given that it is a rather minimal framework, it can be often difficult to decide on how to structure an application after it reaches a certain level of complexity. It tends to be a common question that comes up in the #pocoo IRC channel.In this article I intend to share how I structure Flask applications. To help support this article Ive written a very basic application that Ive arbitrarily named Overholt. If you plan on following along I recommend having the source code open in your browser or a code editor.
Read More -
I stumbled upon a very brain-f**k error on Oracle 10g on these days.
Context: the following query [sql]SELECT * FROM (
SELECT TO_NUMBER(CUSTOMER_ID) AS SNDG FROM BAD_CODES_TABLE WHERE
AND I_LIKE=UPPER(‘STATIC_CONDITION’) AND CUSTOMER_ID NOT LIKE ‘%P%’ ) S WHERE TO_NUMBER(S.SNDG) >2000[/sql] could trigger a Invalid number if CUSTOMER_ID column contains invalid numbers.Why?
Well鈥f you ask to “explain plan”, you will get something like
- a table full scan
- Filter Predicates AND
- I_LIKE=UPPER('STATIC_CONDITION')
- TO_NUMBER(S.SNDG) >2000
- CUSTOMER_ID NOT LIKE '%P%'
- Filter Predicates AND
Read More - a table full scan
-
Userful Commands:
- keep-lines
sort-lines
For playing with rectangles of text, see this tip
Read More