Docker.app will complain about incompatible processor, so we will use Docker Machine.
Download Docker for Mac (Docker.app). It contains some binaries that are necessary.
brew install virtualbox docker-machineThis uses the native built-in proxy feature in the Telegram app.
The problem is the README in the official TelegramMessenger/MTProxy repo is outdated and fails at multiple points if you try following the steps described. Here's an updated version as of March 2024.
ssh into the machine:
| package org.drools.examples.broker | |
| import org.mule.MessageExchangePattern; | |
| import org.mule.example.cep.Company | |
| import org.mule.example.cep.StockTick | |
| global org.mule.module.bpm.MessageService mule; | |
| # default dialect for the semantic code will be MVEL | |
| dialect "mvel" |
| # pip install python-binance | |
| from binance.client import Client | |
| client = Client(api_key, api_secret) | |
| DUST = 0.001 # BTC | |
| account = client.get_account() | |
| prices = client.get_all_tickers() |
I made a mistake to naming some components, I don't want to erase it and create again, the problem is, I need to rename the files by hand, it's a boring task, and maybe in the future I will get the same issue, to make me the life easier I developed the following snippet, you should use it if you have the same problem.
#!/usr/bin/env bash
# purpose: rename files, in same path
This simple line chart is constructed from a TSV file storing the closing value of AAPL stock over the last few years. The chart employs conventional margins and a number of D3 features:
| $(document).ready(function() { | |
| function fillCalendar(rota_days) { | |
| /* fubar */ | |
| for ( i = 0; i < rota_days.length; i++) { | |
| rota_day = rota_days[0]; | |
| console.log(rota_days); | |
| /* doing stuffs with rota_day */ | |
| $('td.day-'+ rota_day.day +' hospital-' + rota_day.hospital) | |
| } | |
| } |
| class RotaDay < ActiveRecord::Base | |
| attr_accessible :day, :hospital_id | |
| belongs_to :hospital | |
| end |
Test with hashes instead of raw data; also, less data on the second set
| /************************************************************************** | |
| * OSM2GEO - OSM to GeoJSON converter | |
| * OSM to GeoJSON converter takes in a .osm XML file as input and produces | |
| * corresponding GeoJSON object. | |
| * | |
| * AUTHOR: P.Arunmozhi <aruntheguy@gmail.com> | |
| * DATE : 26 / Nov / 2011 | |
| * LICENSE : WTFPL - Do What The Fuck You Want To Public License | |
| * LICENSE URL: http://sam.zoy.org/wtfpl/ | |
| * |