Skip to content

Instantly share code, notes, and snippets.

Avatar

peyangu peyangu

View GitHub Profile
@peyangu
peyangu / setting.json
Created Apr 21, 2018
setting.jsonに追加するもの
View 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 Apr 21, 2018
php.iniに追記するXDebugの内容
View php.ini
[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 Apr 21, 2018
launch.jsonに記述するpathMappingsについて
View launch.json
"pathMappings": {
"d:\\xampp\\htdocs": "d:\\work\\test_php"
},
View composer.json
{
"require": {
"felixfbecker/language-server": "*"
}
}
@peyangu
peyangu / errormessage2.txt
Created Jul 23, 2017
マストドンバージョンアップ時のエラーメッセージ
View errormessage2.txt
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 Jul 23, 2017
マストドンバージョンアップ時に表示されたメッセージ
View errormessage.txt
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 Apr 15, 2017
SequenceEqualメソッド(False)
View Program.cs
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 Apr 15, 2017
SequenceEqualメソッド(True)
View Program.cs
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 Apr 15, 2017
Containsメソッド(False)
View Program.cs
//var personContains = personList.Select(p => p.Name).Contains("とぅーびー");
var personContains = personList.Select(p => p.Name).Contains("しー");
Console.WriteLine(personContains);
@peyangu
peyangu / Program.cs
Created Apr 15, 2017
Containsメソッド(True)
View Program.cs
var personContains = personList.Select(p => p.Name).Contains("とぅーびー");
//var personContains = personList.Select(p => p.Name).Contains("しー");
Console.WriteLine(personContains);
You can’t perform that action at this time.