- 有休…
- 病休…
- 育休…
- 年収(月給、賞与など)…
- 残業代…
- 早朝/深夜手当…
- 休出手当…
- 住宅補助…
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
from machine import UART | |
import micropyGPS | |
import utime, gc, _thread | |
from m5stack import lcd | |
from math import radians, sin, cos | |
gps_s = UART(2, tx=17, rx=16, baudrate=9600, timeout=200, buffer_size=256, lineend='\r\n') | |
micropyGPS.MicropyGPS.supported_sentences.update({'GNGSA': micropyGPS.MicropyGPS.gpgsa}) | |
gps = micropyGPS.MicropyGPS(9, 'dd') |
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
// Modified from: https://github.com/katleta3000/CancelBlocks/blob/master/CancelBlocks.swift | |
typealias dispatch_cancelable_block_t = (cancel: Bool) -> (Void) | |
private func dispatch_after_delay(delay: Double, queue: dispatch_queue_t, block: dispatch_block_t?) -> dispatch_cancelable_block_t? { | |
guard let block = block else { return nil } | |
var originalBlock: dispatch_block_t? = block | |
var cancelableBlock: dispatch_cancelable_block_t? = nil | |
let delayBlock: dispatch_cancelable_block_t = {(cancel: Bool) -> Void in | |
if let originalBlock = originalBlock where !cancel { |
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
--- | |
language: objective-c | |
before_script: | |
- ./scripts/travis/add-key.sh | |
after_script: | |
- ./scripts/travis/remove-key.sh | |
after_success: | |
- ./scripts/travis/testflight.sh | |
env: | |
global: |
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
+ (NSString *)encodeStringWithCoordinates:(NSArray *)coordinates | |
{ | |
NSMutableString *encodedString = [NSMutableString string]; | |
int val = 0; | |
int value = 0; | |
CLLocationCoordinate2D prevCoordinate = CLLocationCoordinate2DMake(0, 0); | |
for (NSValue *coordinateValue in coordinates) { | |
CLLocationCoordinate2D coordinate = [coordinateValue MKCoordinateValue]; | |
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
# | |
# python drive.py "origin" ["waypoint" ... ] "destination" | |
# | |
# i.e. python drive.py "Union Square, San Francisco" "Ferry Building, San Francisco" 'Bay Bridge' SFO | |
import sys, json, urllib2, md5, os.path, pprint | |
from math import radians, sin, cos, atan2, pow, sqrt | |
from urllib import quote_plus | |
from xml.sax.saxutils import escape | |
from optparse import OptionParser |
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
import struct | |
import zlib | |
import itertools | |
class bitstream(object): | |
def __init__(self, buf): | |
self.buf = buf | |
self.i = 0 | |
self.rem = 0 | |
self.n = 0 |
原文:Scaling Isomorphic Javascript Code (This is just for study, please contact me at tily05 atmark gmail.com if any problem.)
考えてみれば Model-View-Controller とか MVC ってよく聞くよね。実際どんなものか知ってる? 抽象的に言うなら「オブジェクト情報の保持されるグラフィック・システム (つまり、ラスターではないグラフィック。ゲームとか) 上に構築された、表示系を中心としたアプリケーションにおいて、主要な機能どうしの関わりをうまく分離すること」とでも言おうか。もう少し深く考えを押し進めてみれば、これは当然、他のさまざまなアプリケーションにもあてはまる言葉 (bucket term ?) だ。
過去に多くの開発コミュニティが MVC による解決案を提供し、それによってよくあるユースケースにうまく対処し、地位を築くことができた。例をあげるなら、Ruby や Python コミュニティは Rails や Django を作り、MVC アーキテクチャを実現した。
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/sh | |
export LANG=C | |
testURLContentsChange() | |
{ | |
sysctl xen.independent_wallclock=1 | |
TEST_URL="http://www.example.com/" | |
TODAY_START_DATE=`date +'%Y-%m-%d 00:00:00'` |
NewerOlder