This file contains hidden or 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
| # Add these two gems | |
| gem 'ice_cube', '0.9.3' | |
| gem 'squeel', '1.0.16' |
This file contains hidden or 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
| <body></body> | |
| <script src="/three.js"></script> | |
| <script src="/controls/OrbitControls.js"></script> | |
| <script> | |
| // (1) TRY clicking the HIDE CODE button! --> | |
| // The "scene" is where stuff in our game will happen: | |
| var scene = new THREE.Scene(); | |
| // The "camera" is what sees the stuff: |
This file contains hidden or 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
| sheriff = Proprietor.find_by(name: "Sheriff") | |
| Building.where(proprietor: sheriff).each do |building| | |
| building.photo.purge | |
| building.attachments.each do |attachment| | |
| attachment.file.purge | |
| end | |
| building.floor_plans.each do |floor_plan| | |
| floor_plan.blueprint.purge | |
| end | |
| building.building_systems.each do |system| |
This file contains hidden or 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
| wget -P /path/to/destination/directory/ -mpck --user-agent="" -e robots=off --wait 1 -E https://www.example.com/ |
This file contains hidden or 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
| # 1) Create your private key | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -passout pass:x -out lvh.me.pass.key 2048 | |
| # 2) Generate RSA key | |
| $ openssl rsa -passin pass:x -in lvh.me.pass.key -out lvh.me.key | |
| # 3) Get rid of private key | |
| $ rm lvh.me.pass.key |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: ingress-nginx | |
| labels: | |
| app.kubernetes.io/name: ingress-nginx | |
| app.kubernetes.io/instance: ingress-nginx | |
| --- |
This file contains hidden or 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
| class IamConnect.Collections.Locations extends Backbone.Collection | |
| url: '/api/locations' | |
| model: IamConnect.Models.Location | |
| _.extend IamConnect.Collections.Locations.prototype, IamConnect.Mixins.PaginationCollectionMethods.prototype |
This file contains hidden or 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
| RUBY_CONFIGURE_OPTS="--disable-dtrace" rbenv install 2.5.3 |
This file contains hidden or 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
| webpacker_1 | ℹ 「wdm」: Failed to compile. | |
| webpacker_1 | ✖ 「wdm」: Hash: 3a4e636409bd11d802a3 | |
| webpacker_1 | Version: webpack 4.29.6 | |
| webpacker_1 | Time: 2096ms | |
| webpacker_1 | Built at: 04/12/2019 11:36:00 AM | |
| webpacker_1 | Asset Size Chunks Chunk Names | |
| webpacker_1 | js/application-ccae482cc60dff2d1d2f.js 781 KiB application [emitted] application | |
| webpacker_1 | js/application-ccae482cc60dff2d1d2f.js.map 943 KiB application [emitted] application | |
| webpacker_1 | manifest.json 364 bytes [emitted] | |
| webpacker_1 | |
This file contains hidden or 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 'roo' | |
| require 'pp' | |
| xlsx = Roo::Excelx.new('./omni.xlsx') | |
| # sheet = xlsx.default_sheet | |
| ones = [] | |
| twos = [] | |
| threes = [] | |
| fours = [] |
NewerOlder