- Goto Keyboard settings and click 'Save a screenshot to Pictures' under 'Screenshots' section.
- Press 'Backspace' key delete 'PrtScr' key shortcut and press 'Set' button
- Press '+'(Plust) icon in the 'Custom Shortcuts' in the same window
- Enter 'Flameshot' in 'Name' field , 'flameshot gui' in 'Command' field, and click 'Set Shortcut' button and press 'PrtScr' button in the keyboard and close the dialog box 5.That's it. If you press 'PrtScr' key, the Flameshot selection area screen will appear.
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
| package oauth2Sample | |
| imports ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "golang.org/x/oauth2" | |
| ) |
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
| package com.company; | |
| import javax.crypto.Cipher; | |
| import javax.crypto.Mac; | |
| import javax.crypto.spec.IvParameterSpec; | |
| import javax.crypto.spec.SecretKeySpec; | |
| import java.security.MessageDigest; | |
| import java.security.SecureRandom; | |
| public class Main { |
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 PIL | |
| from PIL import Image, ImageOps | |
| def resizecrop(src, out, width, height): | |
| img = Image.open(src) | |
| img = ImageOps.fit(img, (width, height), Image.ANTIALIAS, 0, (0.5, 0.5)) | |
| img.save(out) |