Skip to content

Instantly share code, notes, and snippets.

View quest's full-sized avatar
👨‍💻

Victor San Martin quest

👨‍💻
View GitHub Profile
@SleepWalker
SleepWalker / .editorconfig
Last active December 4, 2023 12:02
tuya-localKey-demo
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@nicolaslopezj
nicolaslopezj / CallOrionx.js
Last active March 27, 2018 22:03
Llamar a Orionx desde Node
import JSSHA from 'jssha'
import rp from 'request-promise'
export default async function(query, variables, apiKey, apiSecretKey) {
// New actual Time-Stamp
const timestamp = new Date().getTime() / 1000
const body = JSON.stringify({query, variables})
const shaObj = new JSSHA('SHA-512', 'TEXT')
shaObj.setHMACKey(apiSecretKey, 'TEXT')
@raulghm
raulghm / semantic_versioning.md
Last active August 29, 2015 14:26
Semantic Versioning

Semantic Versioning

1.2.3

major minor patch
1 2 3

major: incompatible API changes

@jakebellacera
jakebellacera / ICS.php
Last active March 11, 2025 21:41
A convenient script to generate iCalendar (.ics) files on the fly in PHP.
<?php
/**
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*