Skip to content

Instantly share code, notes, and snippets.

@matijagrcic
matijagrcic / Visual_Studio_Code_Default_Settings.js
Last active March 1, 2022 16:12
Visual Studio Code Default Settings
// Overwrite settings by placing them into your settings file.
{
//-------- Editor configuration --------
// Controls the font family.
"editor.fontFamily": "",
// Controls the font size.
"editor.fontSize": 0,
{
"total": 87,
"pages": [{
"page": 1,
"videos": [{
"name": "Keynote: What is programming anyway? - Felienne",
"href": "https://vimeo.com/channels/1344849/254635626",
"duration": "01:06:10",
"description": "All kids should learn to code! Yes, I think we programmers all agree with Bill Gates and Sheryl Sandberg that kids should learn programming. But what is programming? What should kids know? What should…"
}, {
USB drive as FAT32 on a Win7/Win8/Win10
diskpart.exe
list disk (Find USB device)
select disk 1 (select USB drive)
clean
create partition primary
select partition 1
active
format quick fs=fat32 (UEFI can only USB boot to FAT32, not NTFS)
@matijagrcic
matijagrcic / JSONFormatterDark.css
Created November 21, 2016 10:22
Dark Theme for JSON Formatter (https://github.com/callumlocke/json-formatter) by using the add-on Stylish (https://userstyles.org/)
div#json, div#jfContent{
margin: 0;
padding: 20px;
background: #191919;
color: #C4BD97;
position: fixed;
top:0;
bottom:0;
left:0;
right:0;
@matijagrcic
matijagrcic / lists.txt
Created January 19, 2021 11:05 — forked from ScottHelme/lists.txt
My Pi-hole blocklist list.
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts https://mirror1.malwaredomains.com/files/justdomains http://sysctl.org/cameleon/hosts https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt https://hosts-file.net/ad_servers.txt https://v.firebog.net/hosts/AdguardDNS.txt https://adaway.org/hosts.txt https://v.firebog.net/hosts/Easyprivacy.txt https://v.firebog.net/hosts/Prigent-Ads.txt https://zerodot1.gitlab.io/CoinBlockerLists/hosts https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt https://raw.githubusercontent.com/ScottHelme/revocation-endpoints/master/ocsp.txt https://raw.githubusercontent.com/ScottHelme/revocation-endpoints/master/crl.txt https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts https://www.malwaredomainlist.c
<form method="post" id="usrForm">
<fieldset>
<legend>Name and Company</legend>
<label for="name">Name</label>
<input type="text" name="name" id="name" autocomplete="name">
<label for="honorific-prefix">Honorific Prefix (e.g. "Mr.", "Ms.", "Dr.", "Mlle")</label>
<input type="text" name="honorific-prefix" id="honorific-prefix" autocomplete="honorific-prefix">
<label for="given-name">Given Name</label>
<input type="text" name="given-name" id="given-name" autocomplete="given-name">
<label for="additional-name">Additional Name</label>
@matijagrcic
matijagrcic / SonosMusicLibrary.ps1
Created December 22, 2020 09:56
Fix Sonos Music Library
Remove-NetFirewallRule -DisplayName "SonosLibraryService"
Remove-NetFirewallRule -DisplayName "Sonos Controller"
Remove-NetFirewallRule -DisplayName "Sonos Desktop Controller"
Go to: chrome://settings/searchEngines
Add a new search engine with the following settings
Gif | Gif | https://www.google.com/search?q=%s&tbm=isch&tbs=itp:animated
Type gif in the address bar press TAB and enter your search query
@matijagrcic
matijagrcic / settings.json
Created November 19, 2020 08:58 — forked from jayphelps/settings.json
Modifications on top of "Community Material Theme Palenight" Before and after: https://twitter.com/_jayphelps/status/1259321038728560642?s=20
// Modify your settings.json to add these. Customize further how you prefer.
{
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.tabCloseButton": "off",
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#ffffff06",
"editor.foreground": "#acb3db",
"selection.background": "#89DDFF",
"progressBar.background": "#89DDFF",
"textLink.foreground": "#89DDFF",
@matijagrcic
matijagrcic / No YouTube Ads.css
Last active May 13, 2020 10:45
No ads on YouTube, install Stylish for Chrome https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en add new style for URLs on the domain: youtube.com, also install https://userstyles.org/styles/117673/darktube
.ytp-ad-overlay-container{
display: none;
}