This file contains 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
#include <stdio.h> | |
int main(int argc, char* argv[]) { | |
int i = 0; | |
for(;;) { | |
printf("%d\n", i--); | |
i = i % 5; | |
} |
This file contains 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
#include <stdio.h> | |
int main(int argc, char* argv[]) { | |
int i = 0; | |
for(;;) { | |
printf("%d\n", i++); | |
i = i % 5; | |
} |
This file contains 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
#include <stdio.h> | |
int main(int argc, char* argv[]) { | |
int i = 0; | |
for(;;) { | |
printf("%d\n", i++); | |
if (i == 5) { | |
i = 0; | |
} |
This file contains 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
[ | |
{ | |
"_id": "6199c6f27e3fad8eb236b3d0", | |
"index": 0, | |
"guid": "03f4a2c7-ecd2-4e19-98b0-3abf05813366", | |
"isActive": false, | |
"balance": "$1,641.18", | |
"picture": "http://placehold.it/32x32", | |
"age": 27, | |
"eyeColor": "blue", |
This file contains 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
import os | |
from telegram.ext import Updater, CommandHandler | |
import requests | |
def hello_world(update, context): | |
update.message.reply_text( | |
"Olá Mundo! Sou o novo bot." | |
) |
This file contains 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
import os | |
from telegram.ext import Updater, CommandHandler | |
def hello_world(update, context): | |
update.message.reply_text( | |
"Olá Mundo! Sou o novo bot." | |
) | |
This file contains 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
client.publish( | |
PhoneNumber='+5511999998888', | |
Message='Agora a mensagem será enviada para o telefone' | |
) |
This file contains 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
client = boto3.client( | |
"sns", | |
aws_access_key_id='AWS_ACCESS_KEY_ID', | |
aws_secret_access_key='AWS_SECRET_ACCESS_KEY', | |
region_name="us-east-1" | |
) |
This file contains 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
// Java | |
public class Pessoa { | |
private String nome; | |
private int teste1; | |
protected char[] teste = new char[10]; | |
protected teste[] teste = new teste[56]; | |
public float desprotegido; | |
private float[] teste = new float[34543]; | |
} |
This file contains 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
## config.py | |
CELERY_BROKER_URL = 'redis://localhost/0' | |
CELERY_BEAT_SCHEDULE = { | |
'envia-emails-a-cada-30-segundas': { | |
'task': 'tasks.envia_email', | |
'schedule': 10.0, | |
} | |
} |
NewerOlder