Welcome To Snipplr


Everyone's Recent Snippets



1 ... 10 11 12 13 14 ... 553
Conexión a base de datos con los parametros que llega del contructor
0 3264 posted 9 years ago by systemergon
Ejecutar sp retornando un datatable, Ejecutar sp retornando un dataset, Ejecutar sp Update retornando los registros actualizados
0 3263 posted 9 years ago by systemergon
Alternativas para formato de datos en sql server
0 1366 posted 9 years ago by systemergon
Cuando requerimos hacer consultas que devuelvan todos los registros y al mismo tiempo si se desea filtrar por algunos campos se filtra por los parámetros devueltos ej. en el WHERE (U.UnidadAplicativaId = @UnidadAplicativaId OR @UnidadAplicativaId...
0 1027 posted 9 years ago by systemergon
CSS for form field validation
0 3172 posted 9 years ago by fcommisso
Use ref with getDOMNode() to get the actual html. Using getBoundingClientRect() on the actual html will give you the width, height, etc. Below: specs = ClientRect {} bottom: 269 height: 18 left: 797.546875 right: 1062.609375 top: 251 width: 2...
0 4116 posted 9 years ago by heathbo
Within a react component. How to gain access to the HTML that was just rendered. Any returned html element that is tagged with a ref, can easily be accessed by it's ref after it's been rendered. In the below case, use this.refs["domainModal"] to...
0 3406 posted 9 years ago by heathbo
The code snippet below can be placed in any template file or anywhere after the Mage is initialized, and there has to be an order placed before.
1 1495 posted 9 years ago by toannguyen
This lite fiuntion is a simple organizator rowcount for all datatables for one single database.
0 1100 posted 9 years ago by achavesm302
This is the CSS for the footer
0 1487 posted 9 years ago by Hootz
When creating a new https://codepad.co/ snippet, the default language will be set to 'JavaScript'.
0 3367 posted 9 years ago by avansare
automatisches starten von Fotos beim Anschliessen von Geräten deaktivieren (YES), aktivieren (NO)
0 3225 posted 9 years ago by daniels
disable automatic starts of photos when connecting devices (YES), aktivate (NO), automatisches starten von Fotos beim Anschliessen von Geräten deaktivieren (YES), aktivieren (NO)
0 3227 posted 9 years ago by daniels
pivot data. input source query in the form : +--------+-----------+-------------+-------------+ | name | pivot_fid | pivot_fname | pivot_value | +--------+-----------+-------------+-------------+ | apple | 1 | is red...
0 2208 posted 9 years ago by ktrout
Removing extensions and trailing slashes in web urls: "If you want to remove the .html extension from a html file for example yoursite.com/wallpaper.html to yoursite.com/wallpaper you simply have to alter the last line from the code above to match...
0 3540 posted 9 years ago by jefferis
This rewrite will not work on WordPress. It forces .htm and .html files that no longer exist to go to the new .php versions of the pages.
0 3843 posted 9 years ago by jefferis
procedure to throw application defined error
0 2241 posted 9 years ago by ktrout
calculate rank ( with ties ) over points table
0 2265 posted 9 years ago by ktrout
clone table with structure and indexes
0 2484 posted 9 years ago by ktrout
unroll variable length string list to normalised form.
0 2215 posted 9 years ago by ktrout
search for tables in mysql catalog ( information_schema )
0 1237 posted 9 years ago by ktrout
stored procedure for executing batch sql statements
0 2215 posted 9 years ago by ktrout
creates a minimal calendar table
0 2418 posted 9 years ago by ktrout
one cross join for each ai in definition of decimal number as sum(ai*10^i)
0 2167 posted 9 years ago by ktrout
endless loop glow button effect
0 3240 posted 9 years ago by envane21
endless loop glow button effect
0 3192 posted 9 years ago by envane21
Text input Field with Bottom Border only. Border color change at focus
0 1758 posted 9 years ago by 52756
1 ... 10 11 12 13 14 ... 553