Skip to content

Instantly share code, notes, and snippets.

View Attumm's full-sized avatar

Attumm

  • Amsterdam
View GitHub Profile
- Blameless culture.
Don’t blame people blame processes.
Mistakes happen to everyone.
Culture in the team should allow for team members to take blame without repercussion.
After a postmoterm, steps should be taken for making sure it won’t happen again.
Great learning, and feedback moment for the team.
- Just deliver, Deadline is a deadline,
If your stuck or won’t make deadline share it immediately with the team,
Part two part when technical discussion arises,
# Import smtplib for the actual sending function
import smtplib
# Import the email modules we'll need
from email.message import EmailMessage
# Open the plain text file whose name is in textfile for reading.
# Create a text/plain message
@Attumm
Attumm / index.html
Last active November 26, 2018 18:46
<html>
<head>
<!--<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
production version, optimized for size and speed -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
@Attumm
Attumm / dates.txt
Created January 25, 2019 16:22
parse date
======== parsing pdf =======
woensdag 2 januari 2019
dinsdag 31 december 2019
vrijdag 31 december 2021
vrijdag 31 december 2021
donderdag 6 december 2018 Om 23:59
vrijdag 7 december 2018 Vóór 23:59
maandag 10 december 2018 Vóór 23:59
woensdag 12 december 2018 Vóór 23:59
maandag 31 december 2018
@Attumm
Attumm / main.go
Last active February 25, 2019 15:35
proxy golang
package main
import (
"flag"
"fmt"
)
func main() {
paths := map[string] func () {
"proxy": main_proxy_server,
@Attumm
Attumm / main.go
Created February 24, 2019 22:15
golang ingest elastic
package main
import (
"fmt"
"log"
"golang.org/x/net/context"
"gopkg.in/olivere/elastic.v6"
"sync"
"strconv"
)
package main
import (
"flag"
"fmt"
"os"
"strconv"
)
type Settings struct {
@Attumm
Attumm / gen.go
Last active March 14, 2019 07:11
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strconv"
"strings"
"time"
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strconv"
"strings"
"time"
package main
import (
"encoding/json"
"fmt"
"log"
"net/http"
"strconv"
"strings"
"time"