Skip to content

Instantly share code, notes, and snippets.

View zc1415926's full-sized avatar

ZhangChuan zc1415926

  • Rhjxx
  • Chongqing, China
View GitHub Profile
@zc1415926
zc1415926 / gist:7596428cdd7a2ae92de67ba08ab02836
Created June 13, 2017 07:50
cloud9 update to php7.1 and mysql5.6 tips
sudo apt-get install php-pear
pecl install pdo
pecl install pdo_mysql
extension = pdo.so
extension = pdo_mysql.so
sudo vi /etc/php/7.1/apache2/php.ini
sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update
@zc1415926
zc1415926 / gist:61e1fcfa53ca43ffc030db2d1540bcd0
Created December 8, 2016 13:16
在Kontakt中设置力度到最大的代码
on midi_in
if ($MIDI_COMMAND = $MIDI_COMMAND_NOTE_ON)
ignore_midi
set_midi($MIDI_CHANNEL,$MIDI_COMMAND_NOTE_ON,$MIDI_BYTE_1,$MIDI_BYTE_2 * 127 / 100)
end if
end on