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
LogMeIn Hamachi for Linux User Guide | |
===================================== | |
About LogMeIn Hamachi | |
LogMeIn Hamachi is a virtual networking service that can be set up in | |
minutes and enables secure remote access to your business network | |
anywhere there is an Internet connection. | |
Unlike traditional hardware and software based VPN systems, LogMeIn |
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
console.log('Loading function'); | |
var AWS = require('aws-sdk'); | |
AWS.config.region = 'us-west-2'; | |
exports.handler = function(event, context) { | |
console.log("\n\nLoading handler\n\n"); | |
var sns = new AWS.SNS(); | |
sns.publish({ |
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 boto3 | |
from boto3.dynamodb.types import STRING | |
table = boto3.resource("dynamodb", region_name="us-east-1").Table("availdev-JobStateDB-1UIJ881212TPX") | |
## Attrs for GSI | |
attrdef = [ | |
{"AttributeName": "state", "AttributeType": STRING}, | |
{"AttributeName": "userId", "AttributeType": STRING}, | |
{"AttributeName": "assetId", "AttributeType": 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
# a simple Flask API to emulate OpenAI's using llama models and/or transformers | |
# runs on 3080 | |
import sys | |
import time | |
import torch | |
import json | |
from peft import PeftModel | |
from flask import Flask, make_response, request, abort |