https://github.com/ReactiveCocoa/ReactiveCocoa
https://github.com/Alamofire/Alamofire
https://github.com/antitypical/Result
| // Type-safe State Machine with Phantom Type May 2022 @AtarayoSD | |
| import Foundation | |
| protocol State {} | |
| // Transitions | |
| protocol TransferableToB {} | |
| protocol TransferableToC {} | |
| protocol TransferableToD {} | 
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
What does this do? Good question. What you will end up with is essentially Chrome OS and Ubuntu (with KDE) running side by side.
Hold down ESC + REFRESH + POWER, when it reboots hit CTRL + D, and ENTER to confirm.
(You will have to hit CTRL + D at ever boot when you see the scary dev mode OS screen.)
Generate the list yourself:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./*     | \
  sed 's/NS_AVAILABLE_IOS(.*)//g'     | \
  sed 's/NS_DEPRECATED_IOS(.*)//g'    | \
  sed 's/API_AVAILABLE(.*)//g'        | \
  sed 's/API_UNAVAILABLE(.*)//g'      | \
 sed 's/UI_APPEARANCE_SELECTOR//g' | \
| function getSelectedText(){ | |
| if(window.getSelection){ | |
| return window.getSelection().toString(); | |
| } | |
| else if(document.getSelection){ | |
| return document.getSelection(); | |
| } | |
| else if(document.selection){ | |
| return document.selection.createRange().text; | |
| } | 
| var user = { | |
| validateCredentials: function (username, password) { | |
| return ( | |
| (!(username += '') || username === '') ? { error: "No Username Given.", field: 'name' } | |
| : (!(username += '') || password === '') ? { error: "No Password Given.", field: 'pass' } | |
| : (username.length < 3) ? { error: "Username is less than 3 Characters.", field: 'name' } | |
| : (password.length < 4) ? { error: "Password is less than 4 Characters.", field: 'pass' } | |
| : (!/^([a-z0-9_-]+)$/i.test(username)) ? { error: "Username contains invalid characters.", field: 'name' } | |
| : false | |
| ); |