- @kokobdgh:matrix.org
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
tasks: | |
- name: Setup | |
before: | | |
# Make sure some folders not in /workspace persist between worksapce restarts. | |
# You may add additional directories to this list. | |
declare -a CACHE_DIRS=( | |
$HOME/.local | |
$HOME/.cabal | |
$HOME/.stack | |
$HOME/.ghcup |
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
{ | |
"Language Extensions": { | |
"prefix": "LAN", | |
"body": [ | |
"{-# LANGUAGE ${1|Haskell98,Haskell2010,Unsafe,Trustworthy,Safe,AllowAmbiguousTypes,NoAllowAmbiguousTypes,AlternativeLayoutRule,NoAlternativeLayoutRule,AlternativeLayoutRuleTransitional,NoAlternativeLayoutRuleTransitional,Arrows,NoArrows,AutoDeriveTypeable,NoAutoDeriveTypeable,BangPatterns,NoBangPatterns,BinaryLiterals,NoBinaryLiterals,CApiFFI,NoCApiFFI,CPP,NoCPP,ConstrainedClassMethods,NoConstrainedClassMethods,ConstraintKinds,NoConstraintKinds,DataKinds,NoDataKinds,DatatypeContexts,NoDatatypeContexts,DefaultSignatures,NoDefaultSignatures,DeriveAnyClass,NoDeriveAnyClass,DeriveDataTypeable,NoDeriveDataTypeable,DeriveFoldable,NoDeriveFoldable,DeriveFunctor,NoDeriveFunctor,DeriveGeneric,NoDeriveGeneric,DeriveLift,NoDeriveLift,DeriveTraversable,NoDeriveTraversable,DerivingStrategies,NoDerivingStrategies,DisambiguateRecordFields,NoDisambiguateRecordFields,DoAndIfThenElse,NoDoAndIfThenElse,DoRec,NoDoRec,DuplicateRecordFields,NoDuplicateRecordFie |
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
#pragma once | |
#ifdef __JETBRAINS_IDE__ | |
#define __global__ | |
#define KERNEL_CALL2(f, m, n) f | |
#else |
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
#!/usr/bin/env stack | |
{- stack | |
script | |
--resolver lts-13.12 | |
--package shake | |
-} | |
import Development.Shake | |
import Development.Shake.Command | |
import Development.Shake.FilePath |
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
cmake_minimum_required(VERSION 3.13) | |
project(gtk_demo C) | |
set(CMAKE_C_STANDARD 99) | |
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) | |
find_package(GTK3 REQUIRED) | |
add_executable(gtk_demo |
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
{-# LANGUAGE OverloadedStrings #-} | |
{-| | |
/ Generated for material-ui-v1.0.0-beta.35 / | |
Wraps 'material-ui', a javascript library that provides Material style | |
React components. Note that you need to link to the UMD file of 'material-ui' | |
in your HTML. | |
For each combinator in this module, the first parameter is the properties, |
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
/* | |
GHCJSi communication | |
reads messages from stdin, sends over stderr | |
*/ | |
var h$GHCJSiRecord = // true || | |
!!process.env['GHCJS_RECORD_GHCJSI']; | |
var h$GHCJSiPort = process.env['GHCJSI_PORT'] || 6400; |
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 javafx.fxml.FXMLLoader; | |
import javafx.scene.Parent; | |
import java.io.IOException; | |
public final class FXMLUtil { | |
/** | |
Suppose you want to create a custom component called MyComponent. | |
You create a class named MyComponent and an FXML file named MyComponent.fxml, |