Skip to content

Instantly share code, notes, and snippets.

@jromero
jromero / sybase
Created January 10, 2013 14:16
An init script for sybase for standard start, stop, restart, and status.
#!/bin/sh
#
# Startup script for Sybase ASE
#
# description: Sybase Adaptive Server Enterprise
# is a SQL database server.
# processname: dataserver
SYBASE=/opt/sybase
@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.
@jromero
jromero / custom_rules.xml
Created May 2, 2014 18:16
Ant build script xml for doing annotation preprocessing from Dagger. Port of https://github.com/excilys/androidannotations/wiki/Automating-the-Build-in-Jenkins-with-Ant
<?xml version="1.0" encoding="UTF-8"?>
<project name="******YOUR PROJECT NAME******" default="help">
<property name="apt_generated.dir" value="${basedir}/.apt_generated/" />
<target name="-pre-clean">
<delete dir="${apt_generated.dir}" verbose="${verbose}" />
<mkdir dir="${apt_generated.dir}" />
</target>
<target name="-pre-compile">

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 / CalendarGson.java
Created March 2, 2014 19:30
DateDeserializer for Gson based on different SimpleDateFormats
package org.dallasmakerspace.kiosk.data.calendar;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.dallasmakerspace.kiosk.gson.DateDeserializer;
import java.text.SimpleDateFormat;
import java.util.Date;
@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>