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
| // | |
| // Twitter lets you close your inbox to people you don't follow. The problem | |
| // is that still authorizes ANYONE who sent you a message EVER to continue | |
| // messaging you, even if your privacy settings are changed. | |
| // | |
| // The only way (I think) to avoid that is to delete every message from a | |
| // person so that Twitter's internal check "did you talk to this person | |
| // before?" results in FALSE. That sucks because maybe you want more privacy | |
| // than before. But it's do-able by deleteing all the message history of each | |
| // conversation. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <? | |
| // this script receives a Stripe dispute / chargeback and: | |
| // | |
| // - immediately refunds the payment | |
| // - closes the user's account (in my DB, add your own code there) | |
| // | |
| // this is to automate dispute handling (because you never win a dispute on Stripe anyway) | |
| // and by refunding avoiding the chargeback fee | |
| // |
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
| # by @levelsio | |
| # | |
| # MIT licensed | |
| # | |
| # make sure you enable php_intl on PHP | |
| # you can do by uncommenting ;extension=intl or ;extension=php_intl | |
| # and installing php-intl, e.g. sudo apt-get install php-intl | |
| # | |
| # made for Nomad List to give people a notice if they go to a place | |
| # where it is currently Ramadan |
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
| <? | |
| // this bot tries to match chat messages to previous forum posts and links to them | |
| require_once(__DIR__.'/../app/config.php'); | |
| require_once(__DIR__.'/../app/functions.php'); | |
| loadDbs(array('users_global','messages','questions')); | |
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
| <!-- Maker Link by @levelsio --> | |
| <!-- MIT License --> | |
| <style> | |
| body { | |
| background:#333; | |
| } | |
| .levelsio-by { | |
| font-family:"Helvetica Neue",sans-serif; | |
| right:0; |
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
| /* | |
| code to match for dating | |
| these are BOOLEAN values | |
| match_gender = the gender of the user itself | |
| match_target_gender = the gender of the target user | |
| if match_gender_male = true it means the user is a male | |
| if match_target_gender_male = true it means the user is looking for a male |
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 | |
| /* | |
| I wrote this function to progressively obfuscate text in MAKEbook.io. When it KINDA worked, I just used it. | |
| It can take a lot of improvement. I kinda just tweaked the values until it was good enough. It's not SO progressive though. | |
| It takes all the output of your PHP scripts via ob_start(), reroutes that to the obfuscation function. | |
| You should check if user paid for book or not, then either run ob_start or not! | |
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
| ; Make Bootcamp Windows keys act like OSX | |
| ; by @levelsio | |
| ; | |
| ; 2017-11-02 | |
| ; | |
| ; Licensed as GPL | |
| ; | |
| ; Use autohotkey.com to load this file on Windows | |
| ; | |
| ; This fixes Cmd+Tab to work like Alt+Tab, also keys like Cmd+C as Ctrl+C etc., Cmd+Q to Alt-F4 |
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
| <? | |
| // | |
| // [ BUY BTC & ETH DAILY ON BITSTAMP ] | |
| // by @levelsio | |
| // | |
| // 2017-08-23 | |
| // | |
| // 1) buy $40/day BTC | |
| // 2) buy $10/day ETH | |
| // |