Use this if you want if you make it into a npm package please credit me :D
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
asdf |
-
Deploying elixir with docker and kubernetes (use multi stage docker files over mix_docker) https://blog.polyscribe.io/@hanrelan
-
Umbrella Application with phoenix https://medium.com/@brucepomeroy/create-an-elixir-umbrella-project-containing-a-phoenix-app-and-build-a-release-with-distillery-46371f2617df
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 { spec, types, define, abstract, Api } from "spectacles"; | |
spec(module, "elements").ensure("./models/element"); | |
abstract` | |
This is a module used for elements | |
`; | |
// Definitions | |
define.submodule("constants", "./constants")` |
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
package main | |
import "fmt" | |
import "log" | |
import "encoding/gob" | |
import "bytes" | |
type Talkable interface { | |
Talk() | |
} |
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
package main | |
import "fmt" | |
import "bytes" | |
import "encoding/gob" | |
import "encoding/hex" | |
import "github.com/AsynkronIT/protoactor-go/actor" | |
type MyActor struct { | |
CallCount int |
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
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/AsynkronIT/protoactor-go/actor" | |
) | |
func main() { |
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
go template example |
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 React from 'react' | |
import ReactDOM from 'react-dom' | |
export default (Component, tagname) => { | |
class Binder extends HTMLElement { | |
connectedCallback() { | |
const mountPoint = document.createElement('div'); | |
this.attachShadow({ mode: 'open' }).appendChild(mountPoint); |
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
extern crate mqttc; | |
extern crate netopt; | |
extern crate ws; | |
use mqttc::{PubOpt, PubSub}; | |
use std::{thread, time}; | |
static USERNAME: &'static str = ""; | |
static PASSWORD: &'static str = ""; |
OlderNewer