Skip to content

Instantly share code, notes, and snippets.

View edudepetris's full-sized avatar

Edu Depetris edudepetris

View GitHub Profile
@edudepetris
edudepetris / 1-orgs-archetype.md
Created August 31, 2022 20:17 — forked from whatupfoo/1-orgs-archetype.md
Orgs and Teams Best Practices

Organization archetypes

The intention of this document is to provide some guidance and suggestions to customers who are wondering how they should structure organizations and teams in their GitHub Enterprise environment. The idea isn't to give hard and fast rules on which approach is better than the other, but to give examples of when one approach might be preferable to another depending on the use case.

1. A single organization with direct organization membership for repository access (not teams)

          ________________
          |     Org      |
          |    ______    |
          |   |      |\  |

| | Repo | \ |

@edudepetris
edudepetris / csr.md
Last active September 27, 2017 00:55
Como generar el CSR. AFIP
<div class="row vcard">
<div class="col-md-3 col-xs-12 widget_tally_box">
<div class="x_panel">
<div class="x_content">
<div style="text-align: center; margin-bottom: 17px">
<div class="">
<img style="display: block;" alt="User" class="img-circle profile_img photo" src="/images/user.png">
</div>
</div>
@edudepetris
edudepetris / rubocop.yml
Last active March 9, 2016 20:07
Plum Cop for Ruby & Rails
---
AllCops:
Exclude:
- 'doc/'
- 'coverage/'
- 'pkg/'
- 'tmp/'
Rails:
Enabled: true
#!/bin/sh
#./etc/rc.d/init.d/functions #descomente/modifique para su killproc
case "$1" in
start)
echo "Iniciando noip2..."
/usr/local/bin/noip2
;;
stop)
echo -n "Apagando noip2..."
killproc -TERM /usr/local/bin/noip2
sudo lshw -html > ~/hardware_info.html && firefox ~/hardware_info.html
/**
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
*
* @version 1.0.0
* @codingstandard ftlabs-jsv2
* @copyright The Financial Times Limited [All Rights Reserved]
* @license MIT License (see LICENSE.txt)
*/
function FastClick(e){"use strict";function t(e,t){return function(){return e.apply(t,arguments)}}var n;this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=10,this.layer=e,FastClick.notNeeded(e)||(deviceIsAndroid&&(e.addEventListener("mouseover",t(this.onMouse,this),!0),e.addEventListener("mousedown",t(this.onMouse,this),!0),e.addEventListener("mouseup",t(this.onMouse,this),!0)),e.addEventListener("click",t(this.onClick,this),!0),e.addEventListener("touchstart",t(this.onTouchStart,this),!1),e.addEventListener("touchmove",t(this.onTouchMove,this),!1),e.addEventListener("touchend",t(this.onTouchEnd,this),!1),e.addEventListener("touchcancel",t(this.onTouchCancel,th
@edudepetris
edudepetris / config.rb
Created March 13, 2014 15:44
Config middleman
require 'cordova'
after_configuration do
sprockets.append_path File.join root, 'bower_components'
end
activate :cordova
activate :automatic_image_sizes
activate :livereload
{
"name": "middleman-cordova",
"version": "0.0.1",
"authors": [
"Ryan Lindsey <ryan@pixelsonly.com>"
],
"description": "Middleman template for Cordova 3.x.x",
"main": "index.html",
"keywords": [
"Middleman",