I hereby claim:
- I am d-mart on github.
- I am dmartinez (https://keybase.io/dmartinez) on keybase.
- I have a public key whose fingerprint is 0D04 04A4 C6F7 F9CA C8DF 23C9 AC2A C8D4 DEE4 78FC
To claim this, I am signing this object:
# from comments http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export | |
git archive --format=tar --remote=ssh://remote_server/remote_repository master | (cd /path/to/dir/ && tar -xf -) | |
# reset author | |
git commit --amend --reset-author -C HEAD | |
# show changes made from a paricular commit (diff format) | |
git show --pretty="format:" d2e4b49 | |
git show --pretty="format:" --name-only d2e4b49 |
# | |
# Domain Validator by Frank Rietta | |
# (C) 2012 Rietta Inc. All Rights Reserved. | |
# Licensed under terms of the BSD License. | |
# | |
# To use in a validation, add something like this to your model: | |
# | |
# validates :name, :domain => true | |
# | |
class DomainValidator < ActiveModel::EachValidator |
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
# | |
# woof -- an ad-hoc single file webserver | |
# Copyright (C) 2004-2009 Simon Budig <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
############### | |
## Tmux Settings | |
############### | |
## To start a second 'view' of a session in another shell | |
# tmux new-session -t <session_name> | |
## Later, kill that second session (see 'tmux ls') linked to the first | |
# tmux kill-session -t 2 | |
## set Ctrl-a to prefix instead of Ctrl-b |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
SED=gsed # osx, install via brew | |
#SED=sed # linux | |
######################################################################## | |
# Name of certs and keys and client ovpn script | |
# | |
client_name="$1" | |
ca="ca.crt" | |
cert="${client_name}.crt" |
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
#!/usr/bin/env bash | |
set -e | |
## Prereqs: | |
## brew install heroku | |
## brew install kafkacat | |
## heroku login -i | |
## Usage exmaple | |
## $ APP=roadie-admin-qa ./kafka-listener.sh gig.events |
select distinct | |
pt.id, | |
pt.gig_id, | |
pt.amount, | |
pt.status, | |
pt.created_at | |
from payment_transactions pt | |
join gigs g on g.id = pt.gig_id | |
join gig_tip_logs pre_tip_log on pre_tip_log.gig_id = g.id and pre_tip_log.operation = 0 | |
left join gig_tip_logs tip_confirmed_log on tip_confirmed_log.gig_id = g.id and tip_confirmed_log.operation = 1 |