turn on developer mode
enable USB connection
enable untrusted apps
Find a microUSB to USB cable that supports data (some only support charging)
Pop the Peloton cover off the back
| sudo apt update | |
| # install zsh | |
| sudo apt install zsh -y | |
| # install other essentials | |
| sudo apt install build-essential procps curl file git -y | |
| # install gh | |
| sudo apt install gh |
| @echo off | |
| rem | |
| rem **************************************************************************** | |
| rem | |
| rem Copyright (c) Microsoft Corporation. All rights reserved. | |
| rem This code is licensed under the Microsoft Public License. | |
| rem THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF | |
| rem ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY | |
| rem IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR | |
| rem PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. |
turn on developer mode
enable USB connection
enable untrusted apps
Find a microUSB to USB cable that supports data (some only support charging)
Pop the Peloton cover off the back
<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>
<general_guidelines>
| let jsforce = require('jsforce'); | |
| let conn = new jsforce.Connection({ | |
| // you can change loginUrl to connect to sandbox or prerelease env. | |
| // loginUrl : 'https://test.salesforce.com' | |
| }); | |
| let username = 'YOUR_USERNAME'; | |
| let password = 'YOUR_PASSWORD'; | |
| let fullName = 'FULL_NAME'; // no spaces |
| # install forge for 1.12.2 | |
| # wget https://s3.amazonaws.com/Minecraft.Download/versions/1.11.2/minecraft_server.1.11.2.jar | |
| # wget https://s3.amazonaws.com/Minecraft.Download/versions/1.12.2/minecraft_server.1.12.2.jar | |
| wget https://launcher.mojang.com/mc/game/1.12.2/server/886945bfb2b978778c3a0288fd7fab09d315b25f/server.jar -O minecraft_server.1.12.2.jar | |
| # install (first time) | |
| java -Xmx1024M -Xms1024M -jar minecraft_server.1.12.2.jar nogui | |
| # set eula acceptance to true | |
| vi eula.txt |
| POST https://na15.salesforce.com/services/Soap/m/29.0/00Di0000000icUB HTTP/1.1 | |
| SOAPAction: create | |
| Content-Type: text/xml; charset=utf-8 | |
| Host: na15.salesforce.com | |
| Content-Length: 894 | |
| Expect: 100-continue | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:apex="http://soap.sforce.com/2006/08/apex" xmlns:cmd="http://soap.sforce.com/2006/04/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <soapenv:Header> |
| import requests | |
| import base64 | |
| import json | |
| from simple_salesforce import Salesforce | |
| userName = '' | |
| password = '' | |
| securityToken = '' | |
| instance = '' |
| import requests | |
| consumer_key = "YOUR_CONSUMER_KEY" | |
| consumer_secret = "YOUR_CUSTOMER_SECRET" | |
| username = "YOUR_USER_NAME" | |
| password = "YOUR_PASSWORD" | |
| payload = { | |
| 'grant_type': 'password', | |
| 'client_id': consumer_key, |