Skip to content

Instantly share code, notes, and snippets.

@andrijac
andrijac / reset_icons.cmd
Created January 3, 2019 13:51
Reset icons in Windows 10 start menu
@echo off
taskkill /f /im explorer.exe
taskkill /f /im shellexperiencehost.exe
timeout /t 3 /NOBREAK > nul
del %localappdata%\Packages\Microsoft.Windows.ShellExperienceHost_cw5n1h2txyewy\TempState\* /q
timeout /t 2 /NOBREAK > nul
start explorer
@echo on

Windows Setup Notes

based on original document from Alan Stevens

Installation

IMPORTANT:

  • Install using Local Account first, attach Microsoft account later

Windows Setup Notes

based on original document from Alan Stevens

Installation

IMPORTANT:

  • Install using Local Account first, attach Microsoft account later
@andrijac
andrijac / Windows10_Setup.md
Created September 7, 2018 13:53 — forked from alanstevens/Windows11_Setup.md
Windows 10 Setup

This guide was created using Microsoft Windows 10 Pro

Version 10.0.17134 Build 17134

Installation

System Updates:

  • Settings -> Update & Security
  • Install all updates

Visual Studio 2017:

BEGIN TRY
BEGIN TRANSACTION
-- UPDATE
COMMIT
END TRY
BEGIN CATCH
ROLLBACK
END CATCH
@andrijac
andrijac / gist:3b5c04d29db3fd12e0ee576324f09741
Created January 9, 2018 10:13 — 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:
nslookup -type=txt o-o.myaddr.l.google.com. ns1.google.com.
@andrijac
andrijac / stuns
Created May 8, 2017 13:21 — forked from zziuni/stuns
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@andrijac
andrijac / checkHeaderPDF.cs
Created March 12, 2017 11:04
Check Header PDF
//http://stackoverflow.com/a/3257743/84852
public bool IsPDFHeader(string fileName)
{
byte[] buffer = null;
FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
BinaryReader br = new BinaryReader(fs);
long numBytes = new FileInfo(fileName).Length;
//buffer = br.ReadBytes((int)numBytes);
buffer = br.ReadBytes(5);
Install-Package NLog -Version 4.1.0 -Project ProjectName