Skip to content

Instantly share code, notes, and snippets.

View epmallmann's full-sized avatar

Eduardo Mallmann epmallmann

View GitHub Profile
@epmallmann
epmallmann / digaOiLambda.py
Created May 23, 2020 18:48
digaOiLambda-languages
import json
import urllib.parse
def lambda_handler(event, context):
body = event['body']
print(body)
qs = urllib.parse.parse_qs(body)
print(qs)
@epmallmann
epmallmann / digaOiLambda.py
Last active May 23, 2020 18:39
digaOiLambda-libparse
import json
import urllib.parse
def lambda_handler(event, context):
body = event['body']
print(body)
qs = urllib.parse.parse_qs(body)
print(qs)
@epmallmann
epmallmann / digaOiLambda.py
Created May 23, 2020 03:17
diga_oi_lambda
import json
def lambda_handler(event, context):
response = {
"response_type": "in_channel",
"text": "Oi!"
}
return {
'statusCode': 200,
@epmallmann
epmallmann / main.go
Created January 14, 2020 02:44
go_is_simple
package main
import "fmt"
func main() {
isThisTheRealLife := true
if isThisTheRealLife {
fmt.Println("Is this just fantasy")
}
@epmallmann
epmallmann / main.go
Last active January 8, 2020 01:37
simple_go_olar
package main
import "fmt"
func main() {
fmt.Println("Olar")
}
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>task</Title>
<Shortcut>task</Shortcut>
<Description>Code snippet for task return</Description>
<Author>Eduardo Mallmann</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>