This file contains 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
// ==UserScript== | |
// @name Forbes | |
// @namespace https://www.forbes.com/ | |
// @description Remove anti ad-blockers on Forbes websites | |
// @version 1 | |
// @include https://www.forbes.com/* | |
// @grant none | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
// ==/UserScript== |
This file contains 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
{"version":1,"resource":"file:///Users/alta/Projects/WeatherBee/babel.config.js","entries":[{"id":"NtZk.js","timestamp":1649748629169},{"id":"C0fN.js","timestamp":1649748969744}]} |
This file contains 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
#define VM_PAGER_DEFAULT 0x1 /* Use default pager. */ | |
#define VM_PAGER_COMPRESSOR_NO_SWAP 0x2 /* In-core compressor only. */ | |
#define VM_PAGER_COMPRESSOR_WITH_SWAP 0x4 /* In-core compressor + swap backend. */ | |
#define VM_PAGER_FREEZER_DEFAULT 0x8 /* Freezer backed by default pager.*/ | |
#define VM_PAGER_FREEZER_COMPRESSOR_NO_SWAP 0x10 /* Freezer backed by in-core compressor only i.e. frozen data remain in-core compressed.*/ | |
#define VM_PAGER_FREEZER_COMPRESSOR_WITH_SWAP 0x20 /* Freezer backed by in-core compressor with swap support too.*/ |
This file contains 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
127.0.0.1 validation.sls.microsoft.com | |
127.0.0.1 licensing.ultraedit.com | |
127.0.0.1 licensing2.ultraedit.com | |
127.0.0.1 3dns.adobe.com | |
127.0.0.1 3dns-1.adobe.com | |
127.0.0.1 3dns-2.adobe.com | |
127.0.0.1 3dns-3.adobe.com | |
127.0.0.1 3dns-4.adobe.com | |
127.0.0.1 3dns-5.adobe.com | |
127.0.0.1 activate.adobe.com |
This file contains 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
DisplayMetrics metrics = new DisplayMetrics(); | |
((WindowManager)adContainerView.getContext().getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getMetrics(metrics); | |
ViewGroup.LayoutParams params = imageView.getLayoutParams(); | |
params.width = metrics.widthPixels; | |
params.height = (int)(metrics.widthPixels / 1.91f + 0.5f); | |
imageView.setLayoutParams(params); |
This file contains 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
@Override | |
protected void prepare(@NonNull final NativeAppInstallAdView adView, @NonNull final NativeAppInstallAd nativeAd) { | |
final TextView adTitle = (TextView)adView.findViewById(R.id.ad_title); | |
final TextView adBody = (TextView)adView.findViewById(R.id.ad_body); | |
final ImageView adImage = (ImageView)adView.findViewById(R.id.ad_image); | |
final TextView adCallToAction = (TextView)adView.findViewById(R.id.ad_call_to_action); | |
adView.setHeadlineView(adTitle); | |
adView.setBodyView(adBody); | |
adView.setImageView(adImage); |
This file contains 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
dependencies { | |
compile('com.mopub:mopub-sdk-native-static:4.12.0@aar') { transitive = true } | |
compile 'com.facebook.android:audience-network-sdk:4.19.0' | |
compile 'com.flurry.android:analytics:6.8.0' | |
compile 'com.flurry.android:ads:6.8.0' | |
compile 'com.google.android.gms:play-services-ads:10.0.1' | |
// Other dependencies | |
} |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<com.google.android.gms.ads.formats.NativeContentAdView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/admob_content_ad_view" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<include layout="@layout/view_native_ad" /> | |
</com.google.android.gms.ads.formats.NativeContentAdView> |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<com.google.android.gms.ads.formats.NativeAppInstallAdView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/admob_app_install_ad_view" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<include layout="@layout/view_native_ad" /> | |
</com.google.android.gms.ads.formats.NativeAppInstallAdView> |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<FrameLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/native_ad_container" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" |