export MACOS_UNIVERSAL=no
pip install capstone # or something depends on capstoneRefer to this issue: capstone-engine/capstone#1235
| % This is a patch for beamer with notes | |
| % Usage: | |
| % Input this file before set the option for notes, e.g., | |
| % | |
| % \documentclass{beamer} | |
| % \input{beamer-notes-patch} | |
| % \setbeameroption{show notes on second screen=top} | |
| % | |
| % NOTE: This may still have warnings, e.g., | |
| % xdvipdfmx:warning: Object @linkA already defined. |
export MACOS_UNIVERSAL=no
pip install capstone # or something depends on capstoneRefer to this issue: capstone-engine/capstone#1235
| #!/usr/bin/env bash | |
| #% DESCRIPTION | |
| #% This is a script to run a cassandra cluster. | |
| #% IMPLEMENTATION | |
| #% version cassandra_cluster 0.0.1 | |
| #% author Jérémie Roulin | |
| # Remove all running docker container | |
| docker rm -f $(docker ps -a -q) |
So you went live and you want everyone to know. Here's how you do it:
Go to https://ifttt.com/ and create an account (if you don't already have one)
UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.
Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🤞. NOTE: WSL version 1 is not replace/deprecated, and there ar
| using System; | |
| using System.Runtime.InteropServices; | |
| // ReSharper disable SuspiciousTypeConversion.Global | |
| // ReSharper disable InconsistentNaming | |
| namespace VideoPlayerController | |
| { | |
| /// <summary> | |
| /// Controls audio using the Windows CoreAudio API | |
| /// from: http://stackoverflow.com/questions/14306048/controling-volume-mixer |
| [HttpPost] | |
| public HttpResponseMessage CreateCustomer(string name, string billingInfo) | |
| { | |
| Result<BillingInfo> billingInfoResult = BillingInfo.Create(billingInfo); | |
| Result<CustomerName> customerNameResult = CustomerName.Create(name); | |
| return Result.Combine(billingInfoResult, customerNameResult) | |
| .OnSuccess(() => _paymentGateway.ChargeCommission(billingInfoResult.Value)) | |
| .OnSuccess(() => new Customer(customerNameResult.Value)) | |
| .OnSuccess( |
| package services | |
| import java.lang.reflect.Type | |
| import com.google.gson._ | |
| import org.joda.time.format.ISODateTimeFormat | |
| import org.joda.time.{DateTime, DateTimeZone} | |
| object Serializers { |
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
| docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |