Skip to content

Instantly share code, notes, and snippets.

View CleitonDeLima's full-sized avatar
🇧🇷
Working from home

Cleiton de Lima CleitonDeLima

🇧🇷
Working from home
View GitHub Profile
int insertValorTabela(table *tabela, column *c){
int i = 0, erro = 0; char str[20];
//Carrega dados da tabela para a variavel objetoTabela
struct fs_objects objetoTabela = leObjeto(tabela->nome);;
//Carrega dados dos atributos da tabela para a variavel campoTabela
struct tp_table *campoTabela = tabela->esquema;
//percorre os campos
#include <stdio.h>
#include <iostream>
using namespace std;
#define MAX 112
#define P 10000
void identidade(int A[MAX][MAX]) {
int i, j;
MAX = 0
P = 10000
def identidade(matriz):
for i in range(MAX):
for j in range(MAX):
matriz[i][j] = int((i == j))
def multmat(matrizA, matrizB, matrizC):
for i in range(MAX):
2 20
1 1
2 2 2 2
1 1 1 1
2 29
1 1
2 2 2 2
1 1 1 1
2 0
1 1
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<ValidationSoapHeader xmlns="http://www.angellira.com.br/">
<userCod>WSIMPGRAL</userCod>
<userPwd>77873d810094d77b768a122b1807371d</userPwd>
<homologacao>false</homologacao>
</ValidationSoapHeader>
</soap:Header>
<soap:Body>
sudo apt-get install build-essential libxslt1-dev wget libxml2-dev libxml2-utils zlib1g-dev libjpeg-dev libfreetype6-dev poppler-utils wv python2.7-dev python-setuptools -y
sudo apt-get install python-pip
sudo pip install virtualenv
virtualenv -p python2 --no-site-packages ProjetoPlone/.ProjetoPlone
cd ProjetoPlone
source .ProjetoPlone/bin/activate
pip install Pillow
/*
* developed by: Cleiton de Lima Pinto
* dataBase II
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct metadados Metadados;
def get_msg(**kwargs):
return 'Oi {first_name} {last_name}, tudo bem?'.format(**kwargs)
get_msg(first_name='Cleiton', last_name='Lima')
@CleitonDeLima
CleitonDeLima / README.md
Created March 15, 2017 16:13 — forked from genomics-geek/README.md
Setting up a Dockerized web application with Django REST APIs, ReactJS with Redux pattern, and Webpack Hot Reloading! Mouthful.

Guide on how to create and set up a Dockerized web app using Django REST APIs and ReactJS

Hopefully this will answer "How do I setup or start a Django project using REST Framework and ReactJS?"

I created this because it was SUCH a pain in the ass setting up a project using all the latest technologies. After some research, I figured it out and have it working. The repo that implements this is located here. Feel free to use it as a boilerplate ;)

Main features:

  • Django REST APIs
  • ReactJS with Redux Pattern
  • Webpack module bundler manager
npm i -D webpack@1.14.0 webpack-dev-server@1.16.2 webpack-bundle-tracker@0.2.0
npm i -D babel-core@6.22.1 babel-loader@6.2.10 babel-plugin-react-html-attrs@2.0.0 babel-plugin-transform-object-rest-spread@6.22.0 babel-preset-es2015@6.22.0 babel-preset-react@6.22.0
npm i -D extract-text-webpack-plugin@1.0.1 css-loader@0.26.1 style-loader@0.13.1 file-loader@0.9.0
npm i -D font-awesome@4.7.0
npm i -D react@15.4.2 react-dom@15.4.2 react-router@3.0.2 redux@3.6.0 react-redux@4.4.6 redux-form@6.4.1 redux-multi@0.1.12 redux-promise@0.5.3 redux-thunk@2.1.0 react-redux-toastr@4.4.2 axios@0.15.3 lodash@4.17.4