This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Sometimes you have a large file on a small disk and would like to "transform" | |
| // it in some way: for example, by decompressing it. However, you might not have | |
| // enough space on disk to keep both the the compressed file and the | |
| // decompressed results. If the process can be done in a streaming fashion, it | |
| // would be nice if the file could be "drained"; that is, the file would be | |
| // sequentially deleted as it is consumed. At the start you'd have 100% of the | |
| // original file, somewhere in the middle you'd have about half of the original | |
| // file and half of your output, and by the end the original file will be gone | |
| // and you'll be left with just the results. If you do it this way, you might | |
| // be able to do the entire operation without extra space! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| # author: Vaisakh Murali <mvaisakh@statixos.com> | |
| # | |
| # Before you start, make sure you squash all split OEM commits into | |
| # one single commit. This will break down the single huge commit | |
| # into multiple smaller commits, helping to cleanup OEM codes easier. | |
| # | |
| # Make sure this script is renamed to rebase.sh as the script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| @file patmake.py | |
| @brief Creates a pattern file from a database | |
| @author neat | |
| """ | |
| import os | |
| import idautils | |
| import ida_bytes | |
| import ida_funcs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ diff -q sandbox_i6s_13.3.1_profiles/ sandbox_iX_12.4_profiles/ | /bin/grep Only | |
| Only in sandbox_i6s_13.3.1_profiles/: adservicesd.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: akd.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: appsso.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: ArchiveService.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: asd.sb | |
| Only in sandbox_iX_12.4_profiles/: assertiond.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: businesschatd.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: callservicesd.sb | |
| Only in sandbox_i6s_13.3.1_profiles/: cfprefsd.sb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class PaintView extends View { | |
| public static final int MAX_FINGERS = 5; | |
| private Path[] mFingerPaths = new Path[MAX_FINGERS]; | |
| private Paint mFingerPaint; | |
| private ArrayList<Path> mCompletedPaths; | |
| private RectF mPathBounds = new RectF(); | |
| public PaintView(Context context) { | |
| super(context); | |
| } |