Skip to content

Instantly share code, notes, and snippets.

View davedecoder's full-sized avatar
🎯
Focusing

David i.Rock davedecoder

🎯
Focusing
View GitHub Profile
@timclipsham
timclipsham / server-and-cloud-app-resources.js
Created August 24, 2018 02:39
A bunch of useful resources to help target Atlassian Cloud and Server products with one UI code base
// ## Server add-ons for front-end developers ##
// Great overview of how to use webpack and the latest front end tools in a P2 plugin
"https://youtu.be/2yf-TzKerVQ?t=9m4s"
// Example repo from Easy Agile to share UI code for Cloud and Server
"https://bitbucket.org/arijea/simultaneous/src/master/"
// Developing a JIRA add-on like it's 2016
// A great blog post outling how to build for both Jira Cloud and Server
"https://developer.atlassian.com/blog/2016/06/jira-add-on-dev-2016-part-1/"
@muttoni
muttoni / guitar-tuner.js
Created April 18, 2018 15:24
The lambda code to the Guitar Tuner skill we are building
/* This code has been generated from your interaction model
/* eslint-disable func-names */
/* eslint quote-props: ["error", "consistent"]*/
// There are three sections, Text Strings, Skill Code, and Helper Function(s).
// You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template.
// This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives.
@rgreenjr
rgreenjr / postgres_queries_and_commands.sql
Last active May 14, 2024 11:33
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 16, 2024 20:53
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname