- Railsによるアジャイルwebアプリケーション開発
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
private void checkInstalledApplication( String fileter ){ | |
ArrayAdapter<String> adapter = new ArrayAdapter<String>( this, android.R.layout.simple_list_item_1 ); | |
//ArrayAdapter<ImageView> images = new ArrayAdapter<ImageView>( this, android.R.layout.simple_list_item_1 ); | |
PackageManager pm = getPackageManager(); | |
int flag = PackageManager.GET_INTENT_FILTERS | PackageManager.GET_RECEIVERS | PackageManager.GET_PERMISSIONS; | |
List<PackageInfo> list = pm.getInstalledPackages( flag ); | |
for( Iterator<PackageInfo> iterator = list.iterator(); iterator.hasNext(); ){ | |
PackageInfo info = iterator.next(); | |
if( fileter != null ){ |
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
taskkill /F /IM TmProxy.exe | |
rem 名前は"表示名"を指定 | |
sc config "TmProxy" start= disabled | |
pause |
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
SBT_DIR=`dirname $0` | |
java -Xmx512M -jar `cygpath -m $SBT_DIR`/sbt-launch.jar "$@" |
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
#include <gtest/gtest.h> | |
class Hello { | |
public: | |
int ping( int a ){ return a; } | |
}; | |
class HelloTest : public ::testing::TestWithParam<int> { | |
protected: | |
Hello hello; |
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
CFLAGS="-mcpu=cortex-m4 -nostartfiles -T/Users/datsuns/work/programming/cpp/tdd4ec/stm32fdiscovery/ChibiOS/ChibiOS_2.6.1/os/ports/GCC/ARMCMx/STM32F4xx/ld/STM32F407xG.ld -Wl,-Map=build/ch.map,--cref,--no-warn-mismatch,--gc-sections -mno-thumb-interwork -mthumb" ./configure --host=arm-none-eabi --disable-memory-leak-detection --disable-std-cpp --disable-std-c |
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
package main | |
import ( | |
"fmt" | |
"github.com/PuerkitoBio/goquery" | |
"os" | |
) | |
func LoadPage(path string) { | |
f, err := os.Open(path) |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"io" | |
"os" | |
"os/exec" | |
"path/filepath" |
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
let g:lsp_settings = { | |
\ 'pylsp-all': { | |
\ 'workspace_config': { | |
\ 'pylsp': { | |
\ 'plugins': { | |
\ 'pycodestyle': { | |
\ 'ignore': ["E221", "E501"] | |
\ } | |
\ } | |
\ } |
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
# 参考サイト: https://ponkichi.blog/drone01/ | |
import socket | |
TELLO_IP = '192.168.10.1' | |
TELLO_CM_PORT = 8889 | |
TELLO_ST_PORT = 8890 | |
TELLO_ADDRESS = (TELLO_IP, TELLO_CM_PORT) | |
class TelloSock: |
OlderNewer