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
| http://www.louisaslett.com/RStudio_AMI/ |
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
| row.names(df) <- NULL |
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
| df1 <- df[complete.cases(df),] |
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
| .colWrapper{ | |
| height:200px; | |
| width:100px; | |
| position:relative; | |
| border:1px solid #ccc; | |
| float:left; | |
| } | |
| .barContainer{ | |
| position:absolute; | |
| bottom:0; |
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
| $ cd repo | |
| $ git checkout --orphan gh-pages | |
| # Creates our branch, without any parents (it's an orphan!) | |
| # Switched to a new branch 'gh-pages' | |
| git rm -rf . | |
| # Remove all files from the old working tree |
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
| SELECT ST_Multi(ST_Union(the_geom)) as the_geom, cols... FROM (SELECT cartodb_id, cols..., | |
| ST_Buffer(the_geom,0.0) as the_geom FROM table_name) as | |
| buffered_table GROUP BY value_to_join_on |
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
| There will be time, there will be time | |
| To prepare a face to meet the faces that you meet; | |
| There will be time to murder and create, | |
| And time for all the works and days of hands | |
| That lift and drop a question on your plate; | |
| Time for you and time for me, | |
| And time yet for a hundred indecisions, | |
| And for a hundred visions and revisions, | |
| Before the taking of a toast and tea. |
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
| With thee conversing I forget all time, | |
| All seasons, and their change,--all please alike. | |
| Sweet is the breath of morn, her rising sweet, | |
| With charm of earliest birds; pleasant the sun | |
| When first on this delightful land he spreads | |
| His orient beams on herb, tree, fruit, and flower, | |
| Glist'ring with dew; fragrant the fertile earth | |
| After soft showers; and sweet the coming on | |
| Of grateful ev'ning mild; then silent night | |
| With this her solemn bird and this fair moon, |
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
| $this->api->api(array('method'=>'fql.query','query'=>"SELECT uid,name,first_name,middle_name,last_name,pic_square,hometown_location,current_location,profile_url,email,website FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())")); | |
| https://graph.facebook.com/fql?q=SELECT%20uid,name,first_name,middle_name,last_name,pic_square,hometown_location,current_location,profile_url,email,website%20FROM%20user%20WHERE%20uid%20IN%20(SELECT%20uid2%20FROM%20friend%20WHERE%20uid1%20=%20me())&access_token= |
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
| http://jsfiddle.net/mhkeller/ezvuB/ | |
| var sets = [ | |
| { | |
| "uid": "a1", | |
| "quote": "hey", | |
| "source": "facebook"}, | |
| { | |
| "uid": "a1", | |
| "quote": "yo", |