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
Raspian | |
-Resize sdcard | |
-Install mono | |
-Install DNVM | |
-Install DNVM Execution Env | |
-Download ASPNET samples | |
-Resore packages for HelloWorldMvc | |
-Run HelloWorldMvc | |
sudo raspi-config |
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
choco install 7zip | |
choco install evernote | |
choco install fiddler | |
::ERROR choco install filezilla | |
choco install FoxitReader | |
choco install git.install | |
choco install greenshot | |
choco install nodejs.install |
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
How to get VS2015 with IISExpress to work with a per "folder/controller" requirement of ClientCertificates: | |
1. Bind server certificate to port using (elevated) NETSH.EXE | |
--- netsh http add sslcert ipport=0.0.0.0:9880 certhash=ffffcf57c84e7ed391ee842d668f7f11fffffff appid={aaaabbbbccc-guid-ddddd} | |
--- Note that we will not enable client certificate negotiation here) | |
--- Tip: The server certificate is typically installed in LocalMachine/Personal as opposed to client certs that are in CurrentUser | |
2. Edit {your-app-folder}\src\.vs\config\applicationhost.config | |
---- Change overrideModeDefault to "allow" on access | |
---- <section name="access" overrideModeDefault="Allow" /> |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
FHIR Resource Editor | |
Create (or edit) FHIR resources | |
http://docs.smarthealthit.org/fred/ | |
Forge FHIR Profile Editor | |
Create Profiles etc. | |
http://fhir.furore.com/Forge | |
FHIR Repository for profiles, extensions etc. | |
https://www.simplifier.net |
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
Updated gitignore AFTER and need to remove files | |
git rm -r --cached . | |
git add . | |
Ta bort large file efter att den är committad: | |
git filter-branch --tree-filter 'rm -rf path/to/your/file' HEAD | |
git push |
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
docker run -P -d jboss/wildfly /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 | |
docker exec -it xxxx bash | |
/wildfly/bin/add-user | |
8080 = runtime | |
9990 = admin console |
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
To control the Xiaomi S50 2nd gen vaccum cleaner from Athom Homey (or some custom API) you need the IP and the TOKEN that the mobile app uses to connect. | |
Getting the Token involves (as of 2018-12-27): | |
- Downgrade mobile app to version 5.0.19 using apkmirror.com (The newer version does not save the token in its database) | |
-- Select you normal region and normal acocunt | |
- Set phone in developer and debug mode. Connect it using USB Cable. | |
- Use ADB Backup (using the Android SDK) or the MiToolkit 1.6 to backup the Mi Home application. On a modern phone you will probably have to select a password. | |
-- If using adb directly and not MiToolkit this is 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
Expose local .net core appliation. | |
- comment out app.UseHttpsRedirection(); first | |
ssh -R 80:localhost:5000 serveo.net |
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
docker run -e TZ=Europe/Stockholm x:x | |
Good tips: | |
https://runnable.com/blog/9-common-dockerfile-mistakes | |
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Very#Secret#Password' -p 1433:1433 -d microsoft/mssql-server-linux:latest | |
MONGO: | |
docker run -p 27017:27017 -d -v $PWD/data/bin:/data/bin mongo |
OlderNewer