Skip to content

Instantly share code, notes, and snippets.

View luisabarca's full-sized avatar
🏠
Working from home

Luis Abarca luisabarca

🏠
Working from home
View GitHub Profile
@rxaviers
rxaviers / gist:7360908
Last active May 8, 2025 14:24
Complete list of github markdown emoji markup

People

:bowtie: :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:
@paulstatezny
paulstatezny / patterns-of-enterprise-application-architecture.md
Last active March 5, 2025 19:48
Notes from Patterns of Enterprise Application Architecture by Martin Fowler

Patterns of Enterprise Application Architecture

By Martin Fowler (2002)

Chapter 1: Layering

A basic example of layering: FTP < TCP < IP < Ethernet

Benefis of layering:

  • You can understand a layer without knowing much about the others.
  • Minimize dependencies.
@mat
mat / Readme.markdown
Last active April 28, 2025 01:44
apple-app-site-association —with examples

“apple-app-site-association” file

One file for each domain, both www.example.com and example.com need separate files:

{
    "applinks": {
        "apps": [],
        "details": {
 "9JA89QQLNQ.com.apple.wwdc": {
/**
* ================== angular-ios9-uiwebview.patch.js v1.1.1 ==================
*
* This patch works around iOS9 UIWebView regression that causes infinite digest
* errors in Angular.
*
* The patch can be applied to Angular 1.2.0 – 1.4.5. Newer versions of Angular
* have the workaround baked in.
*
* To apply this patch load/bundle this file with your application and add a
def instacheck(name)
unless /[a-z0-9._]{,30}/.match(name)
return false
end
if /\.\./.match(name)
return false
end
@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active April 24, 2025 23:08
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@renventura
renventura / full-width-dashboard-widget.php
Created January 28, 2016 17:15
Add a full-width dashboard widget in WordPress
<?php // Mind this opening PHP tag
/**
* Adds hidden content to admin_footer, then shows with jQuery, and inserts after welcome panel
*
* @author Ren Ventura <EngageWP.com>
* @see http://www.engagewp.com/how-to-create-full-width-dashboard-widget-wordpress
*/
add_action( 'admin_footer', 'rv_custom_dashboard_widget' );
function rv_custom_dashboard_widget() {
@abcsds
abcsds / Maracuyá.md
Created March 16, 2016 18:31
Receta para licor de maracuyá

Licor de maracuyá

  1. Calculen cuánto maracuyá quieren usar. Digamos que usan 2 kg de maracuyá para este ejemplo. (Pesados con todo y cáscara)
  2. Los abren y les sacan todo el contenido (chequen que no estén agusanados) y lo colocan en un recipiente
  3. Licúan la pulpa de manera que se suelten las semillas, o sea en la velocidad mínima y por nó más de un minuto. (No quieren trozarlas todas y tener licor de semilla).
  4. Lo cuelan todo para quitarle las semillas. Esto toma un rato y hay que estarle moviendo porque la pulpa atasca la coladera.
  5. Una vez colado, una o dos veces le agregan aguardiente en una cantidad igual a la mitad del peso original del maracuyá en litros (2kg * 0.5 = 1lt de aguardiente. El aguardiente lo pueden conseguir en alguna mezcalería en el centro o de plano en una licorería. No gasten más de 100 pesos en eso, por muy caro y que no tenga ya sabor, que sea natural; de caña puede ser)
  6. Lo revuelven bien un ratillo
  7. Lo ponen en un recipiente (yo diría que de vidrio) en total osc
@fer-ri
fer-ri / background-image.ts
Created May 24, 2016 06:33
Background Image Style Directive for Angular 2 and Ionic 2
import {Directive, ElementRef, Input} from '@angular/core';
@Directive({
selector: '[background-image]'
})
export class BackgroundImage {
private el: HTMLElement;
constructor(el: ElementRef) {
this.el = el.nativeElement;
@josemarimanio
josemarimanio / install_pyenv_mac_zsh.rst
Created May 13, 2020 12:13
Installing pyenv on macOS for Zsh using Homebrew