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
| 16 Grid system with Gutter | |
| @gridColumns: 16 | |
| @gridColumnWidth: 45px | |
| @gridGutterWidth: 15px | |
| @gridColumnWidth1200: 52.5px | |
| @gridGutterWidth1200: 22.5px | |
| @gridColumnWidth768: 31.5px | |
| @gridGutterWidth768: 15px | |
| 16 Grid system without Gutter |
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
| Download the desired file | |
| Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight) | |
| Convert the .iso file to .img using the convert option of hdiutil (e.g., hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso) | |
| Note: OS X tends to put the .dmg ending on the output file automatically. Remove the .dmg extension as necessary, mv ~/path/to/target.img{.dmg,} | |
| Run diskutil list to get the current list of devices | |
| Insert your flash media | |
| Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2) | |
| Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2) | |
| Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg). | |
| Using /dev/rdisk instead of /dev/disk may be faster. |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <project name="tutorialProject" default="prod" basedir="."> | |
| <description>Client-side ANT build file example</description> | |
| <target name="-load.properties" | |
| description="Set properties for this build"> | |
| <!--Google Compiler location--> | |
| <property name="gcomp.dir" value="${basedir}/shared/bin/google-compiler.jar"/> | |
| <!--Source JS dir--> |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Histogram</title> | |
| <script type="text/javascript" src="https://github.com/mbostock/d3/raw/v1.17.0/d3.js"></script> | |
| <script type="text/javascript" src="https://github.com/mbostock/d3/raw/v1.17.0/d3.layout.js"></script> | |
| <style type="text/css"> | |
| body { | |
| font: 10px sans-serif; |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.29.5"></script> | |
| <script type="text/javascript" src="http://polymaps.org/polymaps.min.js?2.5.0"></script> | |
| <style type="text/css"> | |
| @import url("http://polymaps.org/style.css"); | |
| html, body { |
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 | |
| //! Query | |
| $time = "*/15 * * * * /usr/bin/php -f /home/taclab/public_html/fbapi/fb/test_cron.php > /home/taclab/public_html/fbapi/fb/clean_tmp_dir2.log"; | |
| //! Write Cront2.cron | |
| $fichier = "cront2.cron"; | |
| $fil = fopen($fichier,'a'); | |
| fputs($fil,$time."\n"); | |
| // Execute |
NewerOlder