| title: | Hello World! |
|---|
This is a simple Hello world example for hovercraft!
Some text here in this slide...
| #!/usr/bin/python | |
| NUM_MAXIMO = 100 | |
| for i in xrange(1,NUM_MAXIMO+1): | |
| if not i % 3 is 0 and not i % 5 is 0: | |
| print i | |
| else: | |
| if i % 3 is 0: | |
| print "ping" |
| grep labccet /etc/passwd | awk -F: '{print $7}' |
| {num=$1 | |
| for (div = 2; div*div <= num; div++) | |
| if (num % div == 0) | |
| break | |
| if (num % div == 0) | |
| printf "%d nao eh primo\n", num | |
| else | |
| printf "%d eh primo\n",num} |
| django-admin.py startproject --template=https://github.com/githubuser/dj_project_templates/blob/master/project_template.tar --extension="md,py" myproject |
| # -*- coding: utf-8 -*- | |
| from lxml import html as lhtml | |
| from django.template import Context, Template, RequestContext | |
| from django.test import RequestFactory | |
| factory = RequestFactory() | |
| class TestTemplate(AlgumTestCase): |
| DATABASES = { | |
| 'default': { | |
| 'ENGINE': 'django.db.backends.sqlite3', | |
| 'NAME': '/home/lanchinho/blablabla/tutorial/db.sqlite' , | |
| 'USER': '', | |
| 'PASSWORD': '', | |
| 'HOST': '', | |
| 'PORT': '', | |
| } | |
| } |
| void InserctionSort(int n, int vetor[]){ | |
| int j,i, chave; | |
| for(j = 1; j < n; j++){ | |
| chave = vetor[j]; | |
| i = j - 1; | |
| while(i >= 0 && vetor[i] > chave){ |
Read this before you post something:
Don't expect others to do everything for you, be it your homework or your job. So try doing something first!
If you want to share a code, or need help with it, then put it in https://gist.github.com or something similar. This way others can have a better understanding of what your code is about.