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 (builtins.fetchGit { | |
# Descriptive name to make the store path easier to identify | |
name = "vscode-1.32.3"; | |
url = https://github.com/nixos/nixpkgs/; | |
# Commit hash for vscode-1.32.3 | |
rev = "2c6876d81bee4e0dcfc4bdcf29f391f6f5152c78"; | |
}) {} |
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
Moving from top to bottom: | |
Left side: | |
Top box (left side): | |
Normal: Unit { value: Matrix { data: [0.8320503, 0.5547002] } } | |
Depth: -3.6055512 | |
Bottom box (left side): | |
Normal: Unit { value: Matrix { data: [0.5547002, 0.8320503] } } | |
Depth: -3.6055512 | |
Right side: |
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
7:11.54 /home/drager/src/gecko-dev/media/libjpeg/jmemnobs.c: In function ‘jpeg_mem_available’: | |
7:11.54 /home/drager/src/gecko-dev/media/libjpeg/jmemnobs.c:75:39: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] | |
7:11.54 if (cinfo->mem->max_memory_to_use > already_allocated) | |
7:11.54 ^ | |
7:16.87 modules/brotli | |
7:19.28 during GIMPLE pass: lower | |
7:19.28 In file included from /home/drager/src/gecko-dev/obj-x86_64-pc-linux-gnu/dist/include/js/TracingAPI.h:11, | |
7:19.28 from /home/drager/src/gecko-dev/obj-x86_64-pc-linux-gnu/dist/include/js/GCPolicyAPI.h:44, | |
7:19.28 from /home/drager/src/gecko-dev/obj-x86_64-pc-linux-gnu/dist/include/js/RootingAPI.h:22, | |
7:19.28 from /home/drager/src/gecko-dev/obj-x86_64-pc-linux-gnu/dist/include/js/CallArgs.h:73, |
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
let test = | |
<View> | |
<ReactNativeMaterialUi.ListItem | |
centerElement={ | |
primaryText: "Primary", | |
secondaryText: None, | |
tertiaryText: None | |
} | |
rightElement=(<Text value="Right" />) | |
leftElement=(<Text value="Left" />) |
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
// Generated by BUCKLESCRIPT VERSION 2.1.0, PLEASE EDIT WITH CARE | |
'use strict'; | |
var ReasonReact = require("reason-react/lib/js/src/ReasonReact.js"); | |
var MaterialIcons = require("react-native-vector-icons/MaterialIcons"); | |
console.log(MaterialIcons.Icon); | |
function make(name, color, size, children) { | |
return ReasonReact.wrapJsForReason(MaterialIcons.Icon, { |
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
type alias Sessions = | |
Dict SessionId Connection | |
type alias Connection = | |
{ host : String | |
, portNumber : Int | |
, username : String | |
, connected : Bool | |
} |
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 Form exposing (Form) | |
import Form.Validate as Validate exposing (field, map3, Validation) | |
import Form.Field | |
import Http | |
import Dict exposing (Dict) | |
import Json.Decode as Decode | |
import Json.Encode as Encode | |
type alias Connection a = | |
{ a |
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
port module Ports exposing (..) | |
import Json.Encode | |
type alias Key = | |
String | |
type alias Value = |
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
view : Model -> Html Msg | |
view model = | |
div [] | |
[ (case model.weather of | |
Just value -> | |
case List.head value.value of | |
Just first -> | |
(case Date.fromString (toString (first.date)) of | |
Result.Ok date -> | |
formatDate date |
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
#[derive(Debug, Clone, Deserialize)] | |
pub struct Location { | |
#[serde(rename="LocationName")] | |
pub name: String, | |
pub fullName: String, | |
#[serde(rename="Priority")] | |
pub priority: u32, | |
#[serde(rename="Order")] | |
pub order: u32, | |
} |
NewerOlder