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
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
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
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
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
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
#include<stdio.h> | |
#include<stdlib.h> | |
#include<unistd.h> | |
int main() { | |
int pm = getpid(); | |
char polecenie_1[20]; | |
int i; | |
int id, e, w; |
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
import React, { Component } from 'react'; | |
import _ from 'lodash' | |
import { connect } from 'react-redux'; | |
import { getUsers, deleteUser, updateRole } from './actions' | |
import { Table, Icon, Header } from 'semantic-ui-react' | |
import RoleDropDown from './sub_components/RoleDropDown' | |
class AdminUsersList extends Component { | |
componentDidMount(){ |
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
import React, { Component } from 'react'; | |
import _ from 'lodash' | |
import { connect } from 'react-redux'; | |
import { getUsers, deleteUser, updateRole } from './actions' | |
import { Table, Icon, Header } from 'semantic-ui-react' | |
import RoleDropDown from './sub_components/RoleDropDown' | |
class AdminUsersList extends Component { | |
componentDidMount(){ |
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 USPDistributorWeb.OrderController do | |
use USPDistributorWeb, :controller | |
alias USPDistributor.Orders | |
alias USPDistributor.Orders.Order | |
action_fallback USPDistributorWeb.FallbackController | |
plug Guardian.Permissions.Bitwise, [ensure: %{admin: [:list_orders]}] when action in [:index] | |
plug Guardian.Permissions.Bitwise, [ensure: %{order: [:create]}] when action in [:create] |