Skip to content

Instantly share code, notes, and snippets.

View jacobabrahamb4's full-sized avatar

Jacob Abraham jacobabrahamb4

View GitHub Profile
@codinginflow
codinginflow / AndroidManifest.xml
Created July 11, 2021 21:24
JobScheduler Tutorial
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.codinginflow.jobschedulerexample">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
@johnmcfarlane
johnmcfarlane / begin(C++).md
Last active April 7, 2024 00:54
Resources for C++ beginners
@dalelane
dalelane / xmldiff.py
Created October 6, 2014 02:03
Comparing XML files ignoring order of attributes and elements - see http://dalelane.co.uk/blog/?p=3225 for background
##########################################################################
#
# xmldiff
#
# Simple utility script to enable a diff of two XML files in a way
# that ignores the order or attributes and elements.
#
# Dale Lane (email@dalelane.co.uk)
# 6 Oct 2014
#
@kmansoft
kmansoft / find_missing_translations.py
Created July 3, 2012 09:22
A simple script to find missing translations in an Android project
#!/usr/bin/python
'''
This script finds missing string translations in Android applicaitons.
Author: Kostya Vasilyev. License: Creative Commons Attribution.
The output format is, I believe, more suitable to working with external
translators than the output of Lint from the Android SDK.
@SunRain
SunRain / Android SDK Emulator Compile CyanogenMod (Linux)
Created January 26, 2012 07:18
Android SDK Emulator: Compile CyanogenMod (SUSE)
NOTE: You only need to do these steps the first time you build. If you previously prepared your build environment, skip to Download RomManager.
NOTE:
在准备开工之前,请务必确保硬盘工作空间不少于20G(最低不能低于15G),且不能是VFAT或NTFS格式。
Install the ADB
Install the Android SDK.
Install the Build Packages
@zed
zed / main.c
Created April 18, 2010 19:32
compare relative performance of tolower_ctype, tolower_openbsd, tolower_oraz functions
// compare relative performance of tolower_ctype, tolower_openbsd, tolower_oraz functions
// result: 30.80, 30.51, 38.09
// $ gcc -std=c99 -O3 -g -Wall -pedantic test_tolower.c -o test_tolower;
// $ valgrind --tool=callgrind ./test_tolower 1000000
#include <assert.h>
#include <ctype.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>