Skip to content

Instantly share code, notes, and snippets.

View tecno14's full-sized avatar
🏠
Working from home

Wael Had tecno14

🏠
Working from home
View GitHub Profile
@tecno14
tecno14 / tp-w8961n-status.py
Created March 31, 2020 18:53 — forked from mdavey/tp-w8961n-status.py
Example code for talking to a TP-Link TD-W8961N modem/router
import telnetlib
import re
import time
class TPW8961N(object):
def __init__(self, host):
self.host = host
@tecno14
tecno14 / KMS_office.cmd
Created April 19, 2020 21:13 — forked from CHEF-KOCH/KMS_office.cmd
KMS server Windows
@echo off
title Microsoft Office 2019 versions are supported!&cls&echo
============================================================================&echo
#Project: Activating Microsoft software products for FREE without software&echo
============================================================================&echo.&echo
#Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist
"%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist
"%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b
..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo
@tecno14
tecno14 / Block.cs
Created April 21, 2020 21:27 — forked from define-private-public/Block.cs
UDP based file transfer in C#
// Filename: Block.cs
// Author: Benjamin N. Summerton <define-private-public>
// License: Unlicense (http://unlicense.org/)
using System;
using System.Text;
using System.Linq;
namespace UdpFileTransfer
{
Windows 7 Ultimate Retail Offline Activation Key
BR6G7-729GM-DQDQW-F9M4P-MM2JX
J6XG4-8JFTF-43CHH-8Q2VW-KHQH6
YQMCM-3W6TK-YXP66-GKCJV-PX7PH
[Tested working on 18 June 2013]
=================================================================================
Windows 7 Pro / Enterprise Online Activation MAK Key
@tecno14
tecno14 / visualstudio2019Key.txt
Created June 11, 2020 13:06
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
Visual Studio 2019 Enterprise
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
[Please Star this gist]
https://infinityfree.net/
https://www.000webhost.com/
@tecno14
tecno14 / getMyCode.js
Created October 16, 2020 12:49 — forked from creationix/getMyCode.js
Script to download all repos for a user
// Run this with node and then run the output with sh
var Http = require('http')
var ChildProcess = require('child_process');
Http.cat("http://github.com/api/v2/json/repos/show/creationix", function (err, json) {
if (err) throw err;
var data = JSON.parse(json);
data.repositories.forEach(function (repo) {
console.log("echo " + JSON.stringify(repo.name + " - " + repo.description));
console.log("git clone --bare " + repo.url);
});
ㅤㅤㅤ
@tecno14
tecno14 / AdbCommands
Created August 21, 2021 11:25 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@tecno14
tecno14 / LabelEncoder.cs
Created October 5, 2021 11:00
LabelEncoder in C# (double to int only)
using System;
using System.Linq;
using System.Collections.Generic;
namespace PricePrediction.MachineLearning
{
/// <summary>
/// this class used to encode double data into continuous integer values and decode it vice versa
/// for example [0.1, 2, 9] will encoded as [0, 1, 2]
/// similar : https://github.com/foreverzet/Sharpkit.Learn/blob/master/src/Sharpkit.Learn/Preprocessing/LabelEncoder.cs