Skip to content

Instantly share code, notes, and snippets.

View felansu's full-sized avatar
🎯
Focusing

Ferran Gonzalez Alonso felansu

🎯
Focusing
  • CloQ
  • Barcelona, Catalonia
View GitHub Profile

Anatel Móvel | manager_anatelmovel.sh

  • CDR_DatamartAnatelMovel_Exec_V1
    • Trabalha com a tabela F_ANATELMOVEL_ERB_10
    • Muito semelhante com CDR_DatamartAnatelMovel_Exec_VM_V1
  • CDR_DatamartAnatelMovel_Exec_VM_V1
    • Trabalha com a tabela F_ANATELMOVEL_VM
    • Muito semelhante com CDR_DatamartAnatelMovel_Exec_V1
  • CDR_DatamartAnatelMovel_ExecERBDEST_V1
    • Utilizada em CDR_DatamartAnatelMovelERBDEST_V2.java
@felansu
felansu / gist:02187e7d82dfdf62268f
Last active August 29, 2015 14:27
[AngularJS] - Testes com Karma
OBJETIVO DOS ESTUDOS
Saber aplicar testes unitários em projetos AngularJS para agregar valor ao produto e principalmente garantir que as funcionalidades estejam sendo executadas corretamente.
INTRO
O Karma possui um arquivo de configuração chamado karma.conf.js. Este arquivo permite ao Karma conhecer seu projeto, definir a ordem em que os testes são executados.
Aqui são especificadas as opções de configurações disponíveis no karma: LINK
EXEMPLOS Test Controller
Suponhamos que temos um controller de nome zgProgressPanelCtrl com este método:
@felansu
felansu / gist:4c9c49c9002c4e42beb2
Created August 9, 2015 22:36
[Angular] Templates for create controllers, factories and modules for Intellij Idea
Download the https://github.com/johnpapa/angular-styleguide/blob/master/assets/webstorm-angular-file-template.settings.jar?raw=true
Open WebStorm / Idea and go to the File menu
Choose the Import Settings menu option
Select the file and click OK
In a JavaScript file type these commands followed by a TAB:
ng-c // creates an Angular controller
ng-f // creates an Angular factory
ng-m // creates an Angular module
@felansu
felansu / gist:fa0ac2287845fc24f268
Created August 9, 2015 22:33
[GIT] Creating a remote repository by terminal
curl -u 'YOUR_USER' https://api.github.com/user/repos -d '{"name":"YOUR_NEW_REPOSITORY"}'
@felansu
felansu / WEB.XML
Last active August 29, 2015 13:57
[JSF] Standard configuration file
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<!--
Determinamos el estado de nuestro projecto, de esta forma los errores son mostrados de forma
mas detallada.