Minor updates to Kevin Schaul's reusable radar chart of whiskey flavors.
Data source: https://www.mathstat.strath.ac.uk/outreach/nessie/nessie_whisky.html
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Ant sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Copyright (c) Rich Hickey. All rights reserved. | |
; The use and distribution terms for this software are covered by the | |
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php) | |
; which can be found in the file CPL.TXT at the root of this distribution. | |
; By using this software in any fashion, you are agreeing to be bound by | |
; the terms of this license. | |
; You must not remove this notice, or any other, from this software. | |
;dimensions of square world |
# United States of America Python Dictionary to translate States, | |
# Districts & Territories to Two-Letter codes and vice versa. | |
# | |
# Canonical URL: https://gist.github.com/rogerallen/1583593 | |
# | |
# Dedicated to the public domain. To the extent possible under law, | |
# Roger Allen has waived all copyright and related or neighboring | |
# rights to this code. Data originally from Wikipedia at the url: | |
# https://en.wikipedia.org/wiki/ISO_3166-2:US | |
# |
Minor updates to Kevin Schaul's reusable radar chart of whiskey flavors.
Data source: https://www.mathstat.strath.ac.uk/outreach/nessie/nessie_whisky.html
(ns apples.core | |
(:require [play-clj.core :refer :all] | |
[play-clj.g2d :refer :all] | |
[play-clj.math :refer :all])) | |
(declare apples main-screen) | |
(def speed 14) | |
(defn- get-direction [] | |
(cond |
#!/bin/bash | |
# This script will copy the newly compiled lwjgl.so and libopenal.so | |
# from the specified directory into the correct minecraft jar file. | |
# It will then compute and update the correct sha1sum. | |
# | |
# First Arguement (Required): | |
# Path to the directory containing: | |
# lwjgl.so and libopenal.so | |
# |
(defmacro deftrack | |
"Defines an instrument with frequency, duration, volume, position and wet pre-defined. | |
NB: these variables will shadow any instances in a wider scope. | |
(deftrack simple [vibrato 3] | |
(* (saw frequency) (sin-osc vibrato)) ; Signal | |
(adsr)) ; Envelope | |
(simple :frequency 440 :position -1 :wet 1) |
# EPIC Daily “Blue Marble” API | |
The API URL is: http://epic.gsfc.nasa.gov/api/images.php | |
This gets you a list of the latest day’s images & metadata. | |
OR | |
http://epic.gsfc.nasa.gov/api/images.php?date=YYYY-M-D&w=X&e=Y |
# | |
# Himawari-8 Downloader | |
# | |
# | |
# | |
# This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image, | |
# converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background. | |
# | |
# http://himawari8.nict.go.jp/himawari8-image.htm | |
# |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
#! /bin/bash | |
# | |
# -SCOPE | |
# This script will replace the shared library files lwjgl.so and libopenal.so | |
# contained in the minecraft lwjgl *natives-linux.jar with those in a specified | |
# directory and update the associated sha1sum. | |
# The purpose of this is to enable playing of "standard" minecraft | |
# on non x86 / i386 chipsets running linux. Eg. ARM. | |
# | |
# -IMPORTANT |