| Option | Description |
|---|---|
ALT + X |
Activate Extension and Show/Hide Side Window |
Ctrl + X |
Highlights selected text. To remove part of a highlight, select text and press [Ctrl + X] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"version":1,"resource":"file://wsl.localhost/Ubuntu/var/www/html/localidades/public/.htaccess","entries":[{"id":"gNhY","timestamp":1664878682944}]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xtype: 'templatecolumn', | |
| dataIndex: 'neto' | |
| tpl: new Ext.XTemplate( | |
| '<div>{[this.getValues(values)]}</div>', | |
| // This tpl if is within column "neto": other fields needs "values." only within "if" | |
| '<tpl if="neto && values.divisa_coste_codigo_iso">', | |
| '<div>{neto} {divisa_coste_codigo_iso}</div>', | |
| '</tpl>', | |
| // In other columns: | |
| '<tpl for="this.getPartes([values.lista_idcdr])">', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tail -f /var/log/apache2/error.log | |
| find -name "*.svn" | |
| sudo apt-get install xbacklight | |
| xbacklight -set 20 | |
| cd ~/.oh-my-zsh/themes/ | |
| # Refrescar estilos ZSH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // @see http://www.sanwebe.com/2012/11/login-with-google-api-php | |
| ########## Google Settings.Client ID, Client Secret from https://console.developers.google.com ############# | |
| $client_id = 'xxxxxxxxxxxxxxxxxx'; | |
| $client_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; | |
| $redirect_uri = 'http://path-to-script/google-login-api/'; | |
| ########## MySql details ############# | |
| $db_username = "xxxxxxxxx"; //Database Username | |
| $db_password = "xxxxxxxxx"; //Database Password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| afterlayout : { | |
| fn: function(p){ | |
| console.info("afterlayout"); | |
| console.log(p); | |
| p.disable(); | |
| }, single: true // important, as many layouts can occur | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Hello, World!" | |
| echo "Knowledge is power." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Usage: put this on Chrome Console and listen... | |
| * This example listens a grid's store object -> yourGrid.getStore() | |
| * var yourGrid = Ext.getCmp('put-object-id-here'); | |
| */ | |
| Ext.util.Observable.capture( | |
| Ext.getCmp('put-grid-object-id-here').getStore(), | |
| function(e){ | |
| console.log(e) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Forma 1: | |
| this.Record = new Ext.data.Record.create([ | |
| 'id', 'padre_id', 'agrupacion', 'nombre', 'descripcion', | |
| 'inferior','tipo', 'no_destacar', 'observacion', 'activo', | |
| 'comentario', 'ult_act', 'ult_usu', 'padre' | |
| ]); | |
| /** | |
| * Usage: | |
| * var producto = new this.treeProducto.Record( data[0] ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function BeerCounter($scope, $locale) { | |
| $scope.beers = [0, 1, 2, 3, 4, 5, 6]; | |
| if ($locale.id == 'en-us') { | |
| $scope.beerForms = { | |
| 0: 'no beers', | |
| one: '{} beer', | |
| other: '{} beers' | |
| }; | |
| } else { | |
| $scope.beerForms = { |