- In OBS, select the scene you want. Add a new source by clicking on the
+. SelectBrowser. - Name it something reasonable, such as "Chat" and click "OK". A browser create window will open.
- For the URL, enter
https://www.twitch.tv/popout/YOUR_USER_NAME/chat, replacingYOUR_USER_NAMEwith, well, your user name. - Set width and height as desired. I found 800x1400 to be good for a 1920x1080 canvas.
- Check "Custom CSS" and copy/paste the text from the
twitch-chat.cssfile into the text box. - Make sure "Refresh browser when scene becomes active" is NOT checked. This will allow you to move away from the scene and go back without chat being cleared out.
- For permissions, "No access to OBS" is the best option as no access is needed.
- Click "OK". You now have a chat window in your scene. Position it as you like with the mouse.
- Crop the top and bottom by holding "Alt" and dragging the top and bottom edges. Alternately, you can right click and select
Transform->Edit Transform....
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
| <?php | |
| die(); | |
| ?> |
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 blockchain import blockexplorer | |
| f = open('walletdump2.txt', 'r') | |
| fk = open('keys.txt', 'a+') | |
| for line in f.readlines(): | |
| items = line.split() | |
| addr = items[4] |
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
| f = open('walletdump.txt', 'r') | |
| fk = open('keys.txt', 'a+') | |
| for line in f.readlines(): | |
| items = line.split() | |
| print(items[0]) | |
| fk.write(items[0] + '\n') | |
| f.close() |
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 hmac | |
| import hashlib | |
| import os | |
| from itertools import izip | |
| from Crypto.Cipher import AES | |
| AES_BLOCK_SIZE = 16 | |
| AES_KEY_SIZE = 16 | |
| SIG_SIZE = hashlib.sha256().digest_size |
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
| 'use strict'; // I'm not sure what this does. Copied from Amazon's Reindeer Games tutorial. | |
| /* | |
| This is a simple example of how to make an Alexa skill fetch from DynamoDB. | |
| Create a DynamoDB and name it HelloWorld. Make your primary key name 'item' of type 'number'. | |
| Make a second column and call it 'text'. | |
| Create a new item. Give 'item' a value of 0, and populate 'text' with whatever you want Alexa to say. |
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
| alias rm='rm -i' | |
| alias cp='cp -i' | |
| alias mv='mv -i' | |
| alias ll='ls -lh' | |
| alias pj='python -m json.tool' | |
| alias g='git' | |
| alias ga='git add' | |
| alias gb='git branch' |
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
| #! /bin/sh | |
| main() { | |
| root=$1 | |
| for i in $(find $root -type d -iname '.Training.Spam'); do | |
| process_maildir $(dirname $i) | |
| done | |
| } |
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 sys | |
| file_name = sys.argv[1] | |
| with open(file_name) as file: | |
| content = file.readlines() | |
| keys = [] | |
| for line in content: | |
| item = line.split('" = "') | |
| key = item[0] |
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 main(): | |
| for i in range(1, 100): | |
| if 0 == i % 3 and 0 == i % 5: | |
| print 'fizzbuzz' | |
| elif 0 == i % 3: | |
| print 'fizz' | |
| elif 0 == i % 5: | |
| print 'buzz' | |
| else: | |
| print i |
NewerOlder