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
//usr/bin/env go run $0 $@; exit | |
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/PuerkitoBio/goquery" | |
"net/url" |
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
$ git config user.email [email protected] |
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
$ brew install postgresql | |
$ /usr/local/bin/initdb -D /usr/local/var/postgres | |
$ /usr/local/bin/pg_ctl -D /usr/local/var/postgres start | |
$ /usr/local/bin/createuser postgres |
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
Start | bash=/usr/local/bin/mysql.server param1=start refresh=true terminal=false |
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
@tasks = sort { $a->{checked} <=> $b->{checked} } @tasks; |
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
$ date --date="2055-10-01 23:56:45 1 year -46 days" | |
水 8 16 23:56:45 JST 2056 |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use JSON; | |
use Data::Dumper; | |
use LWP::UserAgent; | |
my $url = $ENV{SLACK_WEBHOOK_URL}; |
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 | |
set -eu | |
LOGGER_LOG_LEVEL=4 | |
BASE_DIR=$(pwd) | |
LIB_DIR=$HOME/src/github.com/artifactsauce/proglets/lib/bash | |
. $LIB_DIR/functions | |
. $LIB_DIR/logger |
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
$ osacompile -l JavaScript -x -o ~/Desktop/open-pages.app ./open-pages.js |
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
requires 'LWP::Protocol'; | |
requires 'LWP::Protocol::https'; | |
requires 'JSON'; |
NewerOlder