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
sudo apt-get update | |
sudo apt-get install nginx | |
#default website |
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 () { | |
'use strict'; | |
angular | |
.module('poke.botes') | |
.controller('PokeBoteCrearController', PokeBoteCrearController); | |
PokeBoteCrearController.$inject = ['motion', '$http', '$state', '$scope', '$interval', '$parse' ]; | |
/* @ngInject */ |
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
// INICIO de DOCUMENTO | |
// -------------------- | |
$(document).ready(function() { /* codigo */ }); | |
// ACCESO A ELEMENTODS | |
// ------------------- | |
$(".nav .submenu > div") /**/ $(this) /**/ $('#id') /**/ $('.clase') |
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
package { | |
public class ClaseSingleton { | |
static private var _instance:ClaseSingleton; | |
/** | |
* Singleton constructor. It has a refference to an internal | |
* class to avoid a new object been created acidentally | |
* */ | |
public function ClaseSingleton(singletonEnforcer:SingletonEnforcer){} |
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
var myArray = [ | |
{field: 'id', operator: 'eq', value: id}, | |
{field: 'cStatus', operator: 'eq', value: cStatus}, | |
{field: 'money', operator: 'eq', value: money} | |
]; | |
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
// Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3. | |
// | |
// This is a hack to fill the gap between 480 and 760 pixels - a missing range | |
// in the bootstrap responsive grid structure. Use these classes to style pages | |
// on cellphones when they transition from portrait to landscape. | |
// | |
// NOTE: Here I use SASS instead of LESS for styling. To convert to LESS | |
// replace '$screen' with '@screen' and '$grid' with '@grid'. | |
// | |
// See https://github.com/twbs/bootstrap/issues/10203 for more info. |
NewerOlder