SealNote is simple notes/notepad application which focuses on security and simplicity. Your notes are password protected using 256-bit AES encryption. Keep sensitive information always available without compromising security!
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 file is responsible for configuring your application | |
# and its dependencies with the aid of the Mix.Config module. | |
# | |
# This configuration file is loaded before any dependency and | |
# is restricted to this project. | |
use Mix.Config | |
# General application configuration | |
config :starlit_server, | |
ecto_repos: [StarlitServer.Repo] |
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
int x = -1; | |
int z = n / 2; // any sane large enough value to split problem space | |
for (int b = z; b >= 1; b /= 2) { | |
while (f(x+b) < f(x+b+1)) x += b; | |
} | |
int k = x+1; | |
for (int b = z; b >= 1; b /= 2) { | |
while (!ok(x+b)) x += b; |