This gist will collects all issues we solved with Rails 5.2 and Webpacker
# Last few parameters(--skip-* part) is only my habbit not actully required
$ rails new <project_name> --webpack=stimulus --database=postgresql --skip-coffee --skip-test
This gist will collects all issues we solved with Rails 5.2 and Webpacker
# Last few parameters(--skip-* part) is only my habbit not actully required
$ rails new <project_name> --webpack=stimulus --database=postgresql --skip-coffee --skip-test
[2019-03-05 19:48:59.998: EXECUTOR] Starting crawler (actId: Te8MHFMj393SFQZ2c, actExecutionId: 7zxGNNb2qHYucQKeE) | |
[2019-03-05 19:49:00.038: EXECUTOR] DEBUG: CrawlerExecutor._spawnSlave(): isBootstrapper=true | |
[2019-03-05 19:49:00.060: EXECUTOR] Slave process spawned (slaveId: 1, proxy: default) | |
[2019-03-05 19:49:00.128: S0000001] Loading crawler configuration from: /tmp/actExec_7zxGNNb2qHYucQKeE_1857wF1jZYDQFJ3Q/config.json | |
[2019-03-05 19:49:00.129: S0000001] DEBUG: crawlerUtils.prepareConfig() | |
[2019-03-05 19:49:00.130: S0000001] Starting crawler using RemoteRequestManager (URL: http://localhost:36203/slave/1, bootstrap: true)... | |
[2019-03-05 19:49:00.132: S0000001] DEBUG: Scheduling periodic PING to server | |
[2019-03-05 19:49:00.134: S0000001] DEBUG: ON URL CHANGED | targetUrl: | |
[2019-03-05 19:49:00.136: S0000001] DEBUG: ON LOAD STARTED | |
[2019-03-05 19:49:00.137: S0000001] ON LOAD FINISHED | status: success, url: N/A |
require 'csv' | |
require 'pry' | |
# sqlite3 AddressBook-v22.abcddb | |
# .headers on | |
# .mode csv | |
# .output ZABCDPOSTALADDRESS.csv | |
# select * from ZABCDPOSTALADDRESS; | |
# .mode csv | |
# .output ZABCDRECORD.csv |
macro uniquify_builder(attribute_name, type, *attrs) | |
def self.unique_{{attribute_name}}({% unless attrs.empty? %}{{attrs}},{% end %} max_retries = 10_0000) | |
p "{{attribute_name}}" | |
p "{{attrs}}" | |
end | |
end | |
def test_1() | |
"test_1" | |
end |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>edu.ohio.oit.reboot_and_update_nightly</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Library/Management/oit/reboot_and_update_nightly.sh</string> | |
</array> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
</head> | |
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script> | |
<script src="http://fabricjs.com/lib/fabric.js"></script> | |
<body> | |
<canvas id="c" class="glucose_results"></canvas> |
require 'rubygems' | |
require 'mechanize' | |
require 'csv' | |
require 'pry' | |
A = Mechanize.new { |agent| | |
agent.user_agent_alias = 'Mac Safari' | |
} | |
def fetchDetailsFor(url) |
class MessagesController < ApplicationController | |
include Tubesock::Hijack | |
def index | |
hijack do |tubesock| | |
tubesock.onopen do | |
@open = true | |
end | |
tubesock.onmessage do |data| |
curl -I http://www.audiofile-engineering.com/download/Quiztones.dmg | |
HTTP/1.1 302 Found | |
Date: Tue, 29 Mar 2016 20:08:46 GMT | |
Server: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1g DAV/2 PHP/5.3.28 | |
Location: http://www.audiofile-engineering.com/404.html | |
Content-Type: text/html; charset=iso-8859-1 |
mdia-dm-01 | |
-rw-r--r--@ 1 root admin 0 Jul 30 2014 /Library/Audio/Plug-Ins/Components/DC1A2.component/Icon | |
-rw-r--r--@ 1 root admin 0 Jul 30 2014 /Library/Audio/Plug-Ins/Components/IVGI.component/Icon | |
-rw-r--r-- 1 root admin 31710 Dec 18 05:15 /Library/Audio/Plug-Ins/Components/StereoToolV3-x64.component/License.rtf | |
-rw-r--r-- 1 root admin 31710 Dec 18 05:14 /Library/Audio/Plug-Ins/Components/StereoToolV3-x86.component/License.rtf | |
-rw-r--r--@ 1 root wheel 0 Dec 3 2014 /Library/Audio/Plug-Ins/Components/o-clip.component/Icon | |
/Library/Audio/Plug-Ins/Components/AppleAES3Audio.component/Contents: | |
/Library/Audio/Plug-Ins/Components/BitterSweetV3-free-x64.component/Contents: | |
/Library/Audio/Plug-Ins/Components/BitterSweetV3-free-x86.component/Contents: | |
/Library/Audio/Plug-Ins/Components/DC1A2.component/Contents: |