+11
-6
app/assets/stylesheets/application.css
+11
-6
app/assets/stylesheets/application.css
···
174
174
}
175
175
176
176
.pbody code.inline {
177
-
font-family: 'Gudea', sans-serif;
177
+
font-family: monospace;
178
178
display: inline-block;
179
179
margin-top: 0;
180
180
padding-left: 0;
···
187
187
}
188
188
189
189
.pbody code {
190
-
font-family: 'Gudea', sans-serif;
191
-
color: #509145;
192
-
padding-left: 2em;
190
+
font-family: monospace;
193
191
display: block;
194
192
text-align: left;
195
-
border-left: 1px solid #4f6599;
196
-
margin-top: 1em;
193
+
margin: 1em 0;
194
+
padding: 1em;
195
+
display: block;
196
+
background: #303446;
197
+
color: #c6d0f5;
198
+
}
199
+
200
+
.pbody pre code {
201
+
padding-top: 0 !important;
197
202
}
198
203
199
204
span.tag_link {
+3
app/views/layouts/application.html.erb
+3
app/views/layouts/application.html.erb
···
16
16
<%= favicon_link_tag asset_path("favicon.png") %>
17
17
<%= auto_discovery_link_tag :rss, articles_path(:format => :rss) %>
18
18
<%= javascript_importmap_tags %>
19
+
<link rel="stylesheet" href="https://unpkg.com/@catppuccin/highlightjs@1.0.1/css/catppuccin-frappe.css">
20
+
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js"></script>
19
21
<script src="https://tinylytics.app/embed/nkLX7dscszfbJdU6pseT.js?kudos=🐬" defer></script>
20
22
21
23
</head>
22
24
23
25
<body>
26
+
<script>hljs.highlightAll();</script>
24
27
<%= yield %>
25
28
</body>
26
29
</html>
+17
start
+17
start
···
1
+
#!/bin/bash
2
+
#
3
+
# this is how i start my blog. too lazy for a fuck ass systemd service
4
+
5
+
started=$(ps -ef | grep puma | grep -v grep | grep -v cluster | grep blog | awk '{print $2}')
6
+
if [ "$started" != "" ]; then
7
+
echo "stopping old"
8
+
kill $started
9
+
sleep 2
10
+
fi
11
+
12
+
export port=3002
13
+
export RAILS_ENV=production
14
+
15
+
echo "starting new"
16
+
17
+
nohup bundle exec rackup config.ru -p 3003 -o 192.168.1.219 > /dev/null 2>&1 &