Skip to content

Instantly share code, notes, and snippets.

View eaceto's full-sized avatar

Ezequiel Aceto eaceto

View GitHub Profile
[
{
"name":"red",
"primary":"#b71c1c",
"light":"#f05545",
"dark":"#7f0000"
},
{
"name":"green",
"primary":"#1b5e20",
@eaceto
eaceto / setup.sh
Last active June 15, 2022 17:19
EASwiftLibraryTemplate - Setup Library Script
#! /bin/sh
# Check that script is run from
SWIFT_PACKAGE="Package.swift"
if [ ! -f "$SWIFT_PACKAGE" ]; then
logError "Script should be run from the directory where $SWIFT_PACKAGE exists."
logError 'run as: /bin/zsh -c "$(curl -fsSL https://gist.githubusercontent.com/eaceto/743a8bbdb0696be36c2c03142002626f/raw/setup.sh)"'
exit -1
fi
@eaceto
eaceto / key001.pub
Last active February 23, 2022 22:27
My public key [001]
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfdXSTjJuGPsjUpU7E3bzvQXkEPbf+utnTxKwtS30XnOZ5AodU+MCpvnA4fyUswT4jFjh5U7wanLU5J+M6I4C34jU+Dj1Yp9z28/W5qmaUNWu7UnOmLTxQl0BbBgwZ0x4LEbIgM8LOhp9f0YAsdkt+bR76JTiPMRgFEfJz+JwalK3im5w2Kk6Wav/4VZkXqH3AyJtGwN9c8jpzBZgKps1uTmJp6V6Ej9pWk27nq34jlqhe76+JwGdFbt9rjrXcgYMCN47gmBAqzcGmasW/OLyxi9iwJmMd+3MhCeOv4j/MxWszY9ga+Ge/qObyOlFmFI5lZG3ZfzAueS/T/S6ARN5J openpgp:0x4E546B41
//
// FaceDetect.swift
// Base
//
// Created by Kimi on 03/07/2018.
import UIKit
import CoreImage
import AVFoundation
import ImageIO
@eaceto
eaceto / SearchViewUtils.java
Created September 2, 2016 17:30
Open Search Suggestions List
private void openSearchSuggestionsList(ViewGroup viewGroup) {
for (int i = 0; i < viewGroup.getChildCount(); i++) {
View child = viewGroup.getChildAt(i);
if (child instanceof ViewGroup) {
openSearchSuggestionsList((ViewGroup) child);
} else if (child instanceof AutoCompleteTextView) {
// Found the right child - show dropdown
((AutoCompleteTextView) child).showDropDown();
child.invalidate();
export http_proxy=`scutil --proxy | awk '\
/HTTPEnable/ { enabled = $3; } \
/HTTPProxy/ { server = $3; } \
/HTTPPort/ { port = $3; } \
END { if (enabled == "1") { print "http://" server ":" port; } }'`
export HTTP_PROXY="${http_proxy}"
export https_proxy=`scutil --proxy | awk '\
/HTTPSEnable/ { enabled = $3; } \
/HTTPSProxy/ { server = $3; } \

Keybase proof

I hereby claim:

  • I am eaceto on github.
  • I am kimi (https://keybase.io/kimi) on keybase.
  • I have a public key whose fingerprint is 0270 B992 9DFF DEAD 9874 2DE1 11A2 DE3C 12E4 1402

To claim this, I am signing this object:

package main
import (
"fmt"
)
func fibonacci(n int) (res int) {
x, y, res := 0, 1, 0
for i := 0; i <= n; i++ {
res = x