$ sudo apt-get build-dep vim-nox
$ sudo apt-get install luajit libluajit-5.1-dev libncurses-dev libperl-dev python3-dev ruby-dev
$ git clone https://github.com/vim/vim.git
$ cd ./vim
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
var USERS_SHEET_NAME = 'users', | |
TASKS_SHEET_NAME = 'tasks', | |
SPREADSHEET_URI = 'スプレッドシートのURI'; | |
var getEmailByNickname = (function(){ | |
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var usersSheet = spreadsheet.getSheetByName(USERS_SHEET_NAME); | |
var userEmailTable = {}; | |
for(var i = 2; i <= usersSheet.getLastRow(); ++i){ |
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
http { | |
server { | |
server_name example.net; | |
listen 80; | |
types {} | |
default_type text/plain; | |
set $12 "Hello"; |
$ sudo apt-get install \
python3-dev \
librrd-dev \
libudev-dev \
libusb-1.0-0-dev
$ python3 -m pip install wheel
$ python3 -m pip install hidapi rrdtool
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
#-*- coding: utf-8 -*- | |
import re | |
import time | |
import email | |
from getpass import getpass | |
from threading import ( | |
Thread, | |
Event | |
) |
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
package main | |
import ( | |
"context" | |
"encoding/xml" | |
"flag" | |
"log" | |
"net" | |
"os" | |
"time" |
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/osascript | |
on run argv | |
set startMargin to 55 | |
set stopMargin to 115 | |
if (count of argv) = 0 then | |
# use the default | |
else if (count of argv) = 2 then | |
set startMargin to item 1 of argv |
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" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.yosida95.duplicity-backup</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/yosida95/.local/bin/duplicity-backup.sh</string> | |
</array> |
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/python | |
# -*- coding: utf-8 -*- | |
import contextlib | |
import signal | |
import sys | |
from email.mime.text import MIMEText | |
from datetime import datetime | |
from smtplib import SMTP | |
from threading import Event |
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
package main | |
import ( | |
"context" | |
"flag" | |
"io/ioutil" | |
"github.com/chromedp/cdproto/page" | |
"github.com/chromedp/cdproto/runtime" | |
"github.com/chromedp/chromedp" |
NewerOlder