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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
main.py | |
""" | |
__author__ = "take-iwiw" | |
__copyright__ = "Copyright 2017, take-iwiw" | |
__date__ = "18 Oct 2017" | |
import logging |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
main.py | |
""" | |
__author__ = "take-iwiw" | |
__copyright__ = "Copyright 2017, take-iwiw" | |
__date__ = "18 Oct 2017" | |
import numpy as np |
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 "stdafx.h" | |
#include "omp.h" | |
/* | |
* DO NOT FORGET TO ENABLE OPEN MP | |
* right click on project -> Properties -> C/C++ -> Language | |
* Open MP Support = Yes | |
*/ |
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
rem @echo off | |
setlocal ENABLEDELAYEDEXPANSION | |
set FFMPEG="C:\\asd\\tool\\ffmpeg-20170827-ef0c6d9-win64-static\\bin\\ffmpeg" | |
set /a FPS = 7 | |
rem set OPTION=-vf vflip | |
set OPTION = "" | |
cd /d %~dp1 |
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
rem @echo off | |
setlocal ENABLEDELAYEDEXPANSION | |
set FFMPEG="C:\\asd\\tool\\ffmpeg-20170827-ef0c6d9-win64-static\\bin\\ffmpeg" | |
cd /d %~dp1 | |
for %%f in (%1\*.MTS) do ( | |
%FFMPEG% -i %%f -vcodec copy -acodec copy %%f.mp4 | |
) |
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
rem @echo off | |
setlocal ENABLEDELAYEDEXPANSION | |
set FFMPEG="C:\\asd\\tool\\ffmpeg-20170827-ef0c6d9-win64-static\\bin\\ffmpeg" | |
set /a HEIGHT=1080 | |
cd /d %~dp1 | |
for %%f in (%1\*.mp4) do ( |
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
{ | |
"host": "192.168.1.88", | |
"port": 22, | |
"username": "pi", | |
"password": "rasp", | |
"protocol": "sftp", | |
"agent": null, | |
"privateKeyPath": null, | |
"passphrase": null, | |
"passive": false, |
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
cat /dev/fb0 > aaa.raw |
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
scrapy startproject test_scrapy | |
cd test_scrapy |
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
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import time | |
import pyautogui | |
import random | |
### | |
# Main | |
### |
OlderNewer