This file contains hidden or 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
12.12 | |
Dyskretne: | |
Za 5pkt: | |
- Bin | |
Za 5pkt: | |
- Poiss | |
- Hiper | |
Normalny: | |
Za 5pkt |
This file contains hidden or 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
defmodule TalkMe.Repo.Migrations.CreateHobbies do | |
use Ecto.Migration | |
def change do | |
create table(:hobbies) do | |
add :name, :string | |
add :icon_url, :string | |
timestamps() | |
end |
This file contains hidden or 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
Fajny link |
This file contains hidden or 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
ERROR: failed to connect to remote node '[email protected]' | |
Visit http://localhost:37575/ | |
=ERROR REPORT==== 7-Aug-2017::11:18:08 === | |
** Generic server epl_ets terminating | |
** Last message in was {data, | |
{'[email protected]',{1502,97488,25507}}, | |
[{timeline,[]}, | |
{process_count,55}, | |
{memory_total,20760240}, |
This file contains hidden or 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
apiVersion: apps/v1beta1 # for versions before 1.6.0 use extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: erlangpl-demo-mnesia | |
spec: | |
replicas: 3 | |
template: | |
metadata: | |
labels: | |
app: erlangpl-demo-mnesia |
This file contains hidden or 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
image: hajto/dockertest | |
services: | |
- postgres:latest | |
variables: | |
POSTGRES_DB: "kpsz_test" | |
POSTGRES_USER: "postgres" | |
POSTGRES_PASSWORD: "postgres" | |
MIX_CI: "true" |
This file contains hidden or 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 com.example.wk.projektkoncowywiolettakurek.Classes; | |
import android.app.ProgressDialog; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.AsyncTask; | |
import android.util.Log; | |
import com.example.wk.projektkoncowywiolettakurek.Collages.CollageActivity; |
This file contains hidden or 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
defmodule Kpsz.Data.Event do | |
alias Kpsz.Event | |
alias Kpsz.Repo | |
def create(event, repo \\ Repo) do | |
changeset = Event.changeset(%Kpsz.Event{}, event) | |
repo.insert(changeset) | |
end |
This file contains hidden or 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
defmodule Kpsz.Event do | |
use Kpsz.Web, :model | |
schema "events" do | |
field :name, :string | |
field :description, :string | |
field :location, Kpsz.Point | |
has_many :pressences, Kpsz.Pressence | |
timestamps() |
This file contains hidden or 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> | |
#include <stdlib.h> | |
#include<math.h> | |
int NWD(int x, int y) { | |
int z; | |
while (y != 0) { | |
z = x % y; | |
x = y; | |
y = z; |