Mix.install([
{:tesla, "~> 1.4"},
{:jason, ">= 1.0.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
const ocenyNazwy = { "celujący": 6, "bardzo dobry": 5, "dobry": 4, "dostateczny": 3, "dopuszczający": 2, "niedostateczny": 1 } | |
const wrapper = document.getElementById("ext-element-199") | |
let oceny = [] | |
wrapper.childNodes.forEach((element) => { | |
const przedmiotText = element.querySelector("[id^='ext-element']").innerText | |
const przedmiot = przedmiotText.split("\n") |
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
IO.inspect("test") |
I hereby claim:
- I am latachz on github.
- I am latachz (https://keybase.io/latachz) on keybase.
- I have a public key ASAGqLa97FSAK3PttFrXq4YcFD3b0PHkgby9b2V5oGv9QAo
To claim this, I am signing this object:
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
const Discord = require('discord.js'); | |
const token = 'NTk3NTg3ODA1ODI0MDkwMTQy.XSKTVw.FYiYksnXMGgGMdmUaW3euk1HZPA'; | |
const client = new Discord.Client(); | |
client.on('ready', async () => { | |
console.log(`Bot is online!`) | |
}) | |
client.on('message', msg => { |
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
{ status: 200, | |
statusText: 'OK', | |
headers: | |
{ server: 'openresty', | |
date: 'Thu, 28 Jun 2018 18:12:35 GMT', | |
'content-type': 'application/json; charset=utf-8', | |
'content-length': '442', | |
connection: 'close', | |
'x-cache-key': | |
'/data/2.5/weather?APPID=9ed6e23a1dbe94eedd75474f462f4469&q=poznan,pl', |
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
module Crypto exposing (..) | |
import Elchemy exposing (..) | |
type Hashalgorithm | |
= Md5 | Ripedmd160 | Sha | Sha224 | Sha256 | Sha384 | Sha512 | |
hash : Hashalgorithm -> String -> String | |
hash = | |
ffi ":crypto" "hash" | |
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
module Crypto exposing (..) | |
import Elchemy exposing (..) | |
type Hashalgorithm | |
= Sha | |
crypto_ : String -> a -> a | |
crypto_ = | |
ffi ":crypto" "hash" | |
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
test "Formats map type in Capitalize_case to PascalCase" do | |
assert Format.inspect({:type_name, 1, 2}) == "TypeName 1 2" | |
end |
NewerOlder