Skip to content

Instantly share code, notes, and snippets.

[package]
name = "app"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
env_logger = "0.6.0"
serde = { version = "1.0", features = ["derive"] }
apps:
app1:
foo: bar
app2:
foo: bar
# sozu proxy test config file
command_socket = "/var/run/sozu/socket"
saved_state = "/tmp/sozu-state.json"
log_level = "debug"
log_target = "stdout"
command_buffer_size = 16384
[[listeners]]
protocol = "http"
# listening address
address = "0.0.0.0:80"
const echoPostRequest = {
url: 'http://api/login',
method: 'POST',
header: 'Content-Type:application/json',
body: {
mode: 'application/json',
raw: JSON.stringify({
username:'admin',
password:'admin'
})
➜ hello-world git:(master) git push deis master
Counting objects: 3, done.
Writing objects: 100% (3/3), 248 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
Starting build... but first, coffee!
...
...
...
...
(function ($, undefined) {
$.fn.watch = function (options) {
/// <summary>
/// Allows you to monitor changes in a specific
/// CSS property of an element by polling the value.
/// when the value changes a function is called.
/// The function called is called in the context
/// of the selected element (ie. this)
///
/// Uses the MutationObserver API of the DOM and
/*
[exception] 500 | Internal Server Error | Assetic\Exception\FilterException
[message] An error occurred while running:
&#039;/usr/local/bin/node&#039; &#039;/private/var/tmp/assetic_lesspCSCZE&#039;
Error Output:
module.js:340
throw err;
^
var formRequest = new Form.Request(form, $('craDesc'), {
onComplete: function(result) {
console.log('onComplete');
console.log(result); // is null
},
onSuccess: function(result) {
console.log(result); // is null
}
@Shine-neko
Shine-neko / gist:4627821
Last active December 11, 2015 16:28
httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libfuse.0.dylib
/usr/local/lib/libulockmgr.0.dylib
/usr/local/lib/libusb-1.0.0.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when