| tags | vscode, material,customize folder icons vscode material theme |
|---|---|
| title | How to add custom folder icon in Material icons |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "context" | |
| "encoding/binary" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package rcon | |
| import ( | |
| "bytes" | |
| "encoding/binary" | |
| "fmt" | |
| "net" | |
| "strings" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $grid-xs: 420px; | |
| $grid-sm: 768px; | |
| $grid-md: 992px; | |
| $grid-lg: 1200px; | |
| $columns: 12; | |
| $viewport-layouts: ( | |
| "xs":( "min-width": $grid-xs, "width": $grid-xs - 15px ), | |
| "sm":( "min-width": $grid-sm, "width": $grid-sm - 15px ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ThemeManager.swift | |
| // iPastach | |
| // | |
| // Created by Юрий Гринев on 28.07.2018. | |
| // Copyright © 2018 Юрий Гринев. All rights reserved. | |
| // | |
| import UIKit | |
| import Foundation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| if (typeof window.onerror == "object") { | |
| window.onerror = function (msg, url, line, col, error) { | |
| if (typeof(msg) === 'object' && msg.srcElement && msg.target) { | |
| if (msg.srcElement == '[object HTMLScriptElement]' && msg.target == '[object HTMLScriptElement]') { | |
| msg = 'Error loading script'; | |
| } else { | |
| msg = 'Event Error - target:' + msg.target + ' srcElement:' + msg.srcElement; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function VueLinkPreview(el, binding, vnode) { | |
| let siteNames = ['www.youtube.com', 't.me', 'vk.com', 'i.imgur.com'] | |
| let links = el.getElementsByTagName('a') | |
| for (let j = 0; j < links.length; j++) { | |
| let link = links[j], | |
| host = link.host, | |
| normal = siteNames.indexOf(host) > -1 | |
| console.log(links, link, host, normal) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function() { | |
| $('[data-sign=\'button\']').click(function(e){ | |
| e.preventDefault(); | |
| var field = $(this).attr('data-sign-field'), | |
| type = $(this).attr('data-sign-type'); | |
| var input = $('input[name=\''+field+'\']'), | |
| currentVal = parseInt(input.val()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fetch from 'isomorphic-fetch' | |
| export const REQUEST_POSTS = 'REQUEST_POSTS' | |
| export const RECEIVE_POSTS = 'RECEIVE_POSTS' | |
| export const SELECT_SUBREDDIT = 'SELECT_SUBREDDIT' | |
| export const INVALIDATE_SUBREDDIT = 'INVALIDATE_SUBREDDIT' | |
| // НАХУЯ | |
| function requestPosts() { | |
| return { |
