Skip to content

Instantly share code, notes, and snippets.

View c3s4r's full-sized avatar

Cesar Salazar c3s4r

View GitHub Profile
{
"$id": "https://example.com/geographical-location.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Longitude and Latitude",
"description": "A geographical coordinate on a planet (most commonly Earth).",
"required": [ "latitude", "longitude" ],
"type": "object",
"properties": {
"latitude": {
"type": "number",
@c3s4r
c3s4r / candidates.table.yaml
Created July 29, 2019 15:49
Table Definition Sample - Smartmate 2
id: candidates
type: table
spec:
tableName: Candidates
itemName: Candidate
summary:
title: ${firstName} ${lastName}
subtitle: ${email}
fields:
Chosen Option:
==============
columns:
firstName:
type: text // default widget is input
required: true
email:
@c3s4r
c3s4r / Compilation
Created December 21, 2016 19:52
GRPC Gateway notes
Following the guide at:
https://github.com/grpc-ecosystem/grpc-gateway
# Had to run these comands to fix errors of autogen.sh
brew install automake
brew install libtool
@c3s4r
c3s4r / Instructions
Last active September 11, 2023 08:34 — forked from koola/selenium_node_install.bat
Install Selenium grid node as a windows service
Copy both files in a folder like c:\Selenium-install
Modify the selenium_node_install.bat accordingly
If you want to use MicrosoftEdge, before running the script you must install the webDriver: https://www.microsoft.com/en-us/download/details.aspx?id=48212
If you want to use IE11, you must follow this instructions, for it to work: http://www.michael-whelan.net/selenium-webdriver-and-ie11/
You could also modify the selenium_node_install.bat if needed
Once ready, run the selenium_node_install.bat file, run it as Administrator
A service will be created.
@c3s4r
c3s4r / gist:69e248dc982aad728bc461e83b549be8
Created June 10, 2016 21:34
Cambios a docker para que funcione el emulador
RUN cp -r ${ANDROID_HOME}/tools ${ANDROID_HOME}/tools2 \
&& ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | ${ANDROID_HOME}/tools2/android update sdk --no-ui \
&& ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | ${ANDROID_HOME}/tools2/android update sdk --no-ui --filter sys-img-armeabi-v7a-android-23,sys-img-x86_64-android-23 \
&& rm -rf /opt/android-sdk-linux/tools \
&& unzip /opt/android-sdk-linux/temp/tools_*.zip -d /opt/android-sdk-linux \
&& rm -rf /opt/android-sdk-linux/temp/* \
&& rm -rf ${ANDROID_HOME}/tools2