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
+ (void)removeAllStoredCredentials{ | |
// Delete any cached URLrequests! | |
NSURLCache *sharedCache = [NSURLCache sharedURLCache]; | |
[sharedCache removeAllCachedResponses]; | |
// Also delete all stored cookies! | |
NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; | |
NSArray *cookies = [cookieStorage cookies]; | |
id cookie; | |
for (cookie in cookies) { |
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
# SWAMI KARUPPASWAMI THUNNAI | |
# ============================================================ | |
# Simple yet Hackable! WhatsApp API [UNOFFICIAL] for Python3 | |
# Note: The author gives permission to use it under Apache 2.0 | |
# Special Thanks To: alecxe, For reviewing my code! | |
# ============================================================ | |
import time | |
import datetime as dt |
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
#!/usr/bin/env ruby | |
# fix-xcode | |
# Mark Rickert <mjar81@gmail.com> | |
# Symlinks all your old SDKs to Xcode.app every time it is updated. | |
# Create a directory called /SDKs and run this script. | |
# | |
# Each time you upgrade Xcode, run fix-xcode. |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using Realms; | |
namespace ProjectName.Core.Extensions | |
{ | |
public static class RealmExtension | |
{ |
OlderNewer