View manuscript-os-x-M1-first-run
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
╭─ ~/projects ··································································································································· 3.0.0 at 06:27:21 PM ─╮ | |
╰─❯ manuskript ─╯ | |
[1] 64214 killed manuskript | |
╭─ ~/projects ·················································································································· ✘ KILL took 3s 3.0.0 at 06:27:42 PM ─╮ | |
╰─❯ manuskript ─╯ | |
[64232] Error loading Python lib '/opt/homebrew/Caskroom/manuskript/0.10.0/manuskript/Python': dlopen: dlopen(/opt/homebrew/Caskroom/manuskript/0.10.0/manuskript/Python, 10): no suitable image found. Did find: | |
/opt/homebrew/Caskroom/manuskript/0.10.0/manuskript/Python: code |
View nested-files.txt
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
app | |
|-- controllers | |
|-- customer_controller.rb | |
|-- customers | |
|-- order_controller.rb | |
|-- models | |
|-- customer.rb | |
|-- customers | |
|-- order.rb |
View hanami-gemfile-tutorial
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
source 'https://rubygems.org' | |
gem 'rake' | |
gem 'hanami', '~> 1.3' | |
gem 'hanami-model', '~> 1.3' | |
gem 'pg' | |
group :development do | |
# Code reloading |
View no-assignments-1.rb
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
class SomethingWithAssignments | |
def nice | |
first_thing = @modifier * 2 | |
another_thing = some_method.to_i | |
three_divides = @modifier % 3 == 0 ? true : false | |
if three_divides | |
return first_thing + another_thing | |
else | |
return another_thing |
View my-git-aliases
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
[alias] | |
a = add | |
b = branch | |
c = commit | |
d = diff | |
l = log | |
o = checkout | |
p = pull | |
r = remote |
View log-alias-output
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
95557d7 (HEAD -> develop, origin/develop) halfway through something | |
c8bb349 used JsonApi with Ember | |
593b582 I broke something | |
bae3a26 rails 5.1.4 stuff |
View log-aliases
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
[alias] | |
log-retro = !git log --since '1 week ago' --author $(git config user.email) --pretty=short --oneline | |
log-standup = !git log --since yesterday --author $(git config user.email) --pretty=short --oneline |
View log-output
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
commit 95557d77cb5bf0f7f282c1de6317f9b16924f3a7 (HEAD -> develop, origin/develop) | |
Author: You <you@company.com> | |
Date: Tue Oct 17 21:09:04 2017 +0100 | |
halfway through something | |
commit c8bb349eb52221ca61e72be47cbc37fadbbe685c | |
Author: you <you@personal.com> | |
Date: Sun Oct 15 21:03:18 2017 +0100 |
View git-top-performer-alias
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
# ~/.gitconfig | |
... other stuff | |
[alias] | |
top-performers = shortlog --summary --numbered --no-merges | |
# using this alias in the shell | |
$ git top-performers | |
12 Alice Doe | |
5 Bob Doe |
View git-basic-alias
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
[alias] | |
a = add | |
c = commit | |
d = diff | |
o = checkout | |
p = pull | |
s = status |
NewerOlder