This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/salemine/30b9128603c8e39d7f37248bda9679ec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 3 hardware gauges | |
https://developers.google.com/chart/interactive/docs/gallery/gauge | |
http://snapsvg.io/demos/ | |
https://colorlib.com/polygon/concept/index.html / https://github.com/puikinsh/concept | |
https://github.com/puikinsh/srtdash-admin-dashboard | |
http://svg-scada.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
require 'plugin_name/version' | |
require 'fileutils' | |
module plugin_name | |
class Error < StandardError; end | |
# Your code goes here... | |
Jekyll::Hooks.register :site, :after_init do |_jekyll| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# daily ingestion of the Web Service data from Keito | |
15 12 * * * cd /var/www/ETL && /var/www/ETL/web_service_ingest.sh >> /var/www/ETL/LOG/cron.log 2>&1 | |
# | |
# daily csv export of the data | |
30 4 * * * /bin/bash -l -c 'cd /var/www/keito_app/current && RACK_ENV=production bundle exec rake db:registrations:export --silent' | |
35 4 * * * /bin/bash -l -c 'cd /var/www/keito_app/current && RACK_ENV=production bundle exec rake db:measurements:export --silent' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GEM_HOME=~/.gem/ruby/2.5.1 | |
# export PATH=~/.gem/ruby/2.5.1/bin:$PATH | |
export PATH=$PATH:/usr/local/ruby-2.5.1/bin:/home/do-user/.gem/ruby/2.5.1/bin | |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require './user_app' | |
Dir["#{File.dirname(__FILE__)}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } | |
begin | |
require 'vlad' | |
require 'bundler/vlad' | |
Vlad.load(:scm => :git, :web => nil, :app => nil) | |
rescue LoadError | |
# do nothing | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/benjifisher/drupal-dev-vm/wiki/Cheatsheet | |
https://www.mediacurrent.com/blog/debug-drupal-php-vim-vdebug/ | |
https://github.com/vim-vdebug/vdebug | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
./bundle | |
./bundle/syntastic | |
./bundle/syntastic/_assets | |
./bundle/syntastic/syntax_checkers | |
./bundle/syntastic/syntax_checkers/ocaml | |
./bundle/syntastic/syntax_checkers/ada | |
./bundle/syntastic/syntax_checkers/pod | |
./bundle/syntastic/syntax_checkers/vim | |
./bundle/syntastic/syntax_checkers/bro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" this vimrc was originally pilfered from here: | |
" https://raw.github.com/scrooloose/vimfiles/master/vimrc | |
" | |
"Use Vim settings, rather then Vi settings (much better!). | |
"This must be first, because it changes other options as a side effect. | |
set nocompatible | |
"activate pathogen | |
"call pathogen#infect() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
source "https://rubygems.org" | |
gem 'sinatra', '~> 2.0', '>= 2.0.3' | |
gem 'sequel', '~> 4.36' | |
gem 'mysql2', '~> 0.5.1' | |
gem 'puma', '~> 3.11', '>= 3.11.4' | |
gem 'foreman', '~> 0.84.0' | |
gem 'rake', '~> 10.5' | |
gem 'bcrypt', '~> 3.1.12' |
NewerOlder