(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* | |
| Umm Al-Qura Islamic Calendar | |
| valid from 1356 AH (14 March 1937 CE) to 1500 AH (16 November 2077 CE). | |
| Outside this interval, the converter will give erroneous results. | |
| ported from javascript from: | |
| http://www.staff.science.uu.nl/~gent0113/islam/ummalqura_converter.htm#top | |
| */ | |
| import java.util.Calendar; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| Enabling communication with API if server has Self-Signed Certificate |
| /// <summary> | |
| /// A listing of ASCII control characters for readability. | |
| /// </summary> | |
| public static class AsciiControlChars | |
| { | |
| /// <summary> | |
| /// Usually indicates the end of a string. | |
| /// </summary> | |
| public const char Nul = (char)0x00; |
| import android.graphics.Rect; | |
| import android.support.v7.widget.GridLayoutManager; | |
| import android.support.v7.widget.RecyclerView; | |
| import android.view.View; | |
| public class EqualSpacingItemDecoration extends RecyclerView.ItemDecoration { | |
| private final int spacing; | |
| private int displayMode; | |
| public static final int HORIZONTAL = 0; |
| //client | |
| RequestBody previewImg = | |
| RequestBody.create(MediaType.parse("image/jpeg"), opts.getPreviewImageFile()); //File | |
| RequestBody thumbnailImg = | |
| RequestBody.create(MediaType.parse("image/jpeg"), opts.getThumbnailImageFile()); //File | |
| RequestBody ownedProductId = | |
| RequestBody.create(MediaType.parse("multipart/form-data"), opts.getOwnedProductId()); //String | |
| //Retrofit interface | |
| @Multipart |
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.
If you run
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
| #!/bin/bash | |
| echo "\n\n--- Killing Stupid Adobe Auto Load Crap ---\n\n" | |
| launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist | |
| launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist | |
| echo "\n\n--- Done! ---\n\n" |
| #!/usr/bin/swift | |
| // DISCLAIMER | |
| // This script modifies an unencrypted file associated with the trial version of Final Cut Pro. | |
| // Under the DMCA (17 U.S.C. § 1201), this modification does not qualify as circumvention of a technological | |
| // protection measure (TPM), as it does not involve bypassing encryption, authentication, or similar protections. | |
| // Distributing this code is therefore legal under the DMCA. | |
| // This script is intended for educational and research purposes, such as exploring trial-related file structures, |