Skip to content

Instantly share code, notes, and snippets.

View icholy's full-sized avatar
💥
breaking things

Ilia Choly icholy

💥
breaking things
View GitHub Profile
@icholy
icholy / foo.c
Last active November 5, 2018 16:06
// we want to write a constructor function
// for this structure
typedef struct {
char* bar;
char* baz;
size_t baz_len;
} Foo;
@icholy
icholy / thing.css
Last active September 27, 2018 18:01
.button(
block,
className,
destructive,
disabled,
loading,
outline,
pill,
plain,
/**
* Same as joinPath, but preserves http(s):// schemes
*
* @param segments Url segments to join
* @return Joined url
*/
function joinUrl(...segments: string[]): string {
if (segments.length === 0) {
return "";
}
package main
import (
"fmt"
"sync"
"time"
)
// Waiter allows multiple clients to wait until a certain sequence number has been reached
type Waiter struct {
@icholy
icholy / build.py
Last active August 15, 2018 18:29
#!/usr/bin/env python
import errno
import os
import subprocess
import sys
import shutil
import glob
import tarfile
import os.path
#!/bin/bash
# This script takes a remote repository and merges it into
# the current one as a subdirectory
set -e
if [ -z "$1" ]
then
echo "Usage:"
#!/bin/bash
# This script takes a remote repository and merges it into
# the current one as a subdirectory
if [ -z "$1" ]
then
echo "Usage:"
echo " ./merge_repo.sh <repository> [name]"
exit
type Checker struct {
err error
}
func (c *Checker) Check(cond bool, err error) {
if !cond && c.err == nil {
c.err = err
}
}
// Type definitions for GeoJSON Format Specification
// Project: http://geojson.org/
// Definitions by: Jacob Bruun <https://github.com/cobster/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace GeoJSON;
/**
* http://geojson.org/geojson-spec.html#geojson-objects
*/

build the top level project

git clone https://github.com/pentaho/pentaho-kettle.git
cd pentaho-kettle
git checkout 8.0.0.4
mvn clean install -DskipTests

We need the ui XUL files from the final assembly