Skip to content

Instantly share code, notes, and snippets.

View ryentzer's full-sized avatar

saltyCode ryentzer

  • Forbenmedia
  • USA
  • 16:46 (UTC -04:00)
View GitHub Profile
@ryentzer
ryentzer / styles.css
Created December 12, 2022 15:23
BBEdit preview styles
body {
color: rgb(71, 85, 105);
font-family: Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
line-height: 28px;
}
pre, code {
font-family: Fira Code VF,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
color: rgb(14, 165, 233);
font-size: 13px;
@ryentzer
ryentzer / app-mod.py
Created October 19, 2019 14:17
I'm having trouble with Flask not "finding" my blueprints when inside a function
# This works
from flask import Flask
from views import home_views
app = Flask(__name__)
app.register_blueprint(home_views.blueprint)
def main():
pylint --generate-rcfile > ~/.pylintrc

Recommended workstation configuration

@ryentzer
ryentzer / gruntFile.js
Created September 8, 2015 22:21
basic gruntfile setup
/**
* Created by ryentzer on 9/8/15.
*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
configFiles: {
@ryentzer
ryentzer / grunt settings phpstorm
Created July 20, 2015 15:43
grunt-cli location
Grunt-cli Package => /usr/local/lib/node_modules/grunt-cli/
tell application "BBEdit"
tell window 1
set start_line to startLine of selection
set end_line to endLine of selection
select (lines start_line thru end_line)
set selectionCopy to duplicate selection
select insertion point after selection
set selection to selectionCopy
set newInsertionPoint to (characterOffset of selection) + (length of selection) - 1
select insertion point before character newInsertionPoint
@ryentzer
ryentzer / Vangrantfile-excerpt
Created March 11, 2014 02:01
Vagrantfile configure.vm box settings
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "base"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
defaults write org.vim.MacVim MMTextInsetRight '20'