0xXX- 1 byte = 16進数2桁 = 8 bit
0xXXXXXXXX- 4 byte = 16進数8桁 = 32 bit
- int
0xYYYYYYYYXXXXXXXX- 8 byte = 16進数16桁 = 64 bit
- long int
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
| # patch -p1 <$srcdir/dkms-conf.patch | |
| # $Id: PKGBUILD 102331 2013-12-09 03:38:37Z bisson $ | |
| # Maintainer: Sergej Pupykin <[email protected]> | |
| # Contributor: Krzysztof Raczkowski <[email protected]> | |
| pkgbase=open-vm-tools | |
| pkgname=('open-vm-tools' 'open-vm-tools-dkms') | |
| epoch=6 | |
| pkgver=9.4.0 | |
| _pkgsubver=1280544 |
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 | |
| foo=${1:-hoge} | |
| echo $foo #$1がなかったらhogeをデフォルト値としてfooに代入する | |
| #var自身にデフォルト値としてhogeを代入としたいので以下のように書きたい | |
| ${var:=hoge} #このままでは、hogeが展開されてしまって、hogeなんてコマンドはないとシェル怒られる | |
| echo "1:$var" | |
| var= |
Either copy the aliases from the .gitconfig or run the commands in add-pr-alias.sh
Easily checkout local copies of pull requests from remotes:
git pr 4- creates local branchpr/4from the githubupstream(if it exists) ororiginremote and checks it outgit pr 4 someremote- creates local branchpr/4fromsomeremoteremote and checks it out
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
| import java.io.Serializable; | |
| import java.lang.annotation.*; | |
| public class Java8 | |
| { | |
| @FunctionalInterface | |
| private interface F // 関数型インターフェース | |
| { | |
| static F concat(F f1, F f2) // staticインターフェースメソッド |
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
| command! -nargs=+ lazy autocmd VimperatorEnter .* <args> | |
| "googlespreadshet{{{ | |
| autocmd LocationChange '((drive|docs)\.google\.com).*(/spreadsheet/).*[0-9]+$' <C-j> | |
| "insert-modeでの<esc>キーはspreadsheetでのエスケープキーにする(insert-modeは抜けない) | |
| lazy fmaps -u='((drive|docs)\.google\.com).*(/spreadsheet/).*[0-9]+$' -modes=i <esc> | |
| "insert-mode/normal-modeの切り替え(iでinsert-mode/<C-j>でnormal-mode) | |
| inoremap -u='((drive|docs)\.google\.com).*(/spreadsheet/).*[0-9]+$' <C-j> <esc> |
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
| import java.net.URL; | |
| import java.security.SecureRandom; | |
| import java.security.cert.CertificateException; | |
| import java.security.cert.X509Certificate; | |
| import javax.net.ssl.HostnameVerifier; | |
| import javax.net.ssl.HttpsURLConnection; | |
| import javax.net.ssl.KeyManager; | |
| import javax.net.ssl.SSLContext; | |
| import javax.net.ssl.SSLSession; | |
| import javax.net.ssl.TrustManager; |