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 | |
set -e | |
# ppas and downloads | |
sudo add-apt-repository -y ppa:papirus/papirus | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O ~/Downloads/google-chrome.deb | |
# update and install apt packages | |
sudo apt update | |
sudo apt install -y ~/Downloads/google-chrome.deb chrome-gnome-shell \ |
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
grunt.registerTask('default', [ | |
'babel', | |
'compass:libs', | |
'compass:app', | |
'concat:libs', | |
'concat:flatninja', | |
'concat:dist', | |
'concat:css' | |
]); |
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
<?php | |
$excel = new \PHPExcel(); | |
$sheet = $excel->getActiveSheet(); | |
$style = new \PHPExcel_Style(); | |
$style | |
->getFill() | |
->setFillType(\PHPExcel_Style_Fill::FILL_SOLID) | |
// it's a solid color, do I have to set start or end? or are both required? | |
->setStartColor(new \PHPExcel_Style_Color(\PHPExcel_Style_Color::COLOR_RED)) |
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
<?php | |
$excel = new \PHPExcel(); | |
$sheet = $excel->getActiveSheet(); | |
$sheet->getCell('A1')->setValue('test'); | |
$style = new \PHPExcel_Style(); | |
$style | |
->getFill() | |
->setStartColor(new \PHPExcel_Style_Color(\PHPExcel_Style_Color::COLOR_RED)) |
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
#testing github gists |