Key | Description | Value Type | Values | Default | Notes |
---|---|---|---|---|---|
item ,items |
Header item(s) to look for | String | Set-Cookie SetCookie setcookie |
N/A | This is the only required value |
limit |
Maximum number of results to return | Integer | 0 (all) all 2 |
1 |
Limits the results to a single item unless this is changed |
keys |
Determines if the results should include the header keys as well | boolean | 1 0 |
1 |
0 is treated the same as all |
quote |
Determines if the output values should have the header value in quotes | boolean/string | 1 single double |
0 |
|
format |
Format to print data in | String | %-30s : %s\n %s\n |
N/A |
This file contains hidden or 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
#!/usr/bin/python | |
import json | |
import os | |
import sys | |
ff_folder = None | |
for f in os.listdir('/home/guest/.mozilla/firefox'): | |
if f.endswith('.default'): |
This file contains hidden or 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
// ==UserScript== | |
// @name Miscellaneous Javascript utilities | |
// @namespace https://raw.githubusercontent.com/jhyland87/tampermonkey/master/common/utils.js | |
// @version 0.1 | |
// @description Add some additional methods to the standard javascript prototypes | |
// @author Justin Hyland ([email protected]) | |
// @include * | |
// @match * | |
// @homepage https://github.com/jhyland87/tampermonkey | |
// @grant none |
This file contains hidden or 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
lsof | awk '$1 == "bash" && $4 == "cwd"' |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
! function(e) { | |
function __webpack_require__(n) { | |
if (t[n]) return t[n].exports; | |
var r = t[n] = { | |
i: n, | |
l: !1, | |
exports: {} | |
}; | |
return e[n].call(r.exports, r, r.exports, __webpack_require__), r.l = !0, r.exports | |
} |
This file contains hidden or 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
#! /usr/local/bin/awk -f | |
# https://gist.github.com/jhyland87/95d88e9f32a77f8d6860f69c3332719d | |
function trim( str ) { | |
sub( /^[ \t\r\n]+/, "", str ) | |
sub( /[ \t\r\n]+$/, "", str ) | |
return str | |
} |
This file contains hidden or 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
<?php | |
function getFilePerms( $filename ){ | |
$perms = fileperms( $filename ); | |
switch ($perms & 0xF000) { | |
case 0xC000: // socket | |
$info = 's'; | |
break; | |
case 0xA000: // symbolic link | |
$info = 'l'; |
This file contains hidden or 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
$ npm run build | |
> [email protected] build /Users/me/Documents/Projects/personal/myproject.local | |
> phenomic build | |
⚡️ Hey! Let's get on with it | |
ModuleBuildError: Module build failed: ModuleParseError: Module parse failed: Unexpected character '' (1:0) | |
You may need an appropriate loader to handle this file type. | |
(Source code omitted for this binary file) | |
at doBuild (/Users/me/Documents/Projects/personal/myproject.local/node_modules/webpack/lib/NormalModule.js:303:19) |
This file contains hidden or 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
$ npm run build | |
> [email protected] build /Users/me/Documents/Projects/personal/myproject.local | |
> phenomic build | |
⚡️ Hey! Let's get on with it | |
ModuleNotFoundError: Module not found: Error: Can't resolve 'assets/plugins/bootstrap/css/bootstrap.css' in '/Users/me/Documents/Projects/personal/myproject.local' | |
at factoryCallback (/Users/me/Documents/Projects/personal/myproject.local/node_modules/webpack/lib/Compilation.js:276:40) | |
at factory (/Users/me/Documents/Projects/personal/myproject.local/node_modules/webpack/lib/NormalModuleFactory.js:235:20) | |
at resolver (/Users/me/Documents/Projects/personal/myproject.local/node_modules/webpack/lib/NormalModuleFactory.js:60:20) |
This file contains hidden or 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
Justin | |
Oct 11, 2017 | |
09:03 PM -0700 | |
One of my previous invoices spiked way above the usual amount due to some security issues. The case ID is 4469605251, and its been resolved. Can you alter or void the invoice ID 113359921 now that its resolved? | |
Thank you! | |
=================================================== | |
Amazon Web Services | |
Oct 12, 2017 |