See https://chromium.googlesource.com/chromium/src/+/master/docs/mac_build_instructions.md
git clone depot_tools
add to path (not using ~ but $HOME) in .bash_profile
sudo sysctl kern.maxvnodes=$((512*1024))
See https://chromium.googlesource.com/chromium/src/+/master/docs/mac_build_instructions.md
git clone depot_tools
add to path (not using ~ but $HOME) in .bash_profile
sudo sysctl kern.maxvnodes=$((512*1024))
Topics: | |
- design | |
- frontend (react ~) | |
- mobile app (ios/android/...) | |
- VR | |
- iot (alexa, arduino, ... | |
- testing | |
- continuous delivery (artefact, versioning,...) | |
- serverless/containers/cloud | |
- ai stuff |
// Explains Dead Letter Queue + bad event handling + blocking
https://stackoverflow.com/questions/32501985/amazon-kinesis-aws-lambda-retries
https://aws.amazon.com/blogs/compute/amazon-kinesis-firehose-data-transformation-with-aws-lambda/
// You set the amount of events(batchsize) + guarantees of concurrency per shard+ plus key only active in 1 shard at the time
These are notes while researching a way to convert a browser/website to a stream. This could be used for Facebook Live or for webrecording. TL'DR:
There is not a lot of doc or posts about making an headless renderer with webgl support. Here are few of my findings
I tried things on Heroku, but I was not able to make anything work.
Next, I tried EC2 t2.micro, only to find out that OpenGL needs a graphic card to execute (sure, there are things like mesa that I didn't tried, but it looked like I needed to build Chrome and I didn't want to go that way).
The only easy solution that I found was AWS EC2 GPU Instances. They are pretty much overpriced for what I'm trying to acheive, but it worked. You need to use an AMI that support the Nvidia GRID thing. eg https://aws.amazon.com/marketplace/pp/B00FYCDDTE and its CentOS.
Slimer need Firefox and Firefox need shared libraries that we need to install (we will use a custom repo).
fabric-activate: clean simulator-build | |
-xcrun simctl terminate 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 $(BUNDLE_ID) | |
-xcrun simctl shutdown 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 | |
-xcrun simctl erase 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 | |
-xcrun simctl boot 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 | |
-xcrun simctl install 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 $(XCODE_APP_FILE) | |
-xcrun simctl launch 6A6D30C8-AA08-4A55-A95A-0D5983AE33B2 $(BUNDLE_ID) |
import 'babel-polyfill'; | |
import firstView from 'views/first'; | |
import * as liveReload from 'lib/liveReload'; | |
App.onLaunch((launchOptions) => { | |
firstView(); | |
liveReload.connect(launchOptions); | |
}); |
# !/bin/bash | |
# Copyright (c) 2011 Float Mobile Learning | |
# http://www.floatlearning.com/ | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the |
Created vm ubuntu 14.04 | |
Tried installing via apt-get install youtube-dl | |
- kept getting errors on Unable to download webpage: <urlopen error [Errno 8] _ssl.c:510: EOF occurred in violation of protocol> | |
- this is a bug when using python2 (default on ubuntu) | |
- So remove the apt package | |
Install via pip: | |
- apt-get install pip | |
- alias python=`/usr/bin/python3` | |
- pip install youtube-dl |
#!/bin/bash | |
DOCKER_IP=$(ip addr show docker0|grep "inet "|sed -e 's/^[ ]*//g'| cut -d ' ' -f 2| cut -d '/' -f 1) | |
docker stop redis_0 | |
docker stop redis_1 | |
docker stop sentinel_0 | |
docker stop sentinel_1 | |
docker stop sentinel_2 |