This is a modification version of original TOML by Tom Preston-Werner cause i thought:
- it should be more simple
- it can be not called as a language (as a developer, i'm lost in a lot of programming languages, tired anyway...)
| # | |
| # Toggle Xcode index (for unreal projects) | |
| # Original CMD: defaults write com.apple.dt.XCode IDEIndexDisable 1 | |
| # You can put this function into your own `.bash_profile` or `.bash_rc` | |
| # | |
| toggleXcodeIdx() { | |
| CURR="$(defaults read com.apple.dt.XCode IDEIndexDisable)" | |
| echo "Current State: $CURR" | |
| case $CURR in | |
| 0) |
| <?php // ~/.config/psysh/config.php | |
| // Anything not Laravel - let's try to autoload something likely to exist | |
| if (!defined('LARAVEL_START')) { | |
| return [ | |
| 'defaultIncludes' => [ | |
| getcwd().'/vendor/autoload.php', | |
| getcwd().'/bootstrap/autoload.php', | |
| ], | |
| ]; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| typedef struct { | |
| char name[10]; | |
| } Person; | |
| int main() { | |
| // initialize to empty |
This is a modification version of original TOML by Tom Preston-Werner cause i thought:
Notice:
:modulenameThe docsite should add Access-Control-Allow-Origin to allow cross json requsest.
| #!/usr/bin/env bash | |
| DOCKER=`which docker` | |
| usage() | |
| { | |
| echo "Usage: $(basename $0) [-l num] IMAGE" | |
| exit 0 | |
| } |
This common style is for me in developer eye. You could also follow it by yourself.
The very beginning thing is you need to name a project. It is really very important when starting a project. No name, then no project.
| /** | |
| 原始 = rgba(255,0,0,.5) + rgba(0,255,0,.5): <br /> | |
| <canvas id="item0" width="120" height="120"> | |
| 您的浏览器不支持html5 | |
| </canvas> | |
| <br /> | |
| 灰度:<br /> | |
| <canvas id="item1" width="360" height="120"> | |
| 您的浏览器不支持html5 | |
| </canvas> |