-
Install VirtualBox on Windows
-
Create a new VM, and install your prefered OS for amd64 (here's the link for Debian)
-
add a shared folder
- Settings > Shared Folders
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
| def checkingOff(s1 , s2): | |
| alist = list(s2) | |
| pos1 = 0 | |
| stillOK = True | |
| while pos1 < len(s1) and stillOK: | |
| pos2 = 0 | |
| found = False | |
| while pos2 < len(alist) and not found: |
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
| curl 'https://secure.eveonline.com/signup/' -H 'Connection: keep-alive' -H 'Cache-Control: max-age=0' -H 'Origin: https://secure.eveonline.com' -H 'Upgrade-Insecure-Requests: 1' -H 'Content-Type: application/x-www-form-urlencoded' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8' -H 'Referer: https://secure.eveonline.com/signup/' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.9' -H 'Cookie: CookieConsent=-3; aid=aid=106863&lid=0&added=12/27/2018; secure_cultureinfo=cultureinfo=en-us&added=12/27/2018; ASP.NET_SessionId=0ypt2mwqcwruq1qtgwkjbnli; _ga=GA1.2.221054858.1545895369; _gid=GA1.2.1268642362.1545895369; _gcl_au=1.1.820868782.1545895369; _fbp=fb.1.1545895370748.2133988580; _dc_gtm_UA-45583206-1=1; _gat_UA-45583206-1=1' --data '__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=PDbYsfRXaVTGrabX%2BK6JiP |
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
| from flask import Flask | |
| app = Flask(__name__) | |
| @app.route('/api/intent/train', methods=['POST']) | |
| def create_intent(): | |
| ''' | |
| Use this to create new intent. accepts a string | |
| ''' | |
| # maybe just modify file? | |
| return 'unimplemented' |
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
| from flask import Flask | |
| app = Flask(__name__) | |
| @app.route('/api/intent', methods=['POST']) | |
| def analysis(): | |
| ''' | |
| Use this to create a new intent. Accepts intent as a string | |
| ''' | |
| return 'Hello, World!' |
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
| R version 3.5.1 (2018-07-02) -- "Feather Spray" | |
| Copyright (C) 2018 The R Foundation for Statistical Computing | |
| Platform: x86_64-w64-mingw32/x64 (64-bit) | |
| R is free software and comes with ABSOLUTELY NO WARRANTY. | |
| You are welcome to redistribute it under certain conditions. | |
| Type 'license()' or 'licence()' for distribution details. | |
| R is a collaborative project with many contributors. |
import pandas as pddf = pd.read_excel("https://uofi.box.com/shared/static/d27425539c9d662a7041.xls")
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
| import requests | |
| import json | |
| class CoPilotAPI: | |
| def __init__(self, client_secret, username, password, base_url="https://accountsuat.cardconnect.com/"): | |
| self.base_url = "https://accountsuat.cardconnect.com/" | |
| # load this from config file or environment variables | |
| self.client_secret = client_secret |
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
| import requests | |
| import json | |
| class CoPilotAPI: | |
| def __init__(base_url="https://accountsuat.cardconnect.com/", access_key, username, password): | |
| self.base_url = "https://accountsuat.cardconnect.com/" | |
| # load this from config file or environment variables | |
| self.access_key = access_key | |
| self.username = username |
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
| try: | |
| import Rust, BasePlayer | |
| import Oxide.Game.Rust.Cui as Cui | |
| from System import Action | |
| import UnityEngine.TextAnchor as TextAnchor | |
| except ImportError, e: | |
| print 'IMPORT ERROR',e | |
| class AnnounceGUI: |