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
#! /bin/bash | |
end=$((SECONDS+70)) | |
while [ $SECONDS -lt $end ]; do | |
system76-power profile performance | |
system76-power profile performance | |
echo 1515 | sudo tee /sys/class/backlight/intel_backlight/brightness | |
sleep 1 |
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
RunOrRaise(class, run) | |
{ | |
if WinExist(class) { | |
WinActivate, %class% | |
} | |
else { | |
Run, %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
[ | |
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+left"], "command": "move_to", "args": {"to": "bol", "extend": false} }, | |
{ "keys": ["ctrl+right"], "command": "move_to", "args": {"to": "eol", "extend": false} }, | |
{ "keys": ["ctrl+up"], "command": "move_to", "args": {"to": "bof", "extend": false} }, | |
{ "keys": ["ctrl+down"], "command": "move_to", "args": {"to": "eof", "extend": false} }, | |
{ "keys": ["ctrl+["], "command": "jump_back" }, | |
{ "keys": ["ctrl+]"], "command": "jump_forward" }, | |
{ "keys": ["ctrl+super+d"], "command": "duplicate_line" }, | |
] |
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
#! /bin/bash | |
# Load libcomposite | |
modprobe libcomposite | |
# Create a gadget called usb-gadgets | |
cd /sys/kernel/config/usb_gadget/ | |
mkdir -p usb-gadgets | |
cd usb-gadgets |
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
Homebrew build logs for [email protected] on macOS 10.15.7 | |
Build date: 2021-03-17 10:25:15 |
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
(defn fizz-buzz | |
[num] | |
(cond | |
(and | |
(= (mod num 3) 0) | |
(= (mod num 5) 0)) "FizzBuzz" | |
(= (mod num 3) 0) "Fizz" | |
(= (mod num 5) 0) "Buzz" | |
:else num)) |
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
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0 |
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
(ns api-proxy.logging.core | |
(:require [taoensso.timbre :as timbre] | |
[taoensso.timbre.appenders.core :as appenders] | |
[raven-clj.core :refer [capture]] | |
[raven-clj.interfaces :refer [stacktrace http]] | |
[environ.core :refer [env]] | |
[mount.core :as mount] | |
[compojure.api.exception :as ex] | |
[schema.utils :as su] | |
[clj-json.core :as json] |
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
(defn sentry-appender | |
"Add a timbre appender for sending logs to Sentry.io" | |
[app-ns] | |
{:enabled? true | |
:async? true | |
:min-level :warn | |
:rate-limit nil | |
:output-fn :inherit | |
:fn | |
(fn [data] |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Lucian</name> | |
<identifier>Lucian</identifier> | |
<autogen>__DoublePressModifier__ KeyCode::CONTROL_L, KeyCode::CONTROL_L, KeyCode::F12</autogen> | |
</item> | |
</root> |
NewerOlder