Have a repository on GitHub? Planning on making a repository on GitHub? This checklist is intended to introduce you to various features that may help you make the most of your GitHub repository with specific recommendations for C# repositories.
These are only suggestions.
They may not be appropriate for all repositories.
They are in no particular order.
Click each item to expand for more information.
| resources: | |
| - repo: self | |
| trigger: | |
| - master | |
| steps: | |
| - script: ./cleanup.sh | |
| displayName: Clean Up |
| import * as pulumi from '@pulumi/pulumi'; | |
| import * as gcp from '@pulumi/gcp'; | |
| import * as k8s from '@pulumi/kubernetes'; | |
| import * as k8sInputApi from '@pulumi/kubernetes/types/input'; | |
| const serviceAccountKeys = new Map<string, gcp.serviceAccount.Key>(); | |
| /** | |
| * Creates a service account and key, and sets the cloudsql.client role in IAM. | |
| */ |
First of all, this is not my brilliant effort to get react-native working on Windows, it is the collation of work by others, particularly @mqli and @Bernd Wessels. I've just summarised what worked for me.
If you would prefer to read what I've plagerised, head over to mqli's great gist
- The below is tested with
react-native-cli 0.1.5,react-native 0.12.0on Windows 10, node 4.1.1, and Android (physical Nexus 6 and AVD with API v22) - I hope this will all be redundant in a few weeks. Please comment on stuff that is now fixed and I will update this to keep it relevant.
- Sprinkle a bit of YMMV around
Keep this github issue handy, it’s the bucket for all Windows/Linux related tricks to get RN working.
| #!/usr/bin/bash | |
| # choose pulseaudio sink via rofi or dmenu | |
| # changes default sink and moves all streams to that sink | |
| sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|rofi -dmenu -p 'pulseaudio sink:' -location 6 -width 100|grep -Po '[0-9]+(?=:)') && | |
| # alternate version using dmenu: | |
| # sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|dmenu -p 'pulseaudio sink:'|grep -Po '[0-9]+(?=:)') && | |
| ponymix set-default -d $sink && | |
| for input in $(ponymix list -t sink-input|grep -Po '[0-9]+(?=:)');do |
| The MIT-except-Apple License (MIT-EA) | |
| Copyright (c) <year> <copyright holders> | |
| Permission is hereby granted, free of charge, to any person (except | |
| anybody associated with Apple Inc.) obtaining a copy of this software | |
| and associated documentation files (the "Software"), to deal in the | |
| Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| public class MessageIdentity | |
| { | |
| public Guid NameSpace; | |
| private readonly byte[] _namespaceBytes; | |
| public MessageIdentity(Guid guidNameSpace) | |
| { | |
| NameSpace = guidNameSpace; | |
| _namespaceBytes = guidNameSpace.ToByteArray(); | |
| SwapByteOrder(_namespaceBytes); |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace Voron.Util | |
| { | |
| /// <summary> | |
| /// A list that can be used by readers as a true immutable read-only list | |
| /// and that supports relatively efficient "append to the end" and "remove | |
| /// from the front" operations, by sharing the underlying array whenever |