Skip to content

Instantly share code, notes, and snippets.

View fape's full-sized avatar

Farkas Péter fape

  • Budapest, Hungary
View GitHub Profile
@fape
fape / service.py
Last active February 13, 2016 14:34
pycharm remote debug
import sys
sys.path.append('/home/fape/work/hobby/subtitle/pycharm-5.0.4/debug-eggs/pycharm-debug.egg')
import pydevd
pydevd.settrace('localhost', port=5678, stdoutToServer=True, stderrToServer=True, suspend=False)
// ==UserScript==
// @name Abort getAnniverSignInfo
// @namespace http://tampermonkey.net/
// @version 0.2
// @description try to take over the world!
// @author fape
// @match http://www.banggood.com/10annvcheckin.html*
// @grant none
// @run-at document-body
// ==/UserScript==
@fape
fape / foxy_betaflight_3_1_7.config
Last active August 31, 2017 12:23
foxy betaflight 3.1.7
# dump
# Betaflight / SPRACINGF3 3.1.7 Apr 3 2017 / 22:27:23 (e1c4b5c)
name foxy
resource BEEPER 1 C15
resource MOTOR 1 A06
resource MOTOR 2 A07
resource MOTOR 3 A11
resource MOTOR 4 A12
resource MOTOR 5 B08
resource MOTOR 6 B09
@fape
fape / foxy_cleanfight_1_13_0.config
Created March 18, 2017 09:43
foxy cleanfight 1.13.0
# dump
# version
# Cleanflight/SPRACINGF3 1.13.0 Jun 6 2016 / 00:03:10 (a77bc76)
# dump master
# mixer
mixer CUSTOM
mmix reset
mmix 0 1.000 -1.000 0.813 -1.000
@fape
fape / qx95_cleanfight_1_13_0.config
Created November 9, 2017 05:38
Eachine Tiny QX95 Cleanflight 1.13.0
# dump
# version
# Cleanflight/SPRACINGF3EVO 1.13.0 Jun 6 2016 / 00:03:29 (a77bc76)
# dump master
# mixer
mixer QUADX
mmix reset
smix reset
@fape
fape / qx95_betaflight_3_2_1.config
Created November 9, 2017 06:34
Eachine Tiny QX95 Betaflight 3.2.1
# dump
# Betaflight / SPRACINGF3EVO (SPEV) 3.2.1 Oct 15 2017 / 19:48:22 (434db9a36) MSP API: 1.36
name -
resource BEEPER 1 C15
resource MOTOR 1 A00
resource MOTOR 2 A01
resource MOTOR 3 A02
resource MOTOR 4 A03
resource MOTOR 5 A06
resource MOTOR 6 A07
@fape
fape / tinywhoop_betaflight_3_2_2.config
Last active November 20, 2017 19:35
tinywhoop betaflight 3.2.2
# dump
# Betaflight / OMNIBUS (OMNI) 3.2.2 Nov 11 2017 / 00:38:45 (77782e602) MSP API: 1.36
name -
resource BEEPER 1 C15
resource MOTOR 1 B08
resource MOTOR 2 B09
resource MOTOR 3 A03
resource MOTOR 4 A02
resource MOTOR 5 B07
resource MOTOR 6 B06
@fape
fape / S99date
Created November 25, 2017 15:11
rdate m1q
#!/bin/sh
#
# update date....
# /etc/init.d/S99date, chmod +x S99date
#
case "$1" in
start|restart|reload)
echo "Update date..."
/usr/sbin/rdate -s 192.168.2.1
@fape
fape / Tevo_tarantula_fape.xml
Last active May 26, 2018 11:57
Simplify3D Tevo tarantula fape profile
<?xml version="1.0"?>
<profile name="Tevo tarantula fape" version="2018-05-26 13:56:41" app="S3D-Software 4.0.1">
<baseProfile>Default (modified)</baseProfile>
<printMaterial>PLA</printMaterial>
<printQuality>Medium</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.4</diameter>
<autoWidth>1</autoWidth>
@fape
fape / szabolcs.reg
Created March 16, 2018 14:06
Add Szabolcs TTS engine on windows 10
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_HU-HU_SZABOLCS_11.0]
@="Microsoft Szabolcs - Hungarian (Hungary)"
"40E"="Microsoft Szabolcs - Hungarian (Hungary)"
"CLSID"="{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"
"LangDataPath"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,53,\
00,70,00,65,00,65,00,63,00,68,00,5f,00,4f,00,6e,00,65,00,43,00,6f,00,72,00,\
65,00,5c,00,45,00,6e,00,67,00,69,00,6e,00,65,00,73,00,5c,00,54,00,54,00,53,\
00,5c,00,68,00,75,00,2d,00,48,00,55,00,5c,00,4d,00,53,00,54,00,54,00,53,00,\