In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal
#!/bin/sh | |
emit() { | |
if [ "$arg_commit" = "1" ]; then | |
#echo " | $@" | |
echo " | $@" | |
$@ ## << make this the main command or run with `eval $@` | |
else | |
echo " | $@" | |
(exit 0) |
In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal
# frozen_string_literal: true | |
module Fingerprinting | |
def full_fingerprint | |
generate_fingerprint( | |
ip_fingerprint, | |
browser_fingerprint | |
) | |
end |
You'll need to update the following variables: | |
- ENV['APP_NAME'] | |
- ENV['COMPANY_ADDRESS'] | |
- ENV['HOST'] | |
Make sure you have app/assets/images/logo.svg for this line: | |
helpers.image_url('logo.svg') | |
And also update the CSS variables to match your color scheme: | |
:root { |
{ | |
"vim.showMarksInGutter": false, | |
"vim.foldfix": true, | |
"vim.surround": true, | |
"vim.easymotion": true, | |
"vim.easymotionKeys": "asdghklqwertyuiopzxcvbnmfj", | |
"vim.leader": "<space>", | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": [":", "w", "<CR>"], |
- Add `gem 'tzinfo-data'` to the Gemfile. | |
- Add `tzdata` to the Dockerfile | |
``` | |
RUN apk update \ | |
&& apk add build-base \ | |
tzdata | |
``` | |
- Build `docker-compose build` or `docker-compose up --build` | |
- Enjoy the life |
# after reviewing /etc/defaults/periodic.conf I have decided | |
# to disable these items in jails | |
daily_status_disks_enable="NO" | |
daily_status_network_enable="NO" | |
daily_status_uptime_enable="NO" | |
# not needed on jails | |
daily_ntpd_leapfile_enable="NO" |
sudo su | |
//Setup Hostname | |
hostnamectl set-hostname subdomain.domain.tld | |
## Basic | |
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get autoremove -y && sudo apt-get install software-properties-common | |
//Setup SWAP | |
sudo fallocate -l 1G /swapfile; | |
ls -lh /swapfile; |
{ | |
"Accessibility": [ | |
"fab fa-accessible-icon", | |
"fas fa-american-sign-language-interpreting", | |
"fas fa-assistive-listening-systems", | |
"fas fa-audio-description", | |
"fas fa-blind", | |
"fas fa-braille", | |
"fas fa-closed-captioning", | |
"far fa-closed-captioning", |
#!/bin/sh | |
# This script should be saved in a git repo as a hook file, e.g. .git/hooks/pre-receive. | |
# It looks for scripts in the .git/hooks/pre-receive.d directory and executes them in order, | |
# passing along stdin. If any script exits with a non-zero status, this script exits. | |
script_dir=$(dirname $0) | |
hook_name=$(basename $0) | |
hook_dir="$script_dir/$hook_name.d" |