- Create or find a gist that you own.
- Clone your gist (replace
<hash>
with your gist's hash):# with ssh git clone [email protected]:<hash>.git mygist # with https
git clone https://gist.github.com/.git mygist
<hash>
with your gist's hash):
# with ssh
git clone [email protected]:<hash>.git mygist
# with https
git clone https://gist.github.com/.git mygist
@echo off | |
echo *************************************************************** | |
echo *************************************************************** | |
echo *** This Script will stop Windows 10 Spying you...YEYYYY!!! *** | |
echo *************************************************************** | |
echo *** We will Disable Data Logging Services *** | |
echo *** We will Configure Windows Explorer *** | |
echo *** We will Uninstall OneDrive *** | |
echo *** We will edit Hosts to stop sending Data to Microsoft *** | |
echo *************************************************************** |
/** | |
* A {@link JTextField} that skips all non-digit keys. The user is only able to enter numbers. | |
* | |
* @author Michi Gysel <[email protected]> | |
* | |
*/ | |
public class JNumberTextField extends JTextField { | |
private static final long serialVersionUID = 1L; | |
@Override |
Inspired by this article. Neat tricks for speeding up integer computations.
Note: cin.sync_with_stdio(false);
disables synchronous IO and gives you a performance boost.
If used, you should only use cin
for reading input
(don't use both cin
and scanf
when sync is disabled, for example)
or you will get unexpected results.
x = x << 1; // x = x * 2