Skip to content

Instantly share code, notes, and snippets.

@jromero
jromero / testing.md
Last active August 28, 2020 16:34
Prototype of testing within Markdown

OPTION 1

Add HTML comments.

Example (see source)

First, we'll create a sample Ruby app that you can use when developing your buildpack:

@jromero
jromero / README.md
Created May 18, 2020 12:47
buildpacks plugin for docker CLI

Summary

This is a proof-of-concept for integrating Cloud Native Buildpacks into the Docker CLI. The purpose for this is to provide an app developer centric expirience within a common interface.

Going Further

  • Instead of propogating to pack build it would be ideal to have a standalone CLI application that is tailored to this use case which using pack as a library. Doing this would allow for a singular install.
  • Alternatively, pack could provide a command similar to pack completion that would install the docker CLI plugin similar to this PoC.

Keybase proof

I hereby claim:

  • I am jromero on github.
  • I am javierrom_ (https://keybase.io/javierrom_) on keybase.
  • I have a public key ASBXnpm_QHCe7MtHaNe1peLyT5eEPCkFGKERTzbnDRH2fQo

To claim this, I am signing this object:

@jromero
jromero / hello.txt
Created January 2, 2020 20:46
Hello World
hello
@jromero
jromero / setup_nano_node.sh
Created July 4, 2019 16:00
Setup nano node on Centos 7
# 1. add repo
sudo yum-config-manager --add-repo https://repo.nano.org/nanocurrency.repo
# 2. install
sudo yum install nanocurrency
# 3. start
sudo systemctl start nanocurrency
# 4. enable rpc - set "rpc_enable" to "true"
@jromero
jromero / main.dart
Last active December 11, 2018 15:32
SO: 53723294 repro
import 'package:flutter/material.dart';
import 'package:virgil/virgil.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
@jromero
jromero / slideshow.html
Created October 17, 2018 18:33
Single page reveal.js sample
<!doctype html>
<html>
<head>
<!-- CDN: https://www.jsdelivr.com/package/npm/reveal.js -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>reveal.js</title>
@jromero
jromero / oracle_foreign_keys.sql
Created June 27, 2018 14:52
Enable / Disable Foreign Key Constraints in Oracle
DECLARE
/* The name of the schema that should be synchronized. */
SCHEMA_NAME_ VARCHAR2(4000) := 'YOUR_SCHEMA';
/* The operation type: */
/* ON — enable foreign keys. */
/* OFF — disable foreign keys. */
OPERATION_ VARCHAR2(4000) := 'OFF';
PROCEDURE CONSTRAINTS_ON_OFF(TARGET_SCHEMA_ IN VARCHAR2, ACTION_ IN VARCHAR2 := '')
// ==UserScript==
// @name BetterStashPullRequestList
// @namespace https://gist.github.com/
// @version 0.1
// @description Add filtering and row highlighting
// @author You
// @match http://YOUR_STASH/projects/PROJECT/repos/REPO/pull-requests
// @grant none
// ==/UserScript==
@jromero
jromero / NO NONSENSE BEERWARE LICENSE
Created October 11, 2014 18:39
Based on the poorly worded "THE BEER-WARE LICENSE" by Poul-Henning Kamp.
NO NONSENSE BEERWARE LICENSE
Version 1
You can do whatever you want with this stuff. If we meet some day, and
you think this stuff is worth it, you can buy me/us a beer in return.