- amwiki
- clipboard
- apex-ui-personalize
- remote
- dialog
- asciidoc-image-helper
- clipboard
- native-image
- atml3-ide-prettifier
- ipc
| .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") |
| /** | |
| We need to deliver a package of Skittles bags. You will be given an inventory of small bags (1 kilo each) and big bags | |
| (5 kilos each) along with the goal amount of kilos we need to ship the customer. Return the amount of small bags the package | |
| will contain assuming we always use big bags first. Return -1 if it cannot be done. | |
| Input | |
| small (type: int) - The number of small bags we have to work with | |
| big (type: int) - The number of big bags we have to work with | |
| goal (type: int) - The goal weight of the package that we need to ship out |
| #!/bin/sh | |
| # CopyConsole (Copy cloud storage by Barracuda) service | |
| copyConsolePath="/srv/users/serverpilot/scripts/copy/CopyConsole" | |
| copyUser="serverpilot" | |
| userHomeDir="/srv/users/serverpilot" | |
| start() { | |
| echo "Starting CopyConsole..." | |
| if [ -x $copyConsolePath ]; then |