Skip to content

Instantly share code, notes, and snippets.

@m-revetria
m-revetria / machine.js
Last active October 28, 2021 02:41
Generated by XState Viz: https://xstate.js.org/viz
const encoderStates = {
initial: 'streaming',
states: {
streaming: {
on: {
ENCODER_STOPPED: 'paused',
},
},
paused: {
on: {
@m-revetria
m-revetria / SSLPoke.java
Created February 14, 2019 19:46 — forked from 4ndrej/SSLPoke.java
Test of java SSL / keystore / cert setup. Check the commet #1 for howto.
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import java.io.*;
/** Establish a SSL connection to a host and port, writes a byte and
* prints the response. See
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services
*/
public class SSLPoke {
public static void main(String[] args) {
@m-revetria
m-revetria / mock-ajax.js
Last active August 29, 2015 13:56 — forked from zachlendon/gist:5295365
Jasmine Ajax for Ext
/*
Jasmine-Ajax : a set of helpers for testing AJAX requests under the Jasmine
BDD framework for JavaScript.
Supports both Prototype.js and jQuery.
https://github.com/pivotal/jasmine-ajax
Jasmine Home page: http://pivotal.github.com/jasmine
Pod::Spec.new do |s|
s.name = "XLKit"
s.version = "0.2.1"
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
Copyright 2014 Xmartlabs. All rights reserved.
LICENSE
}
@m-revetria
m-revetria / leeme.txt
Last active December 21, 2015 21:48
Install & configure Jenkins for iOS using git
En este archivo se explica como instalar Jenkins CI configurado para armar proyectos iOS.
Jenkins es una herramienta para monitorear la ejecucion repetitiva de trabajos, como por
ejemplo, la compilacion de proyectos de software. Jenkins se enfoca en las siguientes
tareas:
1. Armado/testing de proyectos de software de forma continuamente.
2. Monitorear trabajos ejecutados externamente.
El equipo utilizado tiene las siguientes caracteristicas:
@m-revetria
m-revetria / bottom_footer.html
Last active December 21, 2015 14:39
Template to valign footer always to bottom of page. Based on: http://ryanfait.com/sticky-footer/