Skip to content

Instantly share code, notes, and snippets.

💭
pajama-mode

Douglas Smith der0pa

💭
pajama-mode
Block or report user

Report or block der0pa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View json-ipybn.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View DotEmacs
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(custom-set-variables
@der0pa
der0pa / .emacs
Created Apr 18, 2017
backup .emacs file 4-17-17
View .emacs
;;; Commentary
;;GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
View sub snippet
# -*- mode: snippet -*-
# name: sub
# key: sub
# expand-env: ((yas-indent-line 'fixed))
# --
-- this is the subscriptions function that returns a
-- Sub Msg tells the run time to subscribe to something.
subscriptions : Model -> Sub Msg
View view snippet
# -*- mode: snippet -*-
# name: view
# key: view
# expand-env: ((yas-indent-line 'fixed))
# --
-- this is the view function that describes
-- how we want the elements of the page to be structured.
view : Model -> Html Msg
View update snippet
# -*- mode: snippet -*-
# name: update
# key: update
# expand-env: ((yas-indent-line 'fixed))
# --
-- these are the initial Msg(s) that the update function looks for
-- the update only returns a tuple. and that is all.
type Msg
= $1 $2
View model snippet
# -*- mode: snippet -*-
# name: model
# key: model
# expand-env: ((yas-indent-line 'fixed))
# --
{-| $1 the Model will to hold the state of your application
-}
type alias $2 = -- insert Model here
View start snippet
# -*- mode: snippet -*-
# name: start
# key: start
# expand-env: ((yas-indent-line 'fixed))
# --
module Main exposing (..)
{-| available snippets
docstring
alias
View .emacs backup
;;GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2)
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
View TextFields-Main.elm
module Main exposing (..)
-- import some needed libraries
import Html exposing (Html, Attribute, beginnerProgram, div, input, text)
import Html.Attributes exposing (..)
import Html.Events exposing (onInput)
import String
-- MAIN start/entry to program
You can’t perform that action at this time.