Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Filters a dynamics CRM 2011 subgrid...implementation example included at bottom
0
1076
posted 8 years ago by skinnymoore
Conexión a base de datos con los parametros que llega del contructor
0
935
posted 8 years ago by systemergon
Ejecutar sp retornando un datatable, Ejecutar sp retornando un dataset, Ejecutar sp Update retornando los registros actualizados
0
964
posted 8 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
689
posted 8 years ago by systemergon
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
1529
posted 8 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
1046
posted 8 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
1068
posted 8 years ago by toannguyen
This lite fiuntion is a simple organizator rowcount for all datatables for one single database.
0
721
posted 8 years ago by achavesm302
When creating a new https://codepad.co/ snippet, the default language will be set to 'JavaScript'.
0
1009
posted 8 years ago by avansare
automatisches starten von Fotos beim Anschliessen von Geräten deaktivieren (YES), aktivieren (NO)
0
835
posted 8 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
842
posted 8 years ago by daniels
pivot data. input source query in the form :
+--------+-----------+-------------+-------------+
| name | pivot_fid | pivot_fname | pivot_value |
+--------+-----------+-------------+-------------+
| apple | 1 | is red...
0
848
posted 8 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
1072
posted 8 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
1337
posted 8 years ago by jefferis
one cross join for each ai in definition of decimal number as sum(ai*10^i)
0
842
posted 8 years ago by ktrout