Skip to content

Instantly share code, notes, and snippets.

@juuba
juuba / pingpong.log
Created September 28, 2015 19:42
weird ping to google dns
Pinging 8.8.8.8 with 32 bytes of data:
Request timed out.
Request timed out.
Reply from 8.8.8.8: bytes=32 time=104ms TTL=51
Request timed out.
Request timed out.
Request timed out.
Reply from 8.8.8.8: bytes=32 time=243ms TTL=51
Reply from 8.8.8.8: bytes=32 time=36ms TTL=51
Reply from 8.8.8.8: bytes=32 time=48ms TTL=51
@juuba
juuba / logfile.log
Created September 24, 2015 19:03
jolla wifi log
-- Logs begin at Thu 2015-09-24 20:31:14 EEST. --
Sep 24 21:39:08 juubanjolla kernel: wlan: [10364:E :TL ] WLAN TL: Failed to del BA session STA:2 TID:0 Status :14
Sep 24 21:39:08 juubanjolla kernel: wlan: [10364:E :TL ] WLAN TL: Failed to del BA session STA:2 TID:0 Status :14
Sep 24 21:39:39 juubanjolla kernel: wlan: [10364:E :PE ] __limProcessAddBAReq: 1425: ADDBAREQ NUMBUFF 40
Sep 24 21:39:44 juubanjolla kernel: [BAT] 96( 96, 96.9, 95.0( 94.9) 0.0)v4236(4248)( 65, 65)t453,c -979342, 3(17750)r183,L3850,s10
Sep 24 21:39:44 juubanjolla kernel: [BAT]## SOC= 96( 96, 96),4215(4236),A=0122,T=452,On=0,1,(1),DCP 1100(1100),vd=4250(0,1),ib=1000,0,F07,R08,W1B
Sep 24 21:39:50 juubanjolla kernel: wlan: [10364:E :PE ] __limProcessAddBAReq: 1425: ADDBAREQ NUMBUFF 40
Sep 24 21:39:58 juubanjolla kernel: kworker/0:5(9541) send signal 2 to journalctl(10578)
Sep 24 21:39:59 juubanjolla kernel: wlan: [10364:E :TL ] WLAN TL: Failed to del BA session STA:2 TID:0 Status :14
Sep 24 21:41:11 juubanjolla kernel: wlan: [10364:E
@juuba
juuba / 153284.js
Last active August 29, 2015 14:24
Youtube Quality Autoplay Juuba'ed
// ==UserScript==
// @name Youtube Quality Autoplay
// @namespace http://troopers.fi
// @description Juuba-edit: Stops youtube videos from auto-playing, sets video quality
// @version 1.5
// @include *.youtube.com/watch*
// @grant none
// @updateURL http://userscripts.org/scripts/source/153284.meta.js
// @installURL http://userscripts.org/scripts/source/153284.user.js
// @copyright NMGod
@juuba
juuba / FreePIE script
Created June 3, 2015 21:10
FreePIE + vJoy script for CH Combatstick wheel-axis
# FreePIE + vJoy script for CH Combatstick Wheel
# from https://www.reddit.com/r/hoggit/comments/384bkn/ch_fighterstick_throttle_wheel_has_jitter_any_fix/crspxso
range = 1000 # Not sure if this is ever not 1000 in FreePIE. Set to maximum value of "input"
deadzone = 16 # Deadzone relative to "range" above. With my X-55 rotary, the granularity was 8, so at 16 this gives 2 units of deadzone.
input = joystick[2].z # Change this to whatever joystick and axis is your slider
if starting:
deadzoneStart = 0
@juuba
juuba / Dusk Patrol - 7th April 2009
Last active August 29, 2015 14:19
Battleground Europe - Dusk Patrol in 2009
Dusk Patrol - 7th April
I lifted my 109G6 from Bertrix (Originally from Wiltz, rearmed/repaired and refueled here)..
Sun was almost setting as I arrived over target - Ste.Menehold
Objective - Defend town against enemy paratroopers:
I had heard reports on comms that enemy constantly flew para planes, C47s mostly from Montfaucon against Ste.Menehold.
As I arrived, i saw the first one and a Hawk-87.. The C47 had already emptied its load over town,
@juuba
juuba / gist:c9286985e5109da24bbf
Created March 12, 2015 07:09
IL2:BOS land texture LOD tweak
Step one:
Navigate to your BOS graphics folder. Default should be:
C:\Program Files\IL-2 Sturmovik Battle of Stalingrad\data\graphics\
Steam version should be:
C:\Program Files\Steam\SteamApps\common\IL-2 Sturmovik Battle of Stalingrad\data\graphics\
[root@jolla nemo]# btrfs check --repair /dev/mmcblk1
enabling repair mode
Checking filesystem on /dev/mmcblk1
UUID: 69e965d1-41fd-449e-831a-669c365e533f
checking extents
checking free space cache
cache and super generation don't match, space cache will be invalidated
checking fs roots
checking csums
checking root refs
@juuba
juuba / gist:4924e4d0882c3c078de2
Created March 4, 2015 07:04
1.1.2.16 mounts mmcbkl1 as "read-only"
[root@Jolla nemo]# mount | grep 'mmcblk1\|android'
/dev/mmcblk1 on /media/sdcard/69e965d1-41fd-449e-831a-669c365e533f type btrfs (ro,nosuid,nodev,noexec,noatime,dirsync,thread_pool=4,ssd,noacl,space_cache)
/dev/mmcblk1 on /data/media type btrfs (ro,nosuid,nodev,noexec,noatime,dirsync,thread_pool=4,ssd,noacl,space_cache)
/dev/mmcblk1 on /opt/alien/data/media type btrfs (ro,nosuid,nodev,noexec,noatime,dirsync,thread_pool=4,ssd,noacl,space_cache)
/dev/fuse on /opt/alien/home/nemo/android_storage type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /home/nemo/android_storage type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
[nemo@Jolla ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 14G 4.3G 9.0G 33% /
/dev/mmcblk0p28 14G 4.3G 9.0G 33% /
devtmpfs 404M 64K 404M 1% /dev
tmpfs 405M 632K 405M 1% /dev/shm
tmpfs 405M 30M 375M 8% /run
tmpfs 405M 0 405M 0% /sys/fs/cgroup
tmpfs 405M 32K 405M 1% /tmp
/dev/mmcblk0p19 7.9M 4.1M 3.9M 52% /drm
@juuba
juuba / gist:69b1b9eea0475f881832
Last active August 29, 2015 14:16
mount | grep 'mmcblk1\|android'
[nemo@Jolla ~]$ mount | grep 'mmcblk1\|android'
/dev/mmcblk1 on /media/sdcard/69e965d1-41fd-449e-831a-669c365e533f type btrfs (rw,nosuid,nodev,noexec,noatime,dirsync,thread_pool=4,ssd,noacl,space_cache)
/dev/mmcblk1 on /data/media type btrfs (rw,nosuid,nodev,noexec,noatime,dirsync,thread_pool=4,ssd,noacl,space_cache)
/dev/mmcblk1 on /opt/alien/data/media type btrfs (rw,nosuid,nodev,noexec,noatime,dirsync,thread_pool=4,ssd,noacl,space_cache)
/dev/fuse on /opt/alien/home/nemo/android_storage type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /home/nemo/android_storage type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)