Skip to content

Instantly share code, notes, and snippets.

@glnds
glnds / aws-transfer-sftp.yaml
Last active February 23, 2024 09:53
CloudFormation template for AWS Transfer for SFTP
---
AWSTemplateFormatVersion: '2010-09-09'
Description: some-sftp-server
Parameters:
HostedZoneIdParam:
Type: String
Description: Hosted Zone ID
SFTPHostnameParam:
Type: String

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@glnds
glnds / README-Template.md
Last active October 10, 2023 09:19 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Name

Project description: A good description is clear, short, and to the point. Describe the importance of your project, and what it does.

(Table of Contents)

Optionally, include a table of contents in order to allow other people to quickly navigate especially long or detailed READMEs.

Getting Started

Prerequisites

What things you need to install before you can statrt installing the software itself.

Keybase proof

I hereby claim:

  • I am glnds on github.
  • I am glnds (https://keybase.io/glnds) on keybase.
  • I have a public key ASCLPmZV76ThxnZp4J9EVyEkDFwGtfMNACmT23_uoNnQYwo

To claim this, I am signing this object:

@glnds
glnds / tmux_cheatsheet.markdown
Created October 14, 2015 06:43 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@glnds
glnds / makefile
Last active October 24, 2020 19:34
AVR assembler makefile
#
# Simple Makefile for programming Atmel AVR MCUs using avra and avrdude
#
# Assemble with 'make', flash hexfile to microcontroller with 'make flash'.
#
# Configuration:
#
# MCU -> name of microcontroller to program (see 'avrdude -p ?' for a list)
# TARGET -> target board/programmer to use (see 'avrdude -c ?' for a list)
# DEVICE -> linux device file refering to the interface your programmer is plugged in to
#! /usr/bin/env python
"""
Requeriments:
$ sudo pip install boto dnspython
Edit ~/.boto to use your AWS credentials
"""
@glnds
glnds / vim-cheatsheet.md
Last active May 15, 2023 04:30
Vim Cheatsheet

Vim Cheatsheet

vim {filename}
General
:e {filename} edit a file
:q quit
:q! quit without writing
:wa write all changed files (save all changes), and keep working
@glnds
glnds / less-cheatsheet.md
Last active March 29, 2024 03:37
Less Cheatsheet

Less Cheatsheet

less {filename}
Navigation
SPACE forward one window
b backward one window
d forward half window
@glnds
glnds / logstash.conf
Last active December 5, 2019 14:13
Logstash Glassfish server.log config
# Logstash config for Glassfish logs
# Used in combination with slf4j and logback
# Output:
# - application: glassfish
# - type: application or internal
# - categorie: technical or functional
input {
# If running logstash under a different user then check your permission to be sure that