Service | Access | Kernels |
---|---|---|
https://notebooks.azure.com/ | Free (+paid plans) | Python 2 & 3, F#, R |
https://anaconda.org/ | Free (+paid plans) | Python 2 & 3, Julia, R, Spark, ... |
https://cocalc.com/ | Free (+paid plans) | |
https://colab.research.google.com/ | Free | Python 2 & 3 |
https://jupyter.gwdg.de | GWDG Account | Haskell, Julia, Python 3, R |
https://gryd.us/ | .edu email | Python 2 & 3, Octave, Julia, R |
https://datascientistworkbench.com/ | ..., also OpenRefine! | |
https://paws.wmflabs.org | Wikimedia account | ... |
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
// gcc aml-upgrade-package-extract.c -o aml-upgrade-package-extract | |
// ./aml-upgrade-package-extract update-usb-burning-mode.img | |
// /dev/sdX - fat32 sdcard | |
// Make bootable Android update: | |
// dd if=aml_sdc_burn.UBOOT bs=1 count=442 of=/dev/sdX | |
// dd if=aml_sdc_burn.UBOOT seek=1 skip=1 bs=512 of=/dev/sdX | |
// sync |
Thanks to /u/zpoo32 for reporting several issues in this list!
- deemix: just the cli and the library
- deemix-pyweb: the app with a GUI
- deemix-server: just the server part of deemix-pyweb
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
#!/bin/bash | |
# Vorhandensein der Programme prüfen | |
MKISOFS=( $(which genisoimage mkisofs) ) | |
if ! [ -x "$MKISOFS" ]; then echo "genisoimage aka mkisofs is missing"; exit 1; fi | |
if ! [ -x "$(which gcc)" ]; then echo "gcc is missing"; exit 1; fi | |
if ! [ -x "$(which nasm)" ]; then echo "nasm is missing"; exit 1; fi | |
if ! [ -x "$(which cpio)" ]; then echo "cpio is missing"; exit 1; fi | |
if ! [ -x "$(which tar)" ]; then echo "tar is missing"; exit 1; fi |
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
#!/bin/bash | |
set -euo pipefail | |
openssl req -new -text -passout pass:abcd -subj /CN=localhost -out server.req -keyout privkey.pem | |
openssl rsa -in privkey.pem -passin pass:abcd -out server.key | |
openssl req -x509 -in server.req -text -key server.key -out server.crt | |
chmod 600 server.key | |
test $(uname -s) = Linux && chown 70 server.key | |
docker run -d --name postgres -e POSTGRES_HOST_AUTH_METHOD=trust -v "$(pwd)/server.crt:/var/lib/postgresql/server.crt:ro" -v "$(pwd)/server.key:/var/lib/postgresql/server.key:ro" postgres:12-alpine -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key |
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
##https://stackoverflow.com/questions/5874317/thread-safe-listt-property | |
public class ThreadSafeList<T> : IList<T> | |
{ | |
protected List<T> _interalList = new List<T>(); | |
// Other Elements of IList implementation | |
public IEnumerator<T> GetEnumerator() | |
{ | |
return Clone().GetEnumerator(); |
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
#!/bin/bash | |
cd ~ | |
read -s -p 'Sudo password: ' PASSWORD | |
echo "" | |
echo "Configuring server..." | |
read -p "What's the hostname of this machine? " NEW_HOSTNAME | |
echo $PASSWORD | sudo -Sk hostnamectl set-hostname $NEW_HOSTNAME | |
sudo sed -i -e "s/^127.0.0.1.*$/127.0.0.1 localhost $NEW_HOSTNAME/g" /etc/hosts | |
sudo dpkg-reconfigure tzdata | |
sudo service cron restart |
Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts) on a web page to be requested from another domain outside the domain from which the first resource was served. This is set on the server-side and there is nothing you can do from the client-side to change that setting, that is up to the server/API. There are some ways to get around it tho.
Sources : MDN - HTTP Access Control | Wiki - CORS
CORS is set server-side by supplying each request with additional headers which allow requests to be requested outside of the own domain, for example to your localhost
. This is primarily set by the header:
Access-Control-Allow-Origin
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
// Port of the C# 101 LINQ Samples rewritten into Apple's Swift 3. | |
#![feature(ordering_chaining, step_by)] | |
fn main() { | |
// linq5: Where - Indexed | |
/* | |
//c# | |
public void Linq5() | |
{ |