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
| #!/bin/bash | |
| URL="http://tokyu.bus-location.jp/blsys/navi?VID=ldt&EID=nt&FID=&DSMK=2339&FDSN=0&DPMK=5801&PRM=&SCT=2" | |
| RES=`curl -L $URL | \ | |
| grep 渋谷駅 | \ | |
| sed -e 's/<[^>]*>//g' | \ | |
| sed -e 's/[[:blank:]]//g' | \ | |
| tr -d '\n' | \ | |
| sed -e 's/\ //g'` |
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
| angular.module('yourApp').directive 'clickToHide', -> | |
| restrict: 'A' | |
| link: (scope, element, attr) -> | |
| element.on 'click', -> | |
| element.css("display", "none") | |
| angular.module('yourApp').directive 'clickToFadeout', -> | |
| restrict: 'A' | |
| link: (scope, element, attr) -> | |
| element.on 'click', -> |
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
| <!doctype html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>調整さん</title> | |
| <meta name="description" content="My Parse App"> | |
| <meta name="viewport" content="width=device-width"> | |
| <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
| <script type="text/javascript" src="http://www.parsecdn.com/js/parse-1.2.18.min.js"></script> |
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
| ######################################## | |
| # ruby cheet sheet | |
| ######################################## | |
| # rubyの学習用です | |
| # ------------------------------------------------------------------------------------------ | |
| # array and hash | |
| # ------------------------------------------------------------------------------------------ |
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
| #!/usr/bin/env perl | |
| use strict; | |
| use Teng; | |
| use Teng::Schema::Declare; | |
| { | |
| package Model; | |
| use parent 'Teng'; | |
| } |