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
$ nmcli device wifi connect [SSID] password [PASSWORD] |
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
function! s:JobHandler(job_id, data, event) dict | |
if a:event == 'stdout' | |
let str = self.shell.' stdout: '.join(a:data) | |
elseif a:event == 'stderr' | |
let str = self.shell.' stderr: '.join(a:data) | |
else | |
let str = self.shell.' exited' | |
endif | |
call append(line('$'), str) |
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
todo |
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
hoge | |
fuga |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="Twitter Timeline"/> | |
<Content type="html"> | |
<![CDATA[ | |
<a class="twitter-timeline" href="https://twitter.com/hashtag/rosjp" data-widget-id="507831437236514816">#rosjp件のツイート</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
]]> | |
</Content> | |
</Module> |
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
<!-- Just replace **USERNAME** by your github username :-) --> | |
<style> | |
#followGithub { | |
color: #121516; | |
text-shadow: 0 1px 1px #ccc; | |
padding: 0.2em 0.4em; | |
-moz-border-radius: 5px; | |
-webkit-border-radius: 5px; | |
border-radius: 5px; |
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
// ==UserScript== | |
// @name follow organization | |
// @description Show follow button on github organization page | |
// @namespace http://www.technolize.net/ | |
// @include https://github.com/* | |
// @version 0.1 | |
// @license MIT License | |
// @work Google Chrome | |
// ==/UserScript== |
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
syntax on | |
highlight LineNr ctermfg=darkyellow | |
highlight NonText ctermfg=darkgrey | |
highlight Folded ctermfg=blue | |
highlight SpecialKey cterm=underline ctermfg=darkgrey | |
highlight ZenkakuSpace cterm=underline ctermfg=lightblue guibg=white | |
match ZenkakuSpace / / | |
set ts=4 sw=4 | |
set softtabstop=4 | |
set expandtab |
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
hardstatus alwayslastline "[%02c] %`%-w%{=b bw}%n %t%{-}%+w" | |
escape ^Zz |
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/sh | |
TOUCH_PAD='AlpsPS/2 ALPS DualPoint TouchPad' | |
if xinput list "$TOUCH_PAD" >/dev/null 2>&1; then | |
if(xinput list "$TOUCH_PAD" | grep disabled) >/dev/null 2>&1; then | |
xinput set-prop "$TOUCH_PAD" 'Device Enabled' 1 | |
else | |
xinput set-prop "$TOUCH_PAD" 'Device Enabled' 0 | |
fi |