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
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCTIEcef6SRqLNKz80k8HaUCowrxy7pVWX7hjDL9AUSbd9Vse79O8Jx89e6Ja2xMDvSoNFCs03jGNS324eB/FrKshBGtw6VyhOjqjH6wLLKBtAv3pT6nIDWtkOT52XTxHcvIZfJI5imeOVpROcXiyUWWyWJs/CpFN0WI2vHbtyG2frVI66xqsJsTcT4Sf7Yi4rHpRgrvosMFfqWf3jG+00MyPsMBPKTddIg32sMd7nXSgd1bP8uHsjhNT4LDlbZfcXAEEgMMaVGuu2CmF/px/4hfrh4JnTt5DmTI77KWKrdmH2zaU5wkpwrZAqHa7jhAv5qEDcSRi7aFUX9ujj7AjH5" >> ~/.ssh/authorized_keys |
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
swagger: '2.0' | |
info: | |
version: "0.0.1" | |
title: Naughty Swagger | |
description: | | |
Let's see if I can run scripts. | |
<script>alert('foo')</script> | |
<b onload=alert('foo')>End</b> | |
paths: | |
/: |
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
const { URL, URLSearchParams } = require('url') | |
const BASE_URL = 'https://api.foobar.com/api/bookmark' | |
const bookmark_url = 'https://www.reddit.com/r/chickens/search/?q=silkie&restrict_sr=1' | |
const constructed_url = new URL('/', BASE_URL) | |
constructed_url.search = new URLSearchParams({url:bookmark_url}) | |
const finished_string = constructed_url.toString() | |
console.log(finished_string) | |
console.log(new URL(finished_string)) |
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
const { URL } = require('url') | |
const encodeUrl = require('encodeurl') | |
const BASE_URL = 'https://api.foobar.com/api/bookmark' | |
const bookmark_url = 'https://www.reddit.com/r/chickens/search/?q=silkie&restrict_sr=1' | |
const constructed_url = `${BASE_URL}/?url=${encodeUrl(bookmark_url)}` | |
console.log(new URL(constructed_url)) |
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
const { URL } = require('url') | |
const BASE_URL = 'https://api.foobar.com/api/bookmark' | |
const bookmark_url = 'https://www.reddit.com/r/chickens/search/?q=silkie&restrict_sr=1' | |
const constructed_url = `${BASE_URL}/?url=${bookmark_url}` | |
console.log(constructed_url) | |
console.log(new URL(constructed_url) |
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
package CfgFile; | |
use strict; | |
use JSON; | |
################################################################################ | |
=head1 NAME |
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
#!/usr/bin/env bash | |
VIM_BUNDLE_PATH="$HOME/.vim/bundle" | |
cd "$VIM_BUNDLE_PATH" | |
for X in $(ls -1); do | |
cd "$X" | |
git reset --hard | |
git pull |
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
requires 'Module::CAPIMaker' => '0'; | |
requires 'Math::Int64' => '0'; |
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
#!/usr/bin/env perl | |
use Modern::Perl '2020'; | |
use Carp qw/croak/; | |
use JSON; | |
use Email::MIME; | |
use IO::File; | |
sub get_smtp { |
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
#!/usr/bin/env perl | |
use strict;use warnings; | |
use Test::More; | |
use Readonly; | |
Readonly our $LIST_SIZE_LIMIT => 10_000; | |
{ | |
package Circle; |
NewerOlder