Skip to content

Instantly share code, notes, and snippets.

View mrzcn's full-sized avatar

Emre mrzcn

View GitHub Profile
@mrzcn
mrzcn / Clean-Print Spooler
Created December 13, 2020 10:16
CMD Commands to clear print queue / Spool
net stop spooler
del %systemroot%\System32\spool\printers\* /Q /F /S
net start spooler
@mrzcn
mrzcn / Telnet-SMTP-Test
Created December 13, 2020 10:15
Example CMD Commands for Testing a SMTP/Mail server via Telnet
C:\Windows\System32> telnet
Microsoft Telnet> set localecho
Microsoft Telnet> set logfile c:\TelnetTest.txt
Microsoft Telnet> OPEN 10.10.10.19 465
ehlo
@mrzcn
mrzcn / .Net 3.5. Offiline Installation
Created December 13, 2020 10:11
.net 3.5 offline installation Command
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs
@mrzcn
mrzcn / Disable OneSyncSvc Service
Last active December 13, 2020 10:12
Windows server 2016 Disable "onesyncsvc" Service Please find Start registry entry and change its value to 4:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OneSyncSvc_2e345
@mrzcn
mrzcn / Email Signature Example1
Created March 8, 2020 07:47
Email Signature Codes
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Saygılarımla / Best Regards,
<br>
@mrzcn
mrzcn / disposable-email-provider-domains
Created February 5, 2020 18:56
List of disposable email provider domains
0815.ru
0wnd.net
0wnd.org
10minutemail.co.za
10minutemail.com
123-m.com
1fsdfdsfsdf.tk
1pad.de
20minutemail.com
21cn.com
##########
# Win10 Post Setup Script
# Original Author: Disassembler <disassembler@dasm.cz>
# Edited by Sven212
# Version: 1.5, 2016-06-08
##########
# Ask for elevated permissions if required
If (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator")) {
Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs
/*
This snippet is esssentially the same as being in the Twitter longer tweets test, for tweetdeck.
The Tweet length counter is fixed by tricking TweetDeck into counting up to 140 characters, twice, so you'll see 140
instead of 280 in the counter but going over 140 will give you another set of 140 charactrs.
*/
TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b};
twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(x){return x=twttr.txt.getTweetLength.apply(this,arguments),x<140||x/140>2?x:x%140}});