This file contains 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
name space | |
version 0.8.7 | |
description A lightweight language for objects | |
main ./space.js | |
bin | |
space cli.js | |
scripts | |
test node tests/node-test.js | |
repository | |
type git |
This file contains 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
iosViewport | |
content <meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" /> | |
title | |
tag title | |
content Coming Soon | |
stylesheet | |
tag link | |
rel stylesheet | |
href site.css | |
dancerCode |
This file contains 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
title | |
tag title | |
content {{post.title Post Title}} | |
stylesheet | |
tag link | |
rel stylesheet | |
href site.css | |
container | |
style | |
width 90% |
This file contains 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
title | |
tag title | |
content Coming Soon | |
stylesheet | |
tag link | |
rel stylesheet | |
href site.css | |
container | |
style | |
position absolute |
This file contains 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
title | |
tag title | |
content Mindmap | |
block2 | |
style | |
left 370px | |
top 181px | |
width auto | |
padding 15px | |
height auto |
This file contains 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 | |
echo $1 | |
newpath=$(echo $1 | sed 's|\\|/|g' | sed 's|:||g' | sed 's|^C|/cygdrive/c|') | |
echo $newpath | |
cd "$newpath" |
This file contains 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 | |
function post($url, $post_array) | |
{ | |
// curl | |
} | |
?> |
This file contains 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
$isBot = preg_match('/(spider|crawl|curl|python|twitt|bot|google|perl|archiver|monitor|mechanize)/i',$_SERVER['HTTP_USER_AGENT']); |
This file contains 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 | |
/* | |
easier way to deal with $_POST & $_GET etc: typecast it to an object. | |
$post = (object)$_POST; | |
benefits: | |
- quicker to type (30% faster to type $post->username than to type $_POST['username']) | |
- reduces chance of making syntax mistakes(you have to make sure to match 2 sets of tokens( ' and [ )in the former and 0 in the latter, reducing the likelihood of annoying syntax mistakes. |
NewerOlder