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
| <?php | |
| namespace Filters; | |
| use Core\Filter\AbstractFilter; | |
| use Core\Locale\LocaleService; | |
| use Traffic\Model\StreamFilter; | |
| use Traffic\RawClick; | |
| /* | |
| Кастомный фильтр для Кейтаро для реализации работы Эпсилон-жадного алгоритма многоруких бандитов. |
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
| <?php | |
| //Код взят отсюда: https://t.me/bearded_cpa/94 | |
| $login_email = 'Login'; | |
| $login_pass = 'Pass'; | |
| $url_first='https://m.facebook.com/login.php'; | |
| $url_second = 'https://www.facebook.com/adsmanager'; | |
| $ch = curl_init(); |
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
| extension UIDevice { | |
| var hasNotch: Bool { | |
| let bottom = UIApplication.shared.keyWindow?.safeAreaInsets.bottom ?? 0 | |
| return bottom > 0 | |
| } | |
| } | |
| if UIDevice.current.hasNotch { | |
| //... consider notch |
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
| <?php | |
| #API access key from Google API's Console | |
| define( 'API_ACCESS_KEY', 'YOUR-SERVER-API-ACCESS-KEY-GOES-HERE' ); | |
| $registrationIds = $_GET['id']; | |
| #prep the bundle | |
| $msg = array | |
| ( | |
| 'body' => 'Body Of Notification', |
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
| @echo off | |
| echo. | |
| echo Refreshing PATH from registry | |
| setlocal EnableDelayedExpansion | |
| :: Get System PATH | |
| for /f "tokens=3*" %%A in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path') do set syspath=%%A%%B | |
| :: Get User Path | |
| for /f "tokens=3*" %%A in ('reg query "HKCU\Environment" /v Path') do set userpath=%%A%%B |
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
| let styles: [UIFont.TextStyle] = [ | |
| // iOS 17 | |
| .extraLargeTitle, .extraLargeTitle2, | |
| // iOS 11 | |
| .largeTitle, | |
| // iOS 9 | |
| .title1, .title2, .title3, .callout, | |
| // iOS 7 | |
| .headline, .subheadline, .body, .footnote, .caption1, .caption2, | |
| ] |
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
| <?php | |
| /* | |
| Plugin Name: ACF Customizer Patch | |
| Plugin URI: https://gist.github.com/fabrizim/9c0f36365f20705f7f73 | |
| Description: A class to allow acf widget fields to be stored with normal widget settings and allow for use in customizer. | |
| Author: Mark Fabrizio | |
| Version: 1.0 | |
| Author URI: http://owlwatch.com/ | |
| */ | |
| class acf_customizer_patch |
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
| 31.13.24.0/21 | |
| 31.13.64.0/19 | |
| 31.13.64.0/24 | |
| 31.13.69.0/24 | |
| 31.13.70.0/24 | |
| 31.13.71.0/24 | |
| 31.13.72.0/24 | |
| 31.13.73.0/24 | |
| 31.13.75.0/24 | |
| 31.13.76.0/24 |
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/env bash | |
| # fresh-chrome | |
| # | |
| # Use this script on OS X to launch a new instance of Google Chrome | |
| # with its own empty cache, cookies, and user configuration. | |
| # | |
| # The first time you run this script, it will launch a new Google | |
| # Chrome instance with a permanent user-data directory, which you can | |
| # customize below. Perform any initial setup you want to keep on every |