Skip to content

Instantly share code, notes, and snippets.

View peyangu's full-sized avatar

peyangu peyangu

View GitHub Profile
@peyangu
peyangu / setting.json
Created April 21, 2018 09:23
setting.jsonに追加するもの
"php.validate.executablePath": "D:\\xampp\\php\\php-win.exe",
"php.executablePath": "D:\\xampp\\php\\php-win.exe",
"php.suggest.basic": false
@peyangu
peyangu / php.ini
Created April 21, 2018 09:22
php.iniに追記するXDebugの内容
[xdebug]
zend_extension="D:\xampp\php\ext\php_xdebug~.dll"
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_enable=1
xdebug.remote_autostart=1
@peyangu
peyangu / launch.json
Created April 21, 2018 09:21
launch.jsonに記述するpathMappingsについて
"pathMappings": {
"d:\\xampp\\htdocs": "d:\\work\\test_php"
},
@peyangu
peyangu / composer.json
Created April 21, 2018 09:20
composer.json
{
"require": {
"felixfbecker/language-server": "*"
}
}
@peyangu
peyangu / errormessage2.txt
Created July 23, 2017 14:25
マストドンバージョンアップ時のエラーメッセージ
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/idn-ruby-0.1.0/ext
/home/mastodon/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20170723-4482-j09tun.rb extconf.rb
checking for -lidn... no
ERROR: could not find idn library!
Please install the GNU IDN library or alternatively specify at least one
of the following options if the library can only be found in a non-standard
location:
@peyangu
peyangu / errormessage.txt
Created July 23, 2017 14:21
マストドンバージョンアップ時に表示されたメッセージ
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/charlock_holmes-0.7.3/ext/charlock_holmes
/home/mastodon/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20170723-4139-33ca7g.rb extconf.rb
checking for -licui18n... no
which: no brew in
(/home/mastodon/.rbenv/versions/2.4.1/bin:/home/mastodon/.rbenv/libexec:/home/mastodon/.rbenv/plugins/ruby-build/bin:/home/mastodon/.rbenv/shims:~/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
checking for -licui18n... no
@peyangu
peyangu / Program.cs
Created April 15, 2017 14:47
SequenceEqualメソッド(False)
List<string> personListB = new List<string>();
personListB.AddRange(personList.Select(p => p.Name));
personListB.RemoveAt(2);
var personSequence = personList.Select(p => p.Name).SequenceEqual(personListB);
Console.WriteLine(personSequence);
@peyangu
peyangu / Program.cs
Created April 15, 2017 14:46
SequenceEqualメソッド(True)
List<string> personListB = new List<string>();
personListB.AddRange(personList.Select(p => p.Name));
//personListB.RemoveAt(2);
var personSequence = personList.Select(p => p.Name).SequenceEqual(personListB);
Console.WriteLine(personSequence);
@peyangu
peyangu / Program.cs
Created April 15, 2017 14:46
Containsメソッド(False)
//var personContains = personList.Select(p => p.Name).Contains("とぅーびー");
var personContains = personList.Select(p => p.Name).Contains("しー");
Console.WriteLine(personContains);
@peyangu
peyangu / Program.cs
Created April 15, 2017 14:45
Containsメソッド(True)
var personContains = personList.Select(p => p.Name).Contains("とぅーびー");
//var personContains = personList.Select(p => p.Name).Contains("しー");
Console.WriteLine(personContains);