Skip to content

Instantly share code, notes, and snippets.

View Ryel's full-sized avatar
🎧
Working from home

Christian Flores Ryel

🎧
Working from home
View GitHub Profile
@Ryel
Ryel / notify.txt
Created November 14, 2024 16:44
send push notification from command line
# send push notification when slow task finishes (MacOS only)
# notify func as one-liner (e.g. for alias)
osascript -e 'display notification "foo" with title "bar"'
# add bash script with notify func
{
echo '#!/bin/bash'
echo '/usr/bin/osascript -e "display notification \"$*\""'
} | sudo tee /usr/local/bin/notify > /dev/null && sudo chmod +x /usr/local/bin/notify
@Ryel
Ryel / .ideavimrc
Created March 10, 2021 17:15
IDEA Vim Settings
# Disables the audible bell
set visualbell
set noerrorbells
# This file might help you setup
# your OSX Big Sur enabled machine
# to work properly with pyenv (and other things)
#!/bin/bash
echo -e "Installing Dependencies \n"
brew install openssl
brew install sqlite
@Ryel
Ryel / README.md
Last active January 22, 2020 01:09
750+ Public Feed URLs (cURL-able)

A list of 750+ public RSS / Atom feeds.

  • cURL format (prefixed with url=
  • Sorted
  • De-duped
  • Validated (HTTP 200) URLs
content-type count percentage
application/rss+xml 11/269 4%
@Ryel
Ryel / config
Last active February 15, 2021 15:46
SSH Config
#-----------
# SSH Config
#-----------
#
#
# Easily ssh into servers and manage connections with this config.
#
# This file should be here:
# ~/.ssh/config
#
@Ryel
Ryel / Preferences.sublime-settings
Last active March 13, 2019 14:32
Sublime Text 3 Config
{
"color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme",
"default_line_ending": "unix",
"font_size": 16,
"ignored_packages":
[
""
],
"tab_size": 4,
"theme": "Default.sublime-theme",
@Ryel
Ryel / .psqlrc
Last active March 5, 2019 21:30
PSQL Config
---------------------
-- psql config file.
-- Author: Christian Flores (Github: Ryel)
-- Location: ~/.psqlrc
-- NOTE: YOU NEED TO CREATE ~/psql_history/ dir if it doesnt exist already.
---------------------
-- Formatting on by default
\x auto
@Ryel
Ryel / osx_bootstrap.sh
Created December 2, 2018 16:26 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - Twitter (app store)
@Ryel
Ryel / com.googlecode.iterm2.plist
Last active March 5, 2019 16:23
Iterm 2 Settings
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AlternateMouseScroll</key>
<true/>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>AppleScrollAnimationEnabled</key>
<integer>0</integer>