- AI Shift
- 社内SQL研修のために作った資料を公開します - (2021/06/21)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
- CyberZ
- 良いコードとは何か - エンジニア新卒研修 スライド公開 - (2021/04/27)
- DMM.com(旧DMM.comラボ含む)
- DMM.comラボ16新卒エンジニア研修 - (2016/08/24)
This file contains hidden or 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
/* | |
* Copyright 2020 JBoss Inc | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains hidden or 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
```shell | |
$ ytt -f template.yaml -f schema.yaml -f value-a.yaml -f value-b.yaml | |
channels: | |
b.atopic: <===== This should be `a.atopic` | |
name: atopic | |
b.btopic: | |
name: btopic | |
``` |
This file contains hidden or 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
Preparing truststore | |
Preparing truststore is complete | |
Starting Kafka Connect with configuration: | |
# Bootstrap servers | |
bootstrap.servers=<MskBootstrapServers> | |
# REST Listeners | |
rest.port=8083 | |
rest.advertised.host.name=10.13.95.77 | |
rest.advertised.port=8083 | |
# Plugins |
This file contains hidden or 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
def find_subsets(arr) : | |
result = [] | |
n = len(arr) | |
for i in range(2**n): | |
binstr = format(i, f"0{n}b") | |
print(binstr) | |
tmp = [] | |
for j, onebin in enumerate(binstr): | |
if onebin == "1": |
This file contains hidden or 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
def mask_kvs_stream(net:Yolact, in_arn:str, out_arn:str, cuda:bool): | |
out_stream_name = out_arn.split(":")[-1].split("/")[1] | |
reader = KVSReader(in_arn) | |
while True: | |
streaming_url = reader.get_hls_streaming_session_url() | |
if not streaming_url: | |
time.sleep(1) |
This file contains hidden or 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
import json | |
import os | |
from datetime import datetime | |
import requests | |
SLACK_WEBHOOK_URL = os.environ['SLACK_WEBHOOK_URL'] | |
ENV = os.environ['ENV'] | |
SUBSCRIPTION_ID = os.environ["SUBSCRIPTION_ID"] | |
TENANT = os.environ["TENANT"] |
I had many driver installed I my virtual machine , so It was actually the reason why I was having the error.
To fix it I had first to remove all driver I have installed before using :
sudo apt-get purge nvidia-*
sudo apt-get update
-sudo apt-get autoremove
After that I when a head and installed the latest version of it nvidia driver:
I did :
This file contains hidden or 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
#include "BLEDevice.h" | |
#include "Free_Fonts.h" | |
#include <M5Stack.h> | |
#define SWITCHBOT_MAC "E6:21:7F:F9:06:69" // FIXME | |
static BLEUUID serviceUUID("CBA20D00-224D-11E6-9FB8-0002A5D5C51B"); | |
static BLEUUID characteristicUUID("CBA20002-224D-11E6-9FB8-0002A5D5C51B"); | |
static BLEAdvertisedDevice* myDevice; |
This file contains hidden or 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
/*############################################################################### | |
# | |
# Copyright 2020 NVIDIA Corporation | |
# | |
# 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 Software is furnished to do so, | |
# subject to the following conditions: |
NewerOlder