- Install SQUID
apt-get install squid
- Create an user
htpasswd -md /etc/squid3/users myuserlogin`
apt-get install squid
htpasswd -md /etc/squid3/users myuserlogin`
<?php | |
// Modify the data returned for BB post module auto suggest queries to include post URLs | |
add_filter('fl_builder_auto_suggest_posts_lookup', function ( $data ) { | |
foreach ( $data as $key => $post ) { | |
$post_object = get_post( $post['value'] ); | |
// If the post object exists, append the URL path to the title | |
if ( $post_object ) { | |
$permalink = get_permalink( $post['value'] ); |
rebase
vs merge
).rebase
vs merge
)reset
vs checkout
vs revert
)git rev-parse
)pull
vs fetch
)stash
vs branch
)reset
vs checkout
vs revert
)/** | |
* Creates a read/writable property which returns a function set for write/set (assignment) | |
* and read/get access on a variable | |
* | |
* @param {Any} value initial value of the property | |
*/ | |
function createProperty(value) { | |
var _value = value; | |
/** |
I wasted time WTFM so RTFM
Enable Option | Disable Option | List Enabled Options | Enabled Options Sample Output |
|
|
|
|
This table illustrates the behavior of various shopt
options in bash. By toggling these options, you can influence how the shell handles things like filename completion, history management, and error handling.
Option | Description | Disabled | Enabled | Example |
---|
<!-- livebook:{"persist_outputs":true} --> | |
# Distribute | |
## Section | |
A small toy to show how you might, given a stream, do a "fan out", processing different elements in separate streams. Powered by simple primitives like `Stream.resource` and `spawn_link`. | |
```elixir | |
defmodule Distribute do |
#!/usr/bin/env python3 | |
# Adaption of https://github.com/tom-doerr/chatgpt_commit_message_hook/main/prepare-commit-msg | |
# | |
# Mark this file as executable and add it into the global hooks folder | |
# whose path is given by the core.hooksPath configuration variable | |
# skip during rebase | |
import sys | |
if len(sys.argv) > 2: |