Skip to content

Instantly share code, notes, and snippets.

View KonradIT's full-sized avatar

Konrad Iturbe KonradIT

View GitHub Profile
--- res/values-night-v8/colors.xml 2019-06-28 12:50:41.683083671 +0200
+++ res/values-night-v8/colors-mod.xml 2019-06-28 12:51:37.026979656 +0200
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <color name="app_background">#ff1b2836</color>
+ <color name="app_background">#ff000000</color>
<color name="badge_protected">@color/white</color>
<color name="badge_verified">@color/white</color>
<color name="border_color">@color/black</color>
01.04.2015
Strike ID: HOD10001
clean
https://touch.facebook.com/graphsearch/str/مصنع الألبان/stories-keyword/1/apr/2015/date-3/2/apr/2015/date-3/stories-2/intersect?f=
12.12.2015
Strike ID: SAN10001
clean
https://touch.facebook.com/graphsearch/str/.مصنع كوكا كولا/stories-keyword/12/dec/2015/date-3/13/dec/2015/date-3/stories-2/intersect?f=
June-July 2015
Strike ID: SAA10001
#!/usr/bin/env python
import sys, os, time
import tweepy
keys = dict(
consumer_key='_YOUR_CONSUMER_KEY',
consumer_secret='_YOUR_SECRET_KEY',
access_token='_YOUR_ACCESS_TOKEN',
access_token_secret='_YOUR_ACCESS_TOKEN_SECRET'
)
import os
import json
import subprocess
from dateutil.parser import parse
from datetime import datetime
DIR="." #current directory
HOUR="09" #hour to match
for file in os.listdir(DIR):
if file.endswith("JPG"):
@KonradIT
KonradIT / autoexec.ash
Created January 16, 2019 12:56
GoPro Fusion WiFi STATION enabler
# Wait for WiFi
sleep 20
# Change WiFi mode to STATION, make sure credentials are in!
t ipc rpc clnt exec1 'cp /tmp/fuse_d/wifi.conf /tmp/wifi.conf'
t ipc rpc clnt exec1 'cd / && ./wifi_sta.sh'
exit 0

Keybase proof

I hereby claim:

  • I am konradit on github.
  • I am konraditurbe (https://keybase.io/konraditurbe) on keybase.
  • I have a public key whose fingerprint is C3B2 8DC5 06B0 0294 BF6B 716D F4A8 3E52 CF2B 880C

To claim this, I am signing this object:

LOCATION: SIZE: FILENAME
508 1812019 amba_ssp_svc.bin.gz
1812527 1988127 dsp.bin.gz
3800654 143664 rom.bin.gz
@KonradIT
KonradIT / anafi.md
Last active October 16, 2018 08:37

Parrot Anafi findings:

AMBA H22 camera processor

AMBA commands

chklowspd
chmod
cleandir
@KonradIT
KonradIT / dji_util.sh
Last active October 10, 2019 17:36
Moves DJI videos and photos from my SD card to a hard drive.
echo " _____ _ _____ _ _ _ _ _ "
echo " | __ \ | |_ _| | | | | | (_) |"
echo " | | | | | | | | | | | | |_ _| |"
echo " | | | |_ | | | | | | | | __| | |"
echo " | |__| | |__| |_| |_ | |__| | |_| | |"
echo " |_____/ \____/|_____| \____/ \__|_|_|"
echo " "
if [[ $1 == "help" ]];
then

How to use

  1. Copy one of the consumer key pairs to Twidere - Settings - Network - Advanced - Default API Settings
  2. Remove account from Twidere (or just skip this step)
  3. Re-login. It's OK to see "You've already logged in" message.