This will load variables into a BASH SCRIPT from an environment file.
Create an environment file with the following structure. Call it "secrets.env" but it can be called anything!
MY_SECRET="Some Secret"| # Installation | |
| brew install ffmpeg --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid | |
| # Easy Peasy | |
| ffmpeg -i video.mp4 video.webm |
| add_action( 'genesis_before_loop', 'sk_excerpts_search_page' ); | |
| function sk_excerpts_search_page() { | |
| if ( is_search() ) { | |
| add_filter( 'genesis_pre_get_option_content_archive', 'sk_show_excerpts' ); | |
| } | |
| } | |
| function sk_show_excerpts() { | |
| return 'excerpts'; | |
| } |
| #import <UIKit/UIKit.h> | |
| @interface NumberPadDoneBtn : UIView | |
| @end | |
| @interface NumberPadButton : UIButton | |
| @end |
| input { | |
| file { | |
| path => "/var/log/nginx/access.log" | |
| type => "nginx-access" | |
| sincedb_path => "/var/log/.nginxaccesssincedb" | |
| } | |
| } | |
| input { | |
| file { | |
| path => "/var/log/nginx/error.log" |
| #MIT License | |
| # | |
| #Copyright (c) 2017 Daniele Andreis | |
| #Permission is hereby granted, free of charge, to any person obtaining a copy | |
| #of this software and associated documentation files (the "Software"), to deal | |
| #in the Software without restriction, including without limitation the rights | |
| #to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| #copies of the Software, and to permit persons to whom the Software is | |
| #furnished to do so, subject to the following conditions: | |
| # |
| # Pass headers into Elasticsearch: | |
| # - Authorization can be used to pass BASIC AUTH with a TOKEN. Use | |
| # a tool of your choice to convert your username/password into | |
| # the proper token for basic auth. | |
| ED_HEADERS='{"Authorization": "Basic YOUR-BASIC-AUTH-TOKEN-HERE"}' | |
| # Host must end in "/" | |
| # Include ":port-number" if necessary (otherwise, 443 is inferred by https) | |
| ED_HOST="https://your-host.com:port-number/" |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <!-- ****************************************************************** --> | |
| <!-- See this live at https://hello-universe-by-ericwastaken.replit.app --> | |
| <!-- ****************************************************************** --> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Hello Universe</title> | |
| <style> |