This file contains 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
Command | |
$ sudo crictl --debug pull --creds test:test trow-svc.trow.svc.cluster.local:8000/test/nginx:alpine | |
DEBU[0000] get image connection | |
DEBU[0000] connect using endpoint 'unix:///var/run/crio/crio.sock' with '2s' timeout | |
DEBU[0000] connected successfully using endpoint: unix:///var/run/crio/crio.sock | |
DEBU[0000] PullImageRequest: &PullImageRequest{Image:&ImageSpec{Image:trow-svc.trow.svc.cluster.local:8000/test/nginx:alpine,Annotations:map[string]string{},},Auth:&AuthConfig{Username:test,Password:test,Auth:,ServerAddress:,IdentityToken:,RegistryToken:,},SandboxConfig:nil,} | |
DEBU[0000] PullImageResponse: nil | |
FATA[0000] pulling image: rpc error: code = Unknown desc = unable to retrieve auth token: invalid username/password: unauthorized: authentication required |
This file contains 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
2 6656223438904049664 | |
2 6656223438904049665 | |
2 6656223438904049666 | |
2 6656223438904049667 | |
2 6656223438904049668 | |
2 6656223438904049669 | |
2 6656223438904049670 | |
2 6656223438904049671 | |
2 6656223438904049672 | |
2 6656223438904049673 |
This file contains 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 | |
# | |
# --- zfs-dkms-fix.sh --- | |
# | |
# This script automates the process of fixing ZFS after a kernel | |
# update. See: https://github.com/zfsonlinux/zfs/issues/3801 | |
################################################################### | |
# Get the current ZFS and SPL module versions | |
modversion=$(dkms status | cut -d , -f 2 | tail -n 1 | xargs) |
This file contains 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
var head = document.getElementsByTagName('head')[0]; | |
var script_1 = document.createElement('script'); | |
script_1.src = "http://udacity-crp.herokuapp.com/time.js?rtt=1&a"; | |
head.appendChild(script_1); | |
var script_2 = document.createElement('script'); | |
script_2.src = "http://udacity-crp.herokuapp.com/time.js?rtt=1&b"; | |
head.appendChild(script_2); |
This file contains 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
/** | |
* JavaScript Query string replacement function and test suite. | |
* | |
* The function is designed to add or update a query string parameter in a given | |
* URL. If all of the tests pass, the function should be pretty good. | |
*/ | |
var test_val = 'new', | |
test_uris = [ | |
[ 'http://example.com/', 'http://example.com/?param=' + test_val ], | |
[ 'http://example.com/?', 'http://example.com/?param=' + test_val ], |
This file contains 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 | |
# ---- website-checker.sh ---- | |
# Pings a list of websites using cURL to see if they are up and | |
# there are no errors. If there are problems, we send an email using mailx | |
# to let ourselves know about the problem. | |
################################################################################ | |
# Recipient of the errors email | |
[email protected] |
This file contains 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
/* | |
List some protected pages and then prevent unqualified | |
users from seeing them. | |
*/ | |
function admin_hide_protect_pages( $q ) { | |
global $pagenow, $wpdb; | |
// Bail out if we have the proper permissions or we aren't on the right page | |
if ( !is_admin() | |
|| 'edit.php' != $pagenow |
This file contains 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
/* | |
Color Fade | |
Requires: jQuery 1.7.1+ (probably much lower) | |
Description: Simple color animation. Fades one color into another on the selected element(s) | |
Arguments: | |
- target (object) The target color in this format [r,g,b] defaults to white or yellow if fade_settings.flash is true | |
- fade_settings (object) See code for documentation |