pip3 install myqr #install requirements package
git clone https://github.com/sylnsfar/qrcode #get source code
python3 qrcode/myqr.py --version #check installation
python3 qrcode/myqr.py https://github.com/sakakendo0321/ #simple qrcode maker
python3 qrcode/myqr.py https://github.com/sakakendo0321/ -p sakakendo0.jpg -c #simple qrcode maker for any images with color
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 promise1 = new Promise(function(resolve, reject) { | |
resolve('Success!'); | |
}); | |
promise1.then(function(value) { | |
console.log(value); | |
// expected output: "Success!" | |
}); | |
// https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Promise/then |
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
#include <stdio.h> | |
void q_sort(int numbers[],int x[], int left, int right) | |
{ | |
int pivot, l_hold, r_hold,tmp; | |
l_hold = left; | |
r_hold = right; | |
pivot = numbers[left]; | |
tmp=x[left]; |
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
# google colab github ssh authentication setup | |
# git config and get ssh-key | |
!export USER_NAME="" | |
!export EMAIL="" | |
!git config --global user.name "$USER_NAME" | |
!git config --global user.name "$EMAIL" | |
!echo "id_rsa"|ssh-keygen -t rsa -N "" |
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
<div id="lab"></div> |
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
// images | |
- image1 = 'https://kunugida2018.tokyo-ct.ac.jp/data/c4J/0.png' | |
- image2 = 'https://placeimg.com/370/200/any' | |
- image3 = 'https://placeimg.com/150/100/any' | |
- image4 = 'https://placeimg.com/340/100/any' | |
- image5 = 'https://placeimg.com/210/200/any' | |
- image6 = 'https://placeimg.com/300/100/any' | |
- image7 = 'https://placeimg.com/225/100/any' | |
- image8 = 'https://placeimg.com/205/140/any' | |
- image9 = 'https://placeimg.com/300/175/any' |
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
# mount google drive | |
# download and build darknet | |
cd drive/mesiter/darknet | |
wget https://github.com/sakakendo0321/darknet/archive/master.tar.gz | |
tar xvf meister.tar.gz | |
cd darknet-master | |
sed -i -e s/GPU=0/GPU=1/ Makefile | |
# test darknet |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, August 2018 | |
Copyright (C) 2018 sakakendo <sakakendo0321@gmail.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.