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
| # This module provides a method similar to the number_to_currency | |
| # Rails helper, except that the decimal portion of the resulting | |
| # formatted text is wrapped in a configurable tag (sup by default) | |
| # | |
| # Copyright (C) 2014 Turn4 LLC | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. |
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
| // Generates the css for a border with a triangle set along it | |
| // | |
| // $side is the border side (left, right, top, bottom) | |
| // $width is the border's width | |
| // $style is the border's style | |
| // $color is the border/triangle color | |
| // $size is the size of the triangle | |
| // it takes one or two values: width and height | |
| // $offset is how far down the border the triangle should sit | |
| // $direction is how the triangle should face |
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
| #! /bin/sh | |
| # /etc/init.d/honeyalarmserver | |
| ### BEGIN INIT INFO | |
| # Provides: honeyalarmserver | |
| # Required-Start: $local_fs $network | |
| # Required-Stop: $local_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Honey Alarm Server service | |
| # Description: Honey Alarm Server service |
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
| const webpack = require('webpack') | |
| const { environment } = require('@rails/webpacker') | |
| // Don't use commons chunk for server_side_render chunk | |
| const entries = environment.toWebpackConfig().entry | |
| const commonsChunkEligible = Object.keys(entries).filter(name => name !== 'server_side_render') | |
| environment.plugins.set('CommonsChunkVendor', new webpack.optimize.CommonsChunkPlugin({ | |
| name: 'vendor', | |
| minChunks: (module, count) => { |
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 Chnode < Formula | |
| desc "Change between installed Node versions in your current shell." | |
| homepage "https://github.com/steakknife/chnode" | |
| url "https://github.com/steakknife/chnode/archive/v1.2.3.tar.gz" | |
| sha256 "ae0bd1d9227ef76286d19331f9a3c5fcc1926e70f4ef0d3896a8f9f7b463c792" | |
| head "https://github.com/steakknife/chnode.git" | |
| def install | |
| bin.install "chnode", "chnode-auto", "chnode-exec" | |
| doc.install "README.md", "LICENSE", "CHANGELOG.md" |
OlderNewer