Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@raviagheda
raviagheda / github-action-ssh.md
Last active April 17, 2024 01:09
Github Action with EC2 using SSH
@xerosai
xerosai / FACPaymentUtils.js
Last active October 2, 2020 19:25
Helper class in JavaScript that works with the First Atlantic Commerce payment gateway service. Still a work in progress but, I will turn this into an NPM module eventually
/**
* Filename: FACPaymentUtils.js
* Created by: xerosai @ 22/07/2020 11:10 AM
* @author: Simon Neufville <simon@xrscodeworks.com>
*/
const axios = require('axios');
const CryptoJS = require('crypto-js');
const xmlJS = require('xml-js');
const xml2js = require('xml2js');
@pcgeek86
pcgeek86 / Car Manufacturers.json
Last active April 1, 2024 04:17
Plain-text list of major car manufacturers
[
"Abarth",
"Alfa Romeo",
"Aston Martin",
"Audi",
"Bentley",
"BMW",
"Bugatti",
"Cadillac",
"Chevrolet",
@mollerse
mollerse / gulpfile-express.js
Last active March 28, 2021 20:07
Gulpfile for livereload + static server
var gulp = require('gulp'),
sass = require('gulp-sass'),
browserify = require('gulp-browserify'),
concat = require('gulp-concat'),
embedlr = require('gulp-embedlr'),
refresh = require('gulp-livereload'),
lrserver = require('tiny-lr')(),
express = require('express'),
livereload = require('connect-livereload')
livereloadport = 35729,
@comfuture
comfuture / manage-daemon
Created November 11, 2010 06:28
init script sample for gunicorn daemonized flask app
#!/bin/bash
gunicorn="/usr/local/bin/gunicorn"
prog="dev.maroo.info"
PROJECT_HOME="/home/maroo/sites/$prog"
pid="/var/lock/$prog"
RETVAL=0
start() {