var welcome_user = new Template('#{welcome} #{name}!!');
welcome_user.parse({ welcome: "Hello", name: "John" });
//returns "Hello John!!"
welcome_user.parse({ welcome: "Hola", name: "Peter" });
This file contains 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
var touchstartX = 0; | |
var touchstartY = 0; | |
var touchendX = 0; | |
var touchendY = 0; | |
var gesuredZone = document.getElementById('gesuredZone'); | |
gesuredZone.addEventListener('touchstart', function(event) { | |
touchstartX = event.screenX; | |
touchstartY = event.screenY; |
This file contains 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
# Create a directory | |
mkdir ~/tmux-install | |
cd ~/tmux-install | |
# Get the files | |
curl -OL http://downloads.sourceforge.net/tmux/tmux-1.5.tar.gz | |
curl -OL http://downloads.sourceforge.net/project/levent/libevent/libevent-2.0/libevent-2.0.16-stable.tar.gz | |
# Extract them | |
tar xzf tmux-1.5.tar.gz |
This file contains 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
# coding: utf8 | |
""" Attempt at gevent-compatible requests without any monkeypatching """ | |
import geventhttpclient | |
from geventhttpclient import httplib as gehttplib | |
from geventhttpclient.useragent import CompatResponse | |
import httplib as _httplib | |
import requests |
- Streaming data pipeline whitepapers and/or sample architecture designs?
- Kensis Steams vs MSK
- Performance, not much was shared regarding MSK limits
- Since the max size of a data blob streamed in Kensis is 1MB, what are some architecture patterns for handeling larger blob sizes?
- Refrence data uploaded data to S3, same pattern used in SQS.
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise |
This file contains 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
# Source: https://app.circleci.com/pipelines/github/kurtosis-tech/eth2-merge-kurtosis-module/450/workflows/bf293a0e-83ee-47d1-96e5-ce40a4dc1b85/jobs/597 | |
[37mDEBU[0m[2022-05-05T15:47:46Z] Received gRPC request to method '/module_api.ExecutableModuleService/IsAvailable' with args: | |
[37mDEBU[0m[2022-05-05T15:47:46Z] gRPC request to method '/module_api.ExecutableModuleService/IsAvailable' succeeded with response: | |
[37mDEBU[0m[2022-05-05T15:47:46Z] Received gRPC request to method '/module_api.ExecutableModuleService/Execute' with args: | |
params_json:"{}" | |
[36mINFO[0m[2022-05-05T15:47:46Z] Deserializing the following execute params: | |
{} | |
[36mINFO[0m[2022-05-05T15:47:46Z] Successfully deserialized execute params | |
[36mINFO[0m[2022-05-05T15:47:46Z] Adding 1 participants logging at level 'info'... |
This file contains 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
sudo apt-get install mesa-utils | |
sudo mkdir /etc/X11/xorg.conf.d/ | |
echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf | |
sudo reboot |