In programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literalIn programming languages, literals are textual representations of values in the source code. This is a syntactical concept.
Some examples:
7 # integer literal| # spec.cr | |
| require "spectator" | |
| require "./spec_helper" | |
| Spectator.describe OrderCalculator do | |
| inject_mock Database | |
| def_mock(Product) | |
| it "multiplies the product price by given quantity" do | |
| product = new_mock(Product) |
| as sudo user | |
| sh-3.2# scutil | |
| > list | |
| subKey [0] = Plugin:IPConfiguration | |
| subKey [1] = Plugin:InterfaceNamer | |
| subKey [2] = Plugin:KernelEventMonitor | |
| subKey [3] = Setup: | |
| subKey [4] = Setup:/ | |
| subKey [5] = Setup:/Network/Global/IPv4 |
| /** | |
| * Finding DNS server addresses programmatically on macOS | |
| * see: | |
| * https://stackoverflow.com/questions/260518/finding-dns-server-settings-programmatically-on-mac-os-x | |
| */ | |
| #import <Foundation/Foundation.h> | |
| #import <SystemConfiguration/SystemConfiguration.h> | |
| int main(void) { |
| // DONT FORGET TO `yarn add esbuild-loader` !!! | |
| // config/webpacker/environment.js | |
| const { environment } = require('@rails/webpacker') | |
| const { ESBuildPlugin } = require('esbuild-loader') | |
| const esBuildUse = [ | |
| { | |
| loader: require.resolve('esbuild-loader'), | |
| // What you want to compile to, in this case, ES7 |
| #!/bin/bash | |
| if [ "$1" == "" ] || [ "$2" == "" ]; then | |
| echo "Usage: ./reindex.sh [REMOTE_HOST:REMOTE_PORT] [INDEX_PATTERN] [LOCAL_HOST:LOCAL_PORT]" | |
| exit 1 | |
| fi | |
| REMOTE_HOST=$1 | |
| PATTERN=$2 | |
| if [ "$3" == "" ]; then |
Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.targetPeople
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| source :rubygems | |
| gem 'bench_press' | |
| gem 'multi_json' | |
| gem 'json' | |
| gem 'yajl-ruby' | |
| gem 'msgpack' | |
| gem 'ruby-protocol-buffers' | |
| gem 'bson' | |
| gem 'bson_ext' |