https://www.linkedin.com/pulse/how-enable-git-tab-completion-bash-mac-os-x-conor-livingston/
| const http = require('http'); | |
| const url = require('url'); | |
| const path = require('path'); | |
| const fs = require('fs'); | |
| function wget(source, { onStart, onProgress } = {}) { | |
| return new Promise(function(y, n) { | |
| const output = path.basename(url.parse(source).pathname); | |
| const req = http.request(source, |
| #!/bin/sh | |
| # v = verbose | |
| # z = reduce the network transfer by adding compression | |
| # P = combines the flags --progress and --partial. | |
| # The first of these gives you a progress bar for the transfers and the second allows you to resume interrupted transfers | |
| rsync -vzP ftp.edrdg.org::nihongo/JMdict_e . |
Was facing this stupid error message:
~/anaconda3 ❯❯❯ bin/conda install tensorflow Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- scikit-image -> numpy[version='>=1.13.3,<2.0a0']
- tensorflow Use "conda info " to see the dependencies for each package.
| using System; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.IO; | |
| namespace KlerksSoft | |
| { | |
| public static class TextFileEncodingDetector | |
| { | |
| /* |
| // In order to inject dependencies through constructor parameters, | |
| // use greedy constructor selection (versus modest constructor query/ModestConstructorQuery) | |
| // http://blog.ploeh.dk/2011/04/19/ConstructorstrategiesforAutoFixture/ | |
| // | |
| // OmitAutoProperties to stop it from mocking out properties | |
| // See https://github.com/AutoFixture/AutoFixture/issues/320 for combo of GreedyConstructorQuery and OmitAutoProperties | |
| AutoFixture.Customize<T>(c => c.FromFactory(new MethodInvoker(new GreedyConstructorQuery())).OmitAutoProperties()); | |
| // Trace construction of objects | |
| AutoFixture.Behaviors.Add(new TracingBehavior()); |
Warm-up 10 minutes. Build up from easy to a steady pace for a few minutes.
Cadence pyramids Do the following progression two to three times with 10 minutes of easy/steady riding in between:
- 100 r.p.m.
- 105 r.p.m.
- 110 r.p.m.
- 115 r.p.m.
- 120 r.p.m.
| https://social.msdn.microsoft.com/Forums/azure/en-US/afbfb7b3-92c9-4af6-9128-ba96795de5a6/not-able-to-delete-b2c-tenant?forum=WindowsAzureAD | |
| Please follow the following steps: | |
| Create Temporary Admin Account | |
| 1. Open a browser and login to https://manage.windowsazure.com | |
| 2. In the left hand menu navigate to Active Directory, and select your directory | |
| 3. Click Users and Groups > Add User | |
| 4. Create this user with a username of [email protected] and be sure to grant this user the role Global Administrator |
GUIDE TIL PÅKLÆDNING - CYKLING
OM "GUIDE TIL PÅKLÆDNING" Denne guide er til dig, der er lidt usikker på, hvordan man skal klæde sig på til en tur på raceren i efteråret og de tidlige vintermåneder. Får man for lidt tøj på kan turen næsten være ødelagt inden man kommer i gang og får man for meget tøj på føler man sig som en svedende russer i en sauna. Læs med og få styr på temperaturen og udstyret!
- 20 GRADER Solen skinner, der er kun svag vind og du skal ud med klubben og vise farverne frem. Korte bukser, korte ærmer og måske lidt løse ærmer, til når du triller hjemad. Et lille regnslag i baglommen hvis du rammer en sommerbyge, men ellers er solcreme det vigtigste element.
| /// <summary> | |
| /// PermissionsAttribute class | |
| /// </summary> | |
| public class PermissionsAttribute : AuthorizeAttribute | |
| { | |
| /// <summary> | |
| /// Gets called on authorization | |
| /// </summary> | |
| /// <param name="actionContext"></param> | |
| public override void OnAuthorization(System.Web.Http.Controllers.HttpActionContext actionContext) |