Skip to content

Instantly share code, notes, and snippets.

@abhi1010
abhi1010 / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created December 30, 2024 03:54
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

WATCH OUT FOR SUSPICIOUS LINKS IN THE COMMENTS BELOW!

I noticed that people or bots are trying to place suspicious links below that link to some sketchy source for what they say is a 'crack' or nothing at all. I'd recommend you to NOT click on any of those links! The scripts in this guide are open source and can be viewed as desired. I'm fine with posting coupons here! Do note that if you do so, please prove it! Link a review site along with the site and the coupon. Thanks, Minionguyjpro.

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that

@abhi1010
abhi1010 / trend_following_1.ipynb
Created July 17, 2023 15:02 — forked from AnthonyFJGarner/trend_following_1.ipynb
A Simple Trend Following System in Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abhi1010
abhi1010 / mean_reversion.ipynb
Created July 17, 2023 15:01 — forked from AnthonyFJGarner/mean_reversion.ipynb
A Simple Mean Reversion System in Simple Python Code
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abhi1010
abhi1010 / mock.methods.py
Created April 23, 2023 14:58 — forked from Sklavit/mock.methods.py
Mock examples
# @ https://cheat.readthedocs.io/en/latest/python/mock.html
obj.call_count # number of times it was called
obj.called == obj.call_count > 0
obj.call_args_list # a list of (args,kwargs), one for each call
obj.call_args # obj.call_args_list[-1] (args,kwargs from last call)
obj.return_value # set to what it should return
obj.side_effect # set to an exception class or instance that should be raised when its called
obj.assert_called() # doesn't work with autospec=True? just assert obj.called
obj.assert_called_with(*args, **kwargs) # last call was with (*args, **kwargs)
@abhi1010
abhi1010 / run_cmd.py
Created November 13, 2019 02:45
run bash commands on python
import logging
import sys
import argparse
import subprocess
import os
import logging.handlers
from typing import List, Union, Dict, Tuple, Sequence
import utils
from datetime import datetime, timedelta
@abhi1010
abhi1010 / MigrateFromGoogleTestToCatch.py
Created August 21, 2019 05:51
Helper script to migrate from Google Test to Catch
import sys
import re
import os
testCaseRegex = re.compile (r'TEST\s*\((\w+),\s*(\w+)\)')
expectRegex = re.compile (r'EXPECT_(\w+)\s*\((.*)\);')
assertRegex = re.compile (r'ASSERT_(\w+)\s*\((.*)\);')
leadingWhitespaceRegex = re.compile(r'^(\s*)')
module = "[unknown]"
@abhi1010
abhi1010 / multi-line-replace-perl.md
Created November 28, 2018 05:12
multi line replace in bash

How to do a multi-line replace in files

Remember to add a backslash for special keywords like //{

perl -i -p0e 's/namespace gng \{\nnamespace strategy \{/namespace gng::engine::xraider \{/igs' *.h

perl -i -p0e 's/namespace gng \{\nnamespace strategy \{/namespace gng::engine::xraider \{/igs' *.cc
@abhi1010
abhi1010 / gist:04ae5e63af2fd629000965b47865521d
Created October 25, 2018 03:34 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: