Skip to content

Instantly share code, notes, and snippets.

Anton Ovinnikov Toshakins

Block or report user

Report or block Toshakins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Toshakins /
Last active Dec 9, 2019
FaaS providers thoughts
  • Very asynchronous, so much notifications.
  • Integrations with VSCode is awesome! I can get env variables from cloud to IDE and backwards!
  • Error calling sync triggers. This is some error happening while publishing your code. Github issues are full of people who experience that:
    • Moreover, usually fix done my MS people somewhere deep in the cloud, so customers are doing nothing wrong. Sad!
  • No need for API Gateway to see the function working!
  • Embedded tools are much easier than AWS.
Toshakins /
Created Mar 19, 2019
DRF Nested Multipart Example
class NestedSerializer(Serializer):
name = CharField()
class UserSerializer(Serializer):
user = JSONField(validators=nested_validator)
def nested_validator(value):
serializer = NestedSerializer(data=value)
Toshakins / scratch.rb
Last active Dec 27, 2018
Method Mapping Demo
View scratch.rb
class Actions
def action_a
puts 'A'
def action_b
puts 'B'
def action_c
Toshakins /
Created Dec 1, 2017
Spreadsheet notifications
function sendEmails() {
var sheet = SpreadsheetApp.getActiveSheet();
var startRow = 2; // First row of data to process
var numRows = 50; // Number of rows to process
// Fetch the range of cells A2:B50
var dataRange = sheet.getRange(startRow, 1, numRows, 2)
// Fetch values for each row in the Range.
var data = dataRange.getValues();
for (i in data) {
var row = data[i];
View My Schedule
10:00 Stage A
WebVR - The Next Frontier (ENG)
Martin Splitt
11:00 Stage B
Machines Must Suffer (RUS)
Oleksandr Pavlyshch
  • All inputs should be accessible via keyboard
  • Form should be accessible without javascript
  • Form should be submitted on 'Enter' hit in a text field.
Toshakins /
Last active May 4, 2017
Redirect ports on OS X El Capitan via embedded firewall
echo "
rdr pass inet proto tcp from any to any port 443 -> port 4443
" | sudo pfctl -ef -
Toshakins /
Created Nov 14, 2016

README is empty

View gist:4c67b1012f584b8decea
CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp
caffe: command line brew
usage: caffe <command> <args>
train train or finetune a model
test score a model
device_query show GPU diagnostic information
time benchmark model execution time
You can’t perform that action at this time.