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
import json | |
import tempfile | |
from datetime import datetime | |
import os | |
import random | |
import sys | |
from botocore.exceptions import ClientError | |
import boto3 | |
import dns.resolver |
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') | |
exports.handler = async (event) => { | |
console.log(event) | |
let buffer = Buffer.from(event.body, 'base64') | |
var text = buffer.toString('ascii') | |
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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Xml.Linq; | |
using System.Collections.Generic; | |
namespace NugetPackageConverter | |
{ | |
class Program | |
{ |
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
/** | |
* DO WHAT YOU WANT TO PUBLIC LICENSE | |
* Version 1, December 2017 | |
* | |
* Copyright (C) 2017 Nathan Westfall | |
* | |
* Everyone is permitted to copy and distribute verbatim or modified | |
* copies of this license document, and changing it is allowed as long | |
* as the name is changed. | |
* |
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
require 'socket' | |
class App | |
def self.send(ip, port, file, delay) | |
puts "Starting up Socket Client on #{ip}:#{port} with a delay of #{delay} seconds" | |
file_content = File.read(file) | |
puts "File read" | |
while true | |
begin | |
socket = TCPSocket.open(ip, port) |