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
* { | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
background: #777; | |
} |
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
ret=0; | |
for(i= 1 to TOO_BIG){ | |
for(j= 1 to i){ | |
for(k= 1 to j){ | |
for(l= 1 to k){ | |
tmp=notSoHeavyTask(i, j, k, l); | |
ret=tmp if(ret < tmp); | |
} | |
} | |
} |
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
(function (window) { | |
// in nodejs, global is an object | |
// in normal browser environment, global is undefined | |
// in webpack, global is set to window | |
var isNodeJs = typeof global !== "undefined" && global.window === undefined; | |
var isCommonJs = typeof module === "object" && module && typeof module.exports === "object"; | |
// require, that the nodejs will handle, but will remain not processed by webpack and the like | |
var obfuscatedRequire = function (moduleName) |
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 Default | |
exposing | |
( Default | |
, default | |
, int | |
, string | |
, maybe | |
, stubTask | |
) |
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 Sample exposing (..) | |
import Json.Decode exposing (..) | |
type alias ManyFields = | |
{ field1 : Int | |
, field2 : String | |
, field3 : String | |
, field4 : String |
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 EmbeddedGist exposing (unsafeEmbeddedGist) | |
import Html exposing (Html) | |
main : Html msg | |
main = | |
Html.div | |
[] |
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
message = "This is an example gist file." |
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
foo = "This is the first file of this gist" |
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
<html> | |
<head> | |
<style> | |
.box { | |
position: relative; | |
border-radius: 0.4em; | |
border: solid 2px #333; | |
margin-top: 1em; | |
} |
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
{-# START_FILE package.yaml #-} | |
name: {{name}} | |
version: "0.1.0.0" | |
category: {{category}}{{^category}}Web{{/category}} | |
# synopsis: | |
# description: | |
license: "MIT" | |
author: {{author-name}}{{^author-name}}Author name here{{/author-name}} | |
copyright: {{copyright}}{{^copyright}}{{year}}{{^year}}2018{{/year}} {{author-name}}{{^author-name}}Author name here{{/author-name}}{{/copyright}} | |
maintainer: {{author-email}}{{^author-email}}[email protected]{{/author-email}} |