Skip to content

Instantly share code, notes, and snippets.

View kennylugo's full-sized avatar
🎯
Focusing

Kenny Lugo kennylugo

🎯
Focusing
View GitHub Profile
@Koze
Koze / speechVoices.tsv
Last active March 27, 2024 11:48
List of AVSpeechSynthesisVoice.speechVoices() on iOS Device
Language Name Quality Identifier Class
ar-SA Maged Default com.apple.ttsbundle.Maged-compact AVSpeechSynthesisVoice
cs-CZ Zuzana Default com.apple.ttsbundle.Zuzana-compact AVSpeechSynthesisVoice
da-DK Sara Default com.apple.ttsbundle.Sara-compact AVSpeechSynthesisVoice
de-DE Anna Default com.apple.ttsbundle.Anna-compact AVSpeechSynthesisVoice
de-DE Helena Default com.apple.ttsbundle.siri_female_de-DE_compact AVSpeechSynthesisVoice
de-DE Martin Default com.apple.ttsbundle.siri_male_de-DE_compact AVSpeechSynthesisVoice
el-GR Melina Default com.apple.ttsbundle.Melina-compact AVSpeechSynthesisVoice
en-AU Catherine Default com.apple.ttsbundle.siri_female_en-AU_compact AVSpeechSynthesisVoice
en-AU Gordon Default com.apple.ttsbundle.siri_male_en-AU_compact AVSpeechSynthesisVoice
@codediodeio
codediodeio / database.rules.json
Last active January 28, 2024 19:07
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
@yossorion
yossorion / what-i-wish-id-known-about-equity-before-joining-a-unicorn.md
Last active April 7, 2024 22:55
What I Wish I'd Known About Equity Before Joining A Unicorn

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would

@kjbrum
kjbrum / bash_profile.sh
Last active October 18, 2023 15:36
My personal bash profile
#---------------------------------------------------------------------------------------------------------------------------------------
#
# Author: Kyle Brumm
# Description: File used to hold Bash configuration, aliases, functions, completions, etc...
#
# Sections:
# 1. ENVIRONMENT SETUP
# 2. MAKE TERMINAL BETTER
# 3. FOLDER MANAGEMENT
# 4. MISC ALIAS'
@damianesteban
damianesteban / guide-2.md
Created March 27, 2015 04:11
osx-dev-guide-part-2

Part 2

Making sure all is cool with Homebrew

First off, issue the following command:

brew doctor

That is a way for Homebrew to make sure that it is properly installed on your system.

@damianesteban
damianesteban / guide-1.md
Created March 27, 2015 03:49
osx-dev-guide-part-1

Setup an Uber Development Environment on OS X Yosemite 10.10

iTerm

First off, the Terminal application that OS X comes with is great, but iTerm is better.

thoughtbot's laptop script.

@siberianisaev
siberianisaev / NSString+Email.swift
Created December 22, 2014 12:15
Email address validation (swift version)
import Foundation
extension NSString {
/**
http://stackoverflow.com/questions/800123/what-are-best-practices-for-validating-email-addresses-in-objective-c-for-ios-2
RFC 2822 http://tools.ietf.org/html/rfc2822
*/
func isEmail() -> Bool {
let sRegex = "(?:[a-z0-9!#$%\\&'*+/=?\\^_`{|}~-]+(?:\\.[a-z0-9!#$%\\&'*+/=?\\^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])"
@learncodeacademy
learncodeacademy / deployUser.md
Last active October 8, 2022 18:56
Adding a deploy user in Linux

(wherever it says url.com, use your server's domain or IP)

Login to new server as root, then add a deploy user

sudo useradd --create-home -s /bin/bash deploy
sudo adduser deploy sudo
sudo passwd deploy

And Update the new password

@natelandau
natelandau / .bash_profile
Last active March 20, 2024 22:19
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@hofmannsven
hofmannsven / README.md
Last active April 19, 2024 13:17
Git CLI Cheatsheet