Skip to content

Instantly share code, notes, and snippets.

@plietar
plietar / README.md
Last active March 15, 2024 15:50
orderly export demo

Publishing orderly packets to a GitHub pages.

Start by exporting the packets to a new folder, in this case ../static.

packets <- orderly_search("latest(name == 'analysis')")
orderly_export_static_location("../static", packets)

Turn the static directory into a Git repo and push its contents to the gh-pages branch of your repository.

SRC:=main.cpp
NAMES:= \
gcc-o2 \
gcc-o3 \
gcc-o3-alderlake \
clang-o2 \
clang-o3 \
clang-o3-alderlake
BINS:=$(addprefix main-,$(NAMES))
package uk.co.gresearch.natlang.client;
import uk.co.gresearch.natlang.client.dtos.ChallengeDto;
import uk.co.gresearch.natlang.client.dtos.ChallengeQuestionDto;
import uk.co.gresearch.natlang.client.dtos.StandardChallengeSubmissionDto;
import java.util.HashMap;
import java.util.Random;
public class QueryChallengeSolver {
@plietar
plietar / main.pony
Created April 3, 2018 22:39
Shared via Pony Playground
actor Main
new create(env: Env) =>
env.out.print("Hello, world!")
@plietar
plietar / playground.pony
Created April 3, 2018 22:37
Shared via Pony Playground
actor Main
new create(env: Env) =>
env.out.print("Hello, world!")
@plietar
plietar / playground.pony
Created April 3, 2018 22:36
Shared via Pony Playground
actor Main
new create(env: Env) =>
env.out.print("Hello, world!")
@plietar
plietar / playground.pony
Created April 3, 2018 22:35
Shared via Pony Playground
actor Main
new create(env: Env) =>
env.out.print("Hello, world!")
@plietar
plietar / default_ai.rb
Created June 14, 2016 10:20
Default AI
angle = rand * 2 * Math::PI
@dx = Math::cos(angle)
@dy = Math::sin(angle)
def run(player, world)
angle = rand * Math::PI / 2 - Math::PI / 4
c = Math::cos(angle)
s = Math::sin(angle)
lawrencejones at MacBookPro in .../lawrencejones/Projects/rails on (master)
λ ~> time g log --oneline -- README.md
7bbc6d6 Fix links in README for code [ci skip]
051b00c Merge pull request #17264 from claudiob/add-activejob-to-readme
b0ecbc8 Link to ActiveModel’s README in "Welcome to Rails"
8d66866 Add ActiveJob to "Welcome to Rails" section
d9b1c9b Update README.md
57fe5fd [ci skip] update wiki link for MVC
752e7a1 Use SVG version of travis build status badge [skip ci]
4f5aff9 updated Travis build status image url
@plietar
plietar / Makefile
Created June 15, 2014 11:23
openwrt shairport Makefile
include $(TOPDIR)/rules.mk
PKG_NAME:=shairport
PKG_VERSION:=1.0
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/abrasive/shairport.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=HEAD