- bierner.emojisense
- DotJoshJohnson.xml
- emilast.LogFileHighlighter
- esbenp.prettier-vscode
- file-icons.file-icons
- goessner.mdmath
- johnpapa.vscode-peacock
- k--kato.intellij-idea-keybindings
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 java.util.Set; | |
| import java.util.stream.*; | |
| public class Ties { | |
| // https://en.wikipedia.org/wiki/United_States_Electoral_College#Current_electoral_vote_distribution | |
| private static final String[] STATES = { | |
| "AL", "AK", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", | |
| "KS", "KY", "LA", "ME", "ME-1", "ME-2", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NE-1", |
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
| @-moz-document domain("en.wikipedia.org"), domain("en.wikiquote.org") { | |
| body, | |
| .mw-body-content h2 { | |
| font-family: 'IBM Plex Sans', sans-serif | |
| } | |
| .mw-body h1, | |
| .mw-body-content h1 { | |
| font-family: 'IBM Plex Mono', monospace | |
| } |
git-svn is a git command that allows using git to interact with Subversion repositories. git-svn is part of git, meaning that is NOT a plugin but actually bundled with your git installation. SourceTree also happens to support this command so you can use it with your usual workflow.
Reference: http://git-scm.com/book/en/v1/Git-and-Other-Systems-Git-and-Subversion
You need to create a new local copy of the repository with the command
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
| # installer; see https://www.thomasmaurer.ch/2019/03/how-to-install-and-update-powershell-6/ | |
| # iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" | |
| # edit this script | |
| # $EDITOR $profile | |
| # Administrator, enable this script | |
| # Set-ExecutionPolicy RemoteSigned | |
| # incremental tab completion |
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
| [ | |
| { | |
| "method": "saveStyle", | |
| "name": "GitHub", | |
| "enabled": true, | |
| "sections": [ | |
| { | |
| "urls": [], | |
| "urlPrefixes": [], | |
| "domains": [ |
.container
.row
.one.column ~ .eleven.columns
.one-third.column ~ .two-thirds.column
.one-half.column
.offset-by-one.column ~ .offset-by-eleven.columns
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
| #include <stdio.h> | |
| int main() { | |
| int arr[] = {1, 2, 3, 4, 5}; | |
| int size = 5; | |
| for (int i = 0; i < size; i++) | |
| printf((i == 0 ? "[%d" : i == size - 1 ? ", %d]\n" : ", %d"), arr[i]); | |
| // "[1, 2, 3, 4, 5]" | |
| return 0; | |
| } |
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
| module Lab2 where | |
| import Data.Char | |
| import Test.QuickCheck | |
| ------------------------------------------------------------------------------- | |
| -- Lab 2: Validating Credit Card Numbers | |
| ------------------------------------------------------------------------------- | |
| (|>) :: a -> (a -> b) -> b |