You need to first install GraalVM, and then set your PATH so that you
get the GraalVM binaries (incluing the GraalVM version of node).
You can then install R and Ruby via
gu -c install org.graalvm.r
gu -c install org.graalvm.ruby
| (define-module (my packages) | |
| #:use-module ((guix licenses) #:prefix license:) | |
| #:use-module (gnu packages linux) | |
| #:use-module (guix build-system trivial) | |
| #:use-module (gnu) | |
| #:use-module (guix download) | |
| #:use-module (guix git-download) | |
| #:use-module (guix packages)) | |
| (define (linux-nonfree-urls version) |
You need to first install GraalVM, and then set your PATH so that you
get the GraalVM binaries (incluing the GraalVM version of node).
You can then install R and Ruby via
gu -c install org.graalvm.r
gu -c install org.graalvm.ruby
| (defn children [item coll] | |
| (-> (filter #(= (:parent %) (:id item)) coll) | |
| seq)) | |
| (defn item-children | |
| ([get-children item coll] | |
| (if-let [xs (get-children item coll)] | |
| (map #(lazy-seq (cons item (item-children get-children % coll))) xs) | |
| (list [item nil]))) | |
| ([item coll] (item-children (memoize children) item coll))) |
| ;; | |
| ;; Making a deeply nested map by following parent-child relations between items | |
| ;; | |
| (defn make-items [n] | |
| (concat [{:id 0 :name "item-root"}] | |
| (for [x (range 1 n)] {:id x :parent (dec x) :item (format "item-%d" x)}))) | |
| (defn item-children [item coll] | |
| (if-let [children (-> (filter #(= (:parent %) (:id item)) coll) seq)] |
| (def db (atom nil)) | |
| (defn error [e] | |
| (.error js/console "An IndexedDB error has occured!" e)) | |
| (defn new [cb] | |
| (let [version 1 | |
| request (.open js/indexedDB "lokate" version)] | |
| (set! (.-onupgradeneeded request) (fn [e] | |
| (reset! db (.. e -target -result)) |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <script src="https://unpkg.com/three"></script> | |
| <script | |
| src="https://unpkg.com/three/examples/js/loaders/GLTF2Loader.js" | |
| ></script> | |
| <script src="script.js" defer="defer"></script> | |
| </head> |
| (ns canvas | |
| (:require | |
| [thi.ng.geom.gl.webgl.animator :as anim] | |
| [reagent.core :as reagent])) | |
| (defn canvas-component | |
| [props] | |
| (reagent/create-class | |
| {:component-did-mount | |
| (fn [this] |
| <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| Title="My WPF UI" Height="300" Width="300"> | |
| <StackPanel Margin="5"> | |
| <StackPanel> | |
| <Label Content="Prename:" /> | |
| <TextBox x:Name="preName" MinWidth="50"/> | |
| </StackPanel> | |
| <StackPanel> | |
| <Label Content="Surename:" /> |
django 기본 테스트는 데이터베이스 마이그레이션 덕에 느리고 번거롭기 때문에 py.test와 model_mommy를 사용해서 빠르게 테스트를 하는 방법을 소개함.
| private IEnumerator UpdateMesh() | |
| { | |
| while (true) | |
| { | |
| Vector3 min = Vector3.zero; | |
| Vector3 max = Vector3.zero; | |
| var filters = mapping.GetMeshFilters(); | |
| text.text = ""; |