Skip to content

Instantly share code, notes, and snippets.

View fastcodecoq's full-sized avatar

Fastcode fastcodecoq

View GitHub Profile
{
"env" : "qa",
"dev" : {
"apiUrlBase" : "http://54.86.49.147",
"apiBaseUri" : "/api"
},
"qa" : {
"apiUrlBase" : "http://23.23.127.28",
"apiBaseUri" : "/api"
},
function apiFactory($http){
this.uri = '';
this.base_url = "api/url/metodo";
// console.log(this.base_url, 'base api url');
this.usuario = function(id){ (id) ? this.uri += '/usuario/'+id : this.uri += '/usuario'; return this; }
this.empresa = function(id){ (id) ? this.uri += '/empresa/'+id : this.uri += '/empresa'; return this; }
this.ordenServicio = function(id){ (id) ? this.uri += '/orden_servicio/'+id : this.uri += '/orden_servicio'; return this; }
this.solicitudServicio = function(id){ (id) ? this.uri += '/solicitud_servicio/'+id : this.uri += '/solicitud_servicio'; return this; }
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
SMTP error from remote mail server after RCPT TO:<[email protected]>:
host pygdeldesarrollo.com [208.91.199.240]: 550-"JunkMail rejected - rockets.unisonplatform.com [162.219.251.133]:58738 is
550 in an RBL, see http://www.spamhaus.org/query/bl?ip=162.219.251.133"
[email protected]
#!/bin/sh
echo 'Desplegando maquina'
cd /etc
sudo apt-get -y update
sudo apt-get -y install nginx
sudo apt-get -y install mysql-server
sudo apt-get -y install mysql_secure_installation
sudo apt-get -y install php5 php-pear php5-fpm php5-mysql php5-dev sendmail
echo 'cgi.fix_pathinfo=0' >> php5/fpm/php.ini
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /home/gomosoft/app/front;
index index.html index.php index.htm;
# server_name server_domain_name_or_IP;
location / {
<a ui-sref='empresa.crear'>+</a>
<div class="input-group">
<select required tabindex="2" chosen class="chosen-select form-control {{aclass}}" style="{{astyle}}" tabindex="{{tabIndex}}" ng-model="ngModel" ng-options="value.name for value in {{ngModel}} track by value._id">
</select>
<div class="input-group-btn">
<button id="quickaddd" data-toggle="tooltip" data-placement="top" title="{{atitle}}" data-original-title="Crear uno nuevo" class="btn btn-primary"><i class="fa fa-plus-square-o"></i>
</button>
</div>
</div>
function knackFactory($http){
this.uri = undefined;
this.obj_key = undefined;
this.field_key = undefined;
this.base_url = 'https://api.knackhq.com';
this.forms = function(){ this.uri = '/v1/objects/'; return this;}
this.form = function(_obj_key){ console.log(_obj_key); this.obj_key = _obj_key; this.uri = '/v1/objects/'+this.obj_key+'/'; return this;}
#!/bin/bash
echo 'Debes tener en cuenta que deben estar previamente instalados el sdk de android, cordova y jdk de JAVA, así como los PATHS correspondientes a cada uno \n'
echo 'Preparando APK ...'
sudo rm appSigned.apk
echo "Desea generar el APK? [y-n]"
read generate
<?php
$new = new Softaculous_API();
$new->login = 'https://user:[email protected]:2083/frontend/x3/softaculous/index.live.php';
// Domain Name
$data['softdomain'] = 'domain.com'; // OPTIONAL - By Default the primary domain will be used
// The directory is relative to your domain and should not exist. e.g. To install at http://mydomain/dir/ just type dir. To install only in http://mydomain/ leave this empty.
$data['softdirectory'] = 'wp887'; // OPTIONAL - By default it will be installed in the /public_html folder