- amwiki
- clipboard
- apex-ui-personalize
- remote
- dialog
- asciidoc-image-helper
- clipboard
- native-image
- atml3-ide-prettifier
- ipc
| /** | |
| * Lightweight script to detect whether the browser is running in Private mode. | |
| * @returns {Promise<boolean>} | |
| * | |
| * Live demo: | |
| * @see https://output.jsbin.com/tazuwif | |
| * | |
| * This snippet uses Promises. If you want to run it in old browsers, polyfill it: | |
| * @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js | |
| * |
| # -*- encoding: utf-8 -*- | |
| import sublime | |
| import sublime_plugin | |
| class MinimapSetting(sublime_plugin.EventListener): | |
| def on_activated(self, view): | |
| show_minimap = view.settings().get('show_minimap') | |
| if show_minimap: |
| .type.storage,.type.storage.declaration, .storage.class.modifier { | |
| font-family: 'flottflott'; | |
| font-size: 1.7em; | |
| } | |
| .type.storage.arrow.function { | |
| font-family: 'Fira Code' | |
| } | |
| .decorator.name, .decorator.punctuation:not(.block), .import.keyword { |
| atom-text-editor { | |
| font-family: 'Fira Code'; | |
| font-style: normal; | |
| text-rendering: optimizeLegibility; | |
| } | |
| atom-text-editor::shadow { | |
| .string.quoted, | |
| .string.regexp { | |
| -webkit-font-feature-settings: "liga" off, "calt" off; | |
| } |
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git, the mingw64 in this directory is your root. Find it by using pwd -W).
If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
| (function (root, factory) { | |
| if (typeof(define) === 'function' && define.amd) { | |
| define([], function() { return root.m = factory() }); | |
| } else if (typeof module === 'object' && module.exports) { | |
| module.exports = factory(); | |
| } else { | |
| root.m = factory(); | |
| } | |
| })(this, function(exports){ | |
| 'use strict'; |
| import React, { Component } from 'react' | |
| import Subapp from './subapp/Root' | |
| class BigApp extends Component { | |
| render() { | |
| return ( | |
| <div> | |
| <Subapp /> | |
| <Subapp /> | |
| <Subapp /> |
| #include <stdio.h> | |
| #define STR2(x) #x | |
| #define STR(x) STR2(x) | |
| #ifdef _WIN32 | |
| #define INCBIN_SECTION ".rdata, \"dr\"" | |
| #else | |
| #define INCBIN_SECTION ".rodata" | |
| #endif |
| pico-8 cartridge // http://www.pico-8.com | |
| version 5 | |
| __lua__ | |
| -- A* pathfinding | |
| -- by @richy486 | |
| function _init() | |
| printh("---------------") | |
| printh("starting a star") |