Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
FROM ubuntu:17.04 | |
WORKDIR /root | |
ARG CONDA_VERSION=Anaconda3-4.4.0-Linux-x86_64.sh | |
ARG CONDA_PATH=/opt/conda | |
ARG USER=vizdoom | |
# Install standard dev packages | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
bzip2 \ |
Politics, celebrity gossip, business headlines, tech punditry, odd news, and user-generated content.
These are the chew toys that have made me sad and tired and cynical.
Each, in its own way, contributes to the imperative that we constantly expand our portfolio of shallow but strongly-held opinions about nearly everything. Then we're supposed to post something about it. Somewhere.
From businesses we've never heard of, to countries we've never visited, to infants who've had the random misfortune to be born into a family that's on TV -- it's all grist for obvious jokes and shortsighted commentary that, for at least a few minutes, helps both the maker and the consumer feel a little less bored, a little less vulnerable, and a little less disconnected. For a minute, anyway, it makes us feel more alive. Does me, anyway.
sudo apt install libopenblas-dev libblas-dev m4 cmake cython python3-yaml libatlas-base-dev
sudo dphys-swapfile swapoff
root
the following file : /etc/dphys-swapfile
. Modify the valiable CONF_SWAPSIZE
and change its value to CONF_SWAPSIZE=2048
import numpy as np | |
import gym | |
def sigmoid(x): | |
return 1.0 / (1.0 + np.exp(-x)) | |
env = gym.make('CartPole-v1') | |
desired_state = np.array([0, 0, 0, 0]) | |
desired_mask = np.array([0, 0, 1, 0]) |
# 2020-11-9: Solved in recent Ubuntu updates, not needed anymore, only for historical purposes available. | |
# | |
# Script to disable USB-C PD controller with nuc10 | |
# See: https://community.intel.com/t5/Intel-NUCs/NUC10i3-IRQ-problem/td-p/669863?profile.language=it | |
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1883511 | |
processActive=$(pgrep -l irq/65-i2c-INT3 | wc -l) | |
if [ "$processActive" -gt "0" ]; then | |
echo "stopping USB-C PD controller" |
; | |
; the "monitor ROM" of an apple 1 fit in one page (256 bytes). | |
; | |
; this is my attempt to take the disassembled code, give names to the | |
; variables and routines, and try to document how it worked. | |
; | |
; | |
; an apple 1 had 8KB of RAM (more, if you hacked on the motherboard), and a | |
; peripheral chip that drove the keyboard and video. the video was run by a | |
; side processor that could treat the display as an append-only terminal that |
#cloud-config | |
# Set the hostname for this machine (takes precedence over hostname assigned by DHCP lease). | |
hostname: myhost | |
# Authorize SSH keys for the `rancher` sudoer user | |
ssh_authorized_keys: | |
- ssh-rsa AAA...ZZZ example1@rancher | |
#!/usr/bin/python | |
## License: CC0 | |
## Author: Marco Goetze | |
## Web: http://solariz.de | |
## Version: 1.2 | |
## DIZ: | |
## Little Helper Script for Linux to make my KeePass Copy and Paste cooperate again with | |
## Chrome Browser. | |
## You need to have the latest keepass version and XSEL installed. | |
## Tested with: |