Skip to content

Instantly share code, notes, and snippets.

View CoericK's full-sized avatar

Erick Arroyo CoericK

View GitHub Profile
@CoericK
CoericK / index.html
Created January 17, 2026 16:48 — forked from kandmgawron/cleanup.sh
SAA-C03 Resources
<!DOCTYPE html>
<html>
<head>
<title>Task Manager - SAA-C03 Workshop</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
@CoericK
CoericK / import.php
Created July 18, 2024 22:12 — forked from cpjeanpaul/import.php
Procesar padrón reducido de SUNAT para importarlo a una tabla de postgres usando COPY
<?php
// iconv -f iso-8859-1 -t utf-8 padron_reducido_ruc.txt > utf8_padron_reducido_ruc.txt
echo "Limpiar caracteres especiales\n";
$data = file_get_contents('utf8_padron_reducido_ruc.txt');
$data = str_replace(array('\'', '"', '-'), '', $data);
file_put_contents('utf8_padron_reducido_ruc.txt', $data);
echo "Limpiar caracteres especiales: LISTO\n";
@CoericK
CoericK / leetcode_76.md
Created December 14, 2022 17:56 — forked from any9527/leetcode_76.md
Leetcode 76: Minimum Window Substring

Description

Given two strings s and t of lengths m and n respectively, return the minimum window substring of s such that every character in t (including duplicates) is included in the window. If there is no such substring, return the empty string "".

The testcases will be generated such that the answer is unique.

A substring is a contiguous sequence of characters within the string.

Example 1:

Input: s = "ADOBECODEBANC", t = "ABC"
@CoericK
CoericK / gist:2011b449ec10d3c391a12fc1b40c6a9f
Created March 4, 2018 07:15 — forked from mtigas/gist:952344
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
@CoericK
CoericK / iterm2-solarized.md
Created December 18, 2017 06:35 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k

@CoericK
CoericK / gist:b5da1f6f728e3bec49cd54d273228898
Created May 25, 2016 21:56 — forked from lxneng/gist:741932
install PostgreSQL 9 in Mac OSX via Homebrew
install PostgreSQL 9 in Mac OSX via Homebrew
Mac OS X Snow Leopard
System Version: Mac OS X 10.6.5
Kernel Version: Darwin 10.5.0
Install notes for PostgreSQL 9.0.1 install using Homebrew:
sh-3.2# brew install postgresql
@CoericK
CoericK / README.md
Last active August 29, 2015 14:25 — forked from boopathi/README.md

Settings

  1. Create a project in XCode with the default settings
    • iOS > Application > Single View Application
    • Language: Swift
  2. Under project General settings, add ReactKit to Linked Framework and Libraries
    • + > Add Other... and choose /path/to/react-native/ReactKit/ReactKit.xcodeproj
  3. Now ReactKit would have been imported. Link it by choosing it from the list.
    • + > lib.ReactKit.a
  4. Under project Build Settings,
@CoericK
CoericK / README.md
Last active August 29, 2015 14:25 — forked from boopathi/README.md

Settings

  1. Create a project in XCode with the default settings
    • iOS > Application > Single View Application
    • Language: Swift
  2. Under project General settings, add ReactKit to Linked Framework and Libraries
    • + > Add Other... and choose /path/to/react-native/ReactKit/ReactKit.xcodeproj
  3. Now ReactKit would have been imported. Link it by choosing it from the list.
    • + > lib.ReactKit.a
  4. Under project Build Settings,