Skip to content

Instantly share code, notes, and snippets.

View alexander-mart's full-sized avatar
💭
☮️

Alexander Mart alexander-mart

💭
☮️
View GitHub Profile
@alexander-mart
alexander-mart / postman-deb.sh
Created December 6, 2017 14:40 — forked from SanderTheDragon/postman-deb.sh
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
#!/bin/sh
versionMaj="1"
versionMin="0"
versionRev="1"
version="$versionMaj.$versionMin-$versionRev"
echo "Removing old Postman tarballs"
rm -f $(ls Postman*.tar.gz)
@alexander-mart
alexander-mart / post-commit
Created February 2, 2018 19:39 — forked from mashihua/post-commit
Git commit hook for trello.com
#!/usr/bin/env node
//please requist your app token from
//https://trello.com/1/connect?key=yourkey&name=git-hook&expiration=never&response_type=token&scope=read,write
var key = "your key";
var token = "your token";
//https://trello.com/board/-/4e9003324a517dad44465056
var board_id = "4e9003324a517dad44465056";
var Trello = require("node-trello");
@startuml
package "PlantUML Repository" {
[Gitlab]
[Github]
[Github Gist]
[中文仓库]
}
[PlantUMLRenderServlet] --> [Gitlab]
@alexander-mart
alexander-mart / .block
Last active September 17, 2018 17:01 — forked from mbostock/.block
Collapsible Tree v2
license: gpl-3.0

Fibery domain

graph LR
	style Customer fill:yellow
	style Epic fill:aquamarine
	style Feature fill:yellowgreen
	style Task fill:cornflowerblue
	style Sprint fill:mediumpurple
#asana_main>div.asanaView-bodyContainer>div.asanaView-body,
#asana_main>div.asanaView-bodyContainer>div.asanaView-body>div:nth-child(1),
#asana_main>div.asanaView-bodyContainer>div.asanaView-body>div:nth-child(4),
#asana_main>div.remix-topbar,
#asana_main>div.remix-topbar>div,
#asana_main>div.remix-topbar>div.react-mount-node>div>div,
#center_pane__contents>div>div>div.loading-boundary.hidden>div>div,
#grid>tbody,
.PageHeaderCollapsedStructure,
.TeamOverview,
#!/bin/bash
# Connect to TerminusDB and dump all data (RDF-triplets) to local file
# https://gist.github.com/alexander-mart/ff1c896f55e5cc7774e922e3f977961b
# Access the TerminusDB CLI from the Docker Compose:
# https://terminusdb.com/docs/install-terminusdb-as-a-docker-container/#usingthecli
# TerminusDB dump command:
# https://terminusdb.com/docs/terminusdb-cli-commands/#triplesdump
@alexander-mart
alexander-mart / Code.gs
Last active May 19, 2024 23:44
Ramda v0.30.0 for Google Apps Script
function myFunction() {
const R = ramda.R; // Import Ramda
// Example of using Ramda:
const a = R.split('.', 'asdf.b.c.d')
Logger.log('a')
Logger.log(a) // [asdf, b, c, d]
}