Skip to content

Instantly share code, notes, and snippets.

View fobos531's full-sized avatar

Jakov Glavina fobos531

  • DoMore
  • Prelog, Croatia
View GitHub Profile
This file has been truncated, but you can view the full file.
android/
android/vendor
android/vendor/lge
android/vendor/lge/apps
android/vendor/lge/apps/prebuilts
android/vendor/lge/apps/prebuilts/LGBackup
android/vendor/lge/apps/prebuilts/VoiceRecorder
android/vendor/lge/apps/prebuilts/VoiceRecorder/UI4_1
android/vendor/lge/apps/prebuilts/VoiceRecorder/UI4_1/libmk
android/vendor/lge/apps/prebuilts/VoiceRecorder/UI4_1/libmk/libvrffmpeg
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#TODO: Add 'check' as fs_mgr_flags with data partition.
# Currently we dont have e2fsck compiled. So fs check would failed.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/devices/soc.0/7864900.sdhci/mmc_host /storage/external_SD vfat nosuid,nodev wait,voldmanaged=external_SD:auto
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1,discard wait,check
@fobos531
fobos531 / gist:d9d775a48217e51b7431c047a400666b
Created February 27, 2017 13:04
recovery.fstab from stock recovery
# Copyright (c) 2013, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
@fobos531
fobos531 / gist:51e6adaae1e9bcb2ec2781c17098b235
Created February 27, 2017 13:06
osprey's recovery.fstab
/system ext4 /dev/block/platform/soc.0/by-name/system
/data f2fs /dev/block/platform/soc.0/by-name/userdata flags=fsflags=rw,discard,nosuid,nodev,noatime,nodiratime,inline_xattr,inline_data;encryptable=/dev/block/platform/soc.0/by-name/metadata
/cache auto /dev/block/platform/soc.0/by-name/cache
/boot emmc /dev/block/platform/soc.0/by-name/boot
/recovery emmc /dev/block/platform/soc.0/by-name/recovery
/persist ext4 /dev/block/platform/soc.0/by-name/persist flags=fsflags=noatime,nosuid,nodev,barrier=1,noauto_da_alloc;mounttodecrypt
/firmware ext4 /dev/block/platform/soc.0/by-name/modem flags=fsflags=ro,nosuid,nodev,barrier=0,context=u:object_r:fsg_file:s0;mounttodecrypt
/misc emmc /dev/block/platform/soc.0/by-name/misc
/external_sd auto /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="MicroSD Card";storage;wipeingui;removable
/boot emmc /dev/block/bootdevice/by-name/boot
/system ext4 /dev/block/bootdevice/by-name/system
/data ext4 /dev/block/bootdevice/by-name/userdata flags=fsflags=rw,discard,nosuid,nodev,noatime,nodiratime,inline_xattr,inline_data;encryptable=/dev/block/bootdevice/by-name/metadata
/cache ext4 /dev/block/bootdevice/by-name/cache
/recovery emmc /dev/block/bootdevice/by-name/recovery
/misc emmc /dev/block/bootdevice/by-name/misc
/persist emmc /dev/block/bootdevice/by-name/persist flags=fsflags=noatime,nosuid,nodev,barrier=1,noauto_da_alloc;mounttodecrypt
/firmware ext4 /dev/block/bootdevice/by-name/modem flags=fsflags=ro,nosuid,nodev,barrier=0,context=u:object_r:fsg_file:s0;mounttodecrypt
/external_sd /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="MicroSD Card";storage;wipeingui;removable
# Copyright (c) 2013, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
import platform
import numpy as np
import numpy.linalg as LA
import sympy as sp
sp.init_printing()
#slozi STANDARNU BAZU
#T1=sp.Matrix([[]])
#koordinate vektora zadanog Pk
Pk=sp.Matrix([75,4,-67])
import platform
import numpy as np
import numpy.linalg as LA
import sympy as sp
sp.init_printing()
#slozi STANDARNU BAZU
#T1=sp.Matrix([[]])
#koordinate vektora zadanog Pk
Pk=sp.Matrix([1,3,-5])
def h(x,y):
return (2*math.cos(0.4*x)*math.cos(0.4*y)+5*x*y*e^(-x^2-y^2)+3*e^(-(x-2)^2-(y-2)^2))
cm=colormaps.autumn
P = plot3d(h,(0,4),(0,4), color=(h,cm))
P.show()
def h(x,y):
return (2*math.cos(0.4*x)*math.cos(0.4*y)+5*x*y*e^(-x^2-y^2)+3*e^(-(x-2)^2-(y-2)^2))
cm=colormaps.autumn
P = plot3d(h,(0,4),(0,4), color=(h,cm))
P.show()