Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDpaE0bpKUIyYL+AJamLWh58qAGW38+NB47UT/E/V/uBDwFfvh4JbVEgcSiQYjdlvzijXWfovwDfL4HVUoK+g29Qf3iCIl5918SRN2tOu1ahIjepoqEsIOGrfFxDMrOZBtF0J8+ht0Z3aaOWyOuQ0vhnTqOeBe05gOZZFrlMclMvxpAZISLNthrdpCRnZnslEvn0qkbc9MBIKgXxJrDyBngSPAU6fY6LaAoFM+TOpvgx2zjtIBmZy4XeG7z4e2XvN1DZqC5akjVKaH8x0gX20ij77FN+5D2VNnpkBznij9IlI4JWcyeBCrPeh9v1Pqjak+x9/vxVVnPVCiYAWUq4x43 ubuntu@ubuntu
import pygame, random, time
screen_height = 500
screen_width = 800
pygame.init()
screen = pygame.display.set_mode((screen_width, screen_height))
pygame.display.set_caption("Car Race by lzzy12 @ github.com")
white = (255, 255, 255)
import smtplib
from email.message import EmailMessage
me = str(input("Enter your Email address : "))
passw = str(input("Enter your password: "))
you = str(input("Enter recipient's Email address: "))
msg = """Spam Spam Spam
"""
s = smtplib.SMTP('smtp.gmail.com', 587)
s.connect("smtp.gmail.com", 587)
s.ehlo()
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/commit/?h=4.11-rc1-3.10&id=3b11ec9b69a6e3906841eadb073c12511c00db84
@lzzy12
lzzy12 / ccache
Last active December 29, 2018 08:46
#Setting up ccache with AOSP sources
export USE_CCACHE=1
export CCACHE_DIR=~/.ccache
prebuilts/misc/linux-x86/ccache/ccache -M 50G
#include <iostream>
#include <string>
using namespace std;
int main(){
string input;
cin >> input;
for (string::size_type i = 0; i < input.length(); i++)
{
if (input[i] == '0')
input[i] = '1';
#============= gpsd ==============
allow gpsd device:chr_file { ioctl open read write };
#============= priv_app ==============
allow priv_app device:dir { open read };
#============= system_app ==============
allow system_app fingerprintd:binder call;
allow system_app netd:binder call;
allow system_app netd_service:service_manager find;
@lzzy12
lzzy12 / dd
Created December 13, 2017 13:38
--------- beginning of system
12-13 17:28:36.106 2266 2266 I vold : Vold 3.0 (the awakening) firing up
12-13 17:28:36.106 2266 2266 V vold : Detected support for: exfat ext4 ntfs vfat
12-13 17:28:36.109 2266 2266 W Vold : Tearing down stale mount /mnt/runtime/default
12-13 17:28:36.110 2266 2266 W Vold : Tearing down stale mount /mnt/secure/asec
12-13 17:28:36.110 2266 2266 W Vold : Tearing down stale mount /mnt/secure
12-13 17:28:36.121 2266 2328 D vold : e4crypt_init_user0
12-13 17:28:36.121 2266 2328 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
12-13 17:28:36.121 2266 2328 D vold : Preparing: /data/system/users/0
12-13 17:28:36.121 2266 2328 D vold : Preparing: /data/misc/profiles/cur/0
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/sec_s3nrn80_rfreg.bin': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/sec_s3nrn80_rfreg.bin': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/wifi/bcmdhd_apsta.bin_3s': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/wifi/bcmdhd_apsta.bin_3s': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/wifi/bcmdhd_mfg.bin_3s': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/wifi/bcmdhd_mfg.bin_3s': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/wifi/bcmdhd_sta.bin_3s': No such file or directory
cp: cannot stat '/home/jhashivam2020/superrs-kitchen/superr_j7velte/system/etc/wifi/bcmdhd_sta.bin_3s': No such
@lzzy12
lzzy12 / ota_conf
Last active October 23, 2017 05:50
Place this file in root directory of XenonHD sources while building for J23G
#
# OTA XML
#
# See ota_nougat.xml for example
#
# Note:
# * Multiple devices can be added in the xml file
# * You can define any tags that end with 'Url'. These tags will be added in the UI automatically
#
ota_url=https://raw.githubusercontent.com/j23g/xenonhd_ota/j23g/ota_nougat.xml