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
package main | |
import ( | |
_ "embed" | |
) | |
//go:embed main.go | |
var code string | |
func main() { |
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
// <xbar.title>AQI</xbar.title> | |
// <xbar.version>v1.0</xbar.version> | |
// <xbar.author>John Roberts</xbar.author> | |
// <xbar.author.github>johncalvinroberts</xbar.author.github> | |
// <xbar.desc>The script displays AQI in location</xbar.desc> | |
// <xbar.image>https://raw.githubusercontent.com/christophschlosser/bitbar-plugins/checkhosts/Network/checkhosts.png</xbar.image> | |
// <xbar.dependencies>go</xbar.dependencies> | |
package main |
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
// <xbar.title>Locations</xbar.title> | |
// <xbar.version>v1.0</xbar.version> | |
// <xbar.author>John Roberts</xbar.author> | |
// <xbar.author.github>johncalvinroberts</xbar.author.github> | |
// <xbar.desc>The script displays the time in different timezones</xbar.desc> | |
// <xbar.image>https://raw.githubusercontent.com/christophschlosser/bitbar-plugins/checkhosts/Network/checkhosts.png</xbar.image> | |
// <xbar.dependencies>go</xbar.dependencies> | |
package main |
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
const fs = require("fs"); | |
const { promisify } = require("util"); | |
const pp = require("papaparse"); | |
const readFile = promisify(fs.readFile); | |
const writeFile = promisify(fs.writeFile); | |
const mutateMemoForPerson = (memo, person, pricePerPerson, title) => { | |
const maybeCouple = person.split("*"); | |
if (maybeCouple.length > 1) { |
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
{ | |
"extends": [ | |
"airbnb", | |
"prettier", | |
"prettier/react" | |
], | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaVersion": 2017, | |
"ecmaFeatures": { |
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
html { | |
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,微软雅黑,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,STXihei,华文细黑,sans-serif; | |
} |
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
git config --global alias.graph "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
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
class Drug | |
def initialize | |
@substance = [] | |
@bulk_price = 0 | |
@street_price = 0 | |
@power = 0 | |
end | |
attr_reader :power | |
attr_accessor :bulk_price, :substance, :street_price | |
end |