⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
require 'sinatra' | |
require 'data_mapper' | |
require 'slim' | |
require 'digest/sha1' | |
DataMapper.setup(:default, ENV['DATABASE_URL'] || File.join("sqlite3://",settings.root, "development.db")) | |
class Note | |
include DataMapper::Resource | |
property :id, Serial |
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
[/Users/bc..et - Honore de Balzac.epub] ===================================================== | |
[/Users/bc..ns - Honore de Balzac.epub] Testing '/DIRECTORY/Balzac, Honore de/Lost Illusions - Honore de Balzac.epub' for corruption... | |
[/Users/bc..ns - Honore de Balzac.epub] tr: Illegal byte sequence | |
[/Users/bc..ns - Honore de Balzac.epub] The file has a '.epub' extension, testing with 7z... | |
[/Users/bc..ns - Honore de Balzac.epub] File passed the corruption test, looking for ISBNs... | |
[/Users/bc..ns - Honore de Balzac.epub] Searching file '/DIRECTORY/Balzac, Honore de/Lost Illusions - Honore de Balzac.epub' for ISBN numbers... | |
[/Users/bc..ns - Honore de Balzac.epub] usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]] | |
[/Users/bc..ns - Honore de Balzac.epub] [-e pattern] [-f file] [--binary-files=value] [--color=when] | |
[/Users/bc..ns - Honore de Balzac.epub] [--context[=num]] [--directories=action] [--label] [--line-buffered] | |
[/Users/bc..ns - Honore de Balzac.epub] [--null] [ |
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
fetch: | |
git fetch | |
update VERSION: | |
git stash | |
git checkout v{{VERSION}} | |
git stash pop | |
sed 's/:v[0-9]\.[0-9]\.[0-9]/:v{{VERSION}}/g' docker-compose.yml | |
restart: |
OlderNewer