- Prag Prog Elm Book by Jeremy Fairbank
- Elm Town podcast by Kevin Yank
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 pandas as pd | |
import matplotlib.pyplot as plt | |
import json | |
from io import StringIO | |
# Read the JSON file | |
with open('your_file.json', 'r') as file: | |
data = file.read() | |
# Convert the JSON data to a pandas DataFrame |
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
syntax on | |
set hidden | |
set noerrorbells | |
set tabstop=2 softtabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set smartindent | |
set nu | |
set nowrap |
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
-- This will automatically update the `updated_at` column on the table `category` | |
CREATE OR REPLACE FUNCTION update_modified_column() | |
RETURNS TRIGGER AS $$ | |
BEGIN | |
NEW.updated_at = now(); | |
RETURN NEW; | |
END; | |
$$ language 'plpgsql'; |
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] | |
name = "webservice" | |
version = "0.1.0" | |
authors = ["Mario Martinez <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
rocket = "0.4.0" | |
perfect_numbers = { path = "../perfect-numbers" } |
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 Main exposing (main) | |
import Graphqelm.Operation exposing (RootQuery) | |
import Graphqelm.Http | |
import Graphqelm.SelectionSet exposing (SelectionSet, with) | |
import Html exposing (Html, a, div, h1, h2, p, pre, text, img) | |
import Html.Attributes exposing (src) | |
import RemoteData exposing (RemoteData) | |
import Github.Object | |
import Github.Object.User as User |
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
# Your keymap | |
# | |
# Atom keymaps work similarly to style sheets. Just as style sheets use | |
# selectors to apply styles to elements, Atom keymaps use selectors to associate | |
# keystrokes with events in specific contexts. | |
# | |
# You can create a new keybinding in this file by typing "key" and then hitting | |
# tab. | |
# | |
# Here's an example taken from Atom's built-in keymap: |
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
#!/bin/bash | |
echo "determining branch" | |
branch=`git branch | sed -e s/^\.\ // | grep $1` | |
echo "checking out $branch" | |
git checkout $branch |
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 Main exposing (main) | |
import Graphqelm.Operation exposing (RootQuery) | |
import Graphqelm.Http | |
import Graphqelm.SelectionSet exposing (SelectionSet, with) | |
import Html exposing (Html, a, div, h1, h2, p, pre, text) | |
import RemoteData exposing (RemoteData) | |
import Github.Object | |
import Github.Object.User as User | |
import Github.Query as Query |
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
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/martimatix/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
plugins=(git) |
NewerOlder