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
# 檢查被保留的 port | |
netsh interface ipv4 show excludedportrange protocol=tcp | |
net stop winnat | |
net start winnat |
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
https://medium.com/@k1992313/python-for-android-%E8%B8%A9%E9%9B%B7%E5%BF%83%E5%BE%97-f07ac9c106ac |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[1]: | |
import dronekit | |
from dronekit import connect | |
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
#!/bin/bash | |
for i in $(seq 7001 9000) | |
do | |
curl -o ${i}.jpg https://gallery.twtainan.net/image/${i}/1024x768 | |
done |
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
// Make all batteryType be selectable | |
/*$("#inBCell > option").each(function() { | |
this.disabled = false | |
this.value = this.text; | |
console.log(this.text + ' ' + this.value); | |
}); | |
// Make all escType be selectable | |
let escValue = ""; |
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
physical_devices = tf.config.experimental.list_physical_devices('GPU') | |
assert len(physical_devices) > 0, "Not enough GPU hardware devices available" | |
tf.config.experimental.set_memory_growth(physical_devices[0], True) |
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
{ | |
"editor.fontSize": 20, | |
"window.zoomLevel": 2, | |
"arduino.path":"/home/llama/Downloads/arduino-1.8.9", | |
"arduino.commandPath": "./arduino" | |
} |



NewerOlder