- Add a valid phone number to your Steam account via store.steampowered.com account settings panel.
- Copy this code from this gist into a
enable-2fa.js
file and install the dependencies listed at the top. - Start with
VAPOR_ADMIN=7657xxx VAPOR_USER=username VAPOR_PASS=password node enable-2fa.js
. - Send chat message
enable
to your bot to enable 2FA. - Wait for the response from Steam servers. Full response which will include your
shared_secret
andidentity_secret
will be printed to console as well as saved to a file. - You will receive a text message.
- Send chat message
confirm CODE
to your bot. - You will see a confirmation in the console. You can now press Ctrl+C to kill the script.
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
var vapor = require('vapor'); | |
var storehouse = require('vapor-storehouse'); | |
var bot = vapor(); | |
bot.init({ | |
username: process.env.USER, | |
password: process.env.PASS, | |
//admins: [ process.env.ADMIN ], /* we don't set admin so the offers are automatically declined */ | |
displayName: 'Vapor Receiver' |
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
var vapor = require('vapor'); | |
var idler = require('vapor-idler'); | |
// Create our config object | |
var config = { | |
username: username, // Steam login | |
password: password, // Steam password | |
displayName: 'My Cool Name', // This will show up in other users' friendslists | |
// Admins can issue "!idle" command (via regular chat messages) to start/stop the idling process |
I hereby claim:
- I am scholtzm on github.
- I am scholtzm (https://keybase.io/scholtzm) on keybase.
- I have a public key whose fingerprint is 249E 3D3B C4D2 283C 6244 57B1 36E6 874B 76A4 9D4E
To claim this, I am signing this object:
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
youtube-dl -f bestaudio "<YOUTUBE VIDEO URL>" --exec "ffmpeg -i {} -codec:a libmp3lame -qscale:a 0 {}.mp3 && rm {}" |
❌ Code Complete (2nd edition) by Steve McConnell
✅ The Pragmatic Programmer
❌ Structure and Interpretation of Computer Programs
❌ The C Programming Language by Kernighan and Ritchie
❌ Introduction to Algorithms by Cormen, Leiserson, Rivest & Stein
As a bookmarklet:
javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery injected')};document.head.appendChild(e);})(document.createElement('script'),'//code.jquery.com/jquery-latest.min.js')