Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| # Application base directory | |
| site= "example.com" | |
| # Navigate to the release being deployed. | |
| cd {{ release }} | |
| # Number of migrations in the new release | |
| releaseMigrations= ls database/migrations | wc -l | |
| # Number of migrations in the current production app |
| select | |
| first_name, | |
| last_name | |
| from | |
| users | |
| left join | |
| companies on companies.id = users.company_id | |
| where ( | |
| companies.name like 'TERM%' or | |
| first_name like 'TERM%' or |
| struct ContentView: View { | |
| @State var count: Int = 3 | |
| var body: some View { | |
| return NavigationView { | |
| VStack(spacing: 50) { | |
| HStack { | |
| Button(action: { self.count += 1 }) { | |
| Text("Add") | |
| } |
| // Creates a new promise that automatically resolves after some timeout: | |
| Promise.delay = function (time) { | |
| return new Promise((resolve, reject) => { | |
| setTimeout(resolve, time) | |
| }) | |
| } | |
| // Throttle this promise to resolve no faster than the specified time: | |
| Promise.prototype.takeAtLeast = function (time) { | |
| return new Promise((resolve, reject) => { |
| # LVDB - LLOOGG Memory DB | |
| # Copyriht (C) 2009 Salvatore Sanfilippo <[email protected]> | |
| # All Rights Reserved | |
| # TODO | |
| # - cron with cleanup of timedout clients, automatic dump | |
| # - the dump should use array startsearch to write it line by line | |
| # and may just use gets to read element by element and load the whole state. | |
| # - 'help','stopserver','saveandstopserver','save','load','reset','keys' commands. | |
| # - ttl with milliseconds resolution 'ttl a 1000'. Check ttl in dump! |
| <?php | |
| function pearson_correlation($x,$y){ | |
| if(count($x)!==count($y)){return -1;} | |
| $x=array_values($x); | |
| $y=array_values($y); | |
| $xs=array_sum($x)/count($x); | |
| $ys=array_sum($y)/count($y); | |
| $a=0;$bx=0;$by=0; | |
| for($i=0;$i<count($x);$i++){ |
schedule:run cron job.aliases file, allow us to define and save alias files, that we can can include on the server when we build it.autocomplete="one-time-code" for 2FA token on login.| <?php | |
| /** | |
| * If you have two sets of collections, which you would previously have used a nested foreach to do something to each unique | |
| * combination of items, you can use this macro to get it done instead! | |
| * | |
| * It will return a collection of tuples that represent the combination of the two collections. If you'd like to add keys to the tuple | |
| * you can pass that in as an optional second argument! | |
| */ |