Skip to content

Languages

Advanced search
Cheat sheet

Search cheat sheet

GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.

For more information, visit our search help section.

Basic search

This search Finds repositories with…
cat stars:>100 Find cat repositories with greater than 100 stars.
user:defunkt Get all repositories from the user defunkt.
tom location:"San Francisco, CA" Find all tom users in "San Francisco, CA".
join extension:coffee Find all instances of join in code with coffee extension.
NOT cat Excludes all results containing cat.

Repository search

Repository search looks through the projects you have access to on GitHub. You can also filter the results:

This search Finds repositories with…
cat stars:>100 Find cat repositories with greater than 100 stars.
user:defunkt Get all repositories from the user defunkt.
pugs pushed:>2013-01-28 Pugs repositories pushed to since Jan 28, 2013.
node.js forks:<200 Find all node.js repositories with less than 200 forks.
jquery size:1024..4089 Find jquery repositories between the sizes 1024 and 4089 kB.
gitx fork:true Repository search includes forks of gitx.
gitx fork:only Repository search returns only forks of gitx.

Code search

Code search looks through the files hosted on GitHub. You can also filter the results:

This search Finds repositories with…
install repo:charles/privaterepo Find all instances of install in code from the repository charles/privaterepo.
shogun user:heroku Find references to shogun from all public heroku repositories.
join extension:coffee Find all instances of join in code with coffee extension.
system size:>1000 Find all instances of system in code of file size greater than 1000kbs.
examples path:/docs/ Find all examples in the path /docs/.
replace fork:true Search replace in the source code of forks.

Issue search

Issue search looks through issues and pull requests on GitHub. You can also filter the results:

This search Finds issues…
encoding user:heroku Encoding issues across the Heroku organization.
cat is:open Find cat issues that are open.
strange comments:>42 Issues with more than 42 comments.
hard label:bug Hard issues labeled as a bug.
author:mojombo All issues authored by mojombo.
mentions:tpope All issues mentioning tpope.
assignee:rtomayko All issues assigned to rtomayko.
exception created:>2012-12-31 Created since the beginning of 2013.
exception updated:<2013-01-01 Last updated before 2013.

User search

User search finds users with an account on GitHub. You can also filter the results:

This search Finds repositories with…
fullname:"Linus Torvalds" Find users with the full name "Linus Torvalds".
tom location:"San Francisco, CA" Find all tom users in "San Francisco, CA".
chris followers:100..200 Find all chris users with followers between 100 and 200.
ryan repos:>10 Find all ryan users with more than 10 repositories.

19 code results or view all results on GitHub

Sort: Best match
Sort options
@cran
1 #
2 #
3 # rescale.R
4 #
5 # $Revision: 1.8 $ $Date: 2019/02/10 06:42:26 $
6 #
7 #
8
9 rescale <- function(X, s, unitname) {
10 UseMethod("rescale")
11 }
12
13 rescale.ppp <- function(X, s, unitname) {
14 if(missing(unitname)) unitname <- NULL
R
Showing the top six matches Last indexed Apr 8, 2019
@cran
1 #
2 # distfun.R
3 #
4 # distance function (returns a function of x,y)
5 #
6 # $Revision: 1.27 $ $Date: 2018/04/23 05:12:30 $
199 fnew <- do.call(distfun, append(list(Ynew), extrargs))
200 return(fnew)
201 }
202
203 rescale.distfun <- function(X, s, unitname) {
R
Showing the top four matches Last indexed Nov 4, 2018
@cran
5 # $Revision: 1.14 $ $Date: 2014/10/24 00:22:30 $
6 #
7 #
8 #
9 #
10 #-------------------------------------
11 bounding.box.xy <- function(x, y=NULL) {
12 xy <- xy.coords(x,y)
15 owin(range(xy$x), range(xy$y), check=FALSE)
16 }
17
18 convexhull.xy <- function(x, y=NULL) {
19 xy <- xy.coords(x, y)
20 x <- xy$x
21 y <- xy$y
22 if(length(x) < 3)
R
Showing the top two matches Last indexed Nov 4, 2018
@cran
6 # $Revision: 1.39 $ $Date: 2017/06/05 10:31:58 $
7 #
8
9 layered <- function(..., plotargs=NULL, LayerList=NULL) {
10 argh <- list(...)
11 if(length(argh) > 0 && !is.null(LayerList))
316 applytolayers(X, flipxy)
317 }
318
319 scalardilate.layered <- function(X, ...) {
320 applytolayers(X, scalardilate, ...)
321 }
322
323 rescale.layered <- function(X, s, unitname) {
R
Showing the top three matches Last indexed Nov 4, 2018
@cran
1 #
2 # localpcf.R
3 #
4 # $Revision: 1.23 $ $Date: 2019/06/23 06:38:19 $
5 #
6 #
7
8 localpcf <- function(X, ..., delta=NULL, rmax=NULL, nr=512, stoyan=0.15) {
12 localpcfengine(X, delta=delta, rmax=rmax, nr=nr, stoyan=stoyan)
13 }
14
15 localpcfinhom <- function(X, ..., delta=NULL, rmax=NULL, nr=512, stoyan=0.15,
R
Showing the top two matches Last indexed Sep 22, 2019
@cran
6 # With contributions from Kevin Ummel
7 #
8
9 ewcdf <- function(x, weights=NULL, normalise=TRUE, adjust=1)
10 {
11 nx <- length(x)
57 totwt <- sum(wmatch)
58 ## rescale ?
59 if(normalise) {
60 cumwt <- cumwt/totwt
61 totwt <- 1
62 } else if(adjust != 1) {
63 cumwt <- adjust * cumwt
R
Showing the top two matches Last indexed Jan 29, 2020
@cran
6 # $Revision: 1.25 $ $Date: 2016/07/15 10:21:12 $
7 #
8
9 rho2hat <- function(object, cov1, cov2, ..., method=c("ratio", "reweight")) {
27 # interpret string "x" or "y" as a coordinate function
28 getxyfun <- function(s) {
29 switch(s,
30 x = { function(x,y) { x } },
R
Showing the top four matches Last indexed Jan 29, 2020
@cran
513 Y <- shift(Y, -negorigin)
514 return(Y)
515 }
516
517 rescale.lpp <- function(X, s, unitname) {
518 if(missing(unitname)) unitname <- NULL
521 unitname(Y) <- rescale(unitname(X), s, unitname)
522 return(Y)
523 }
524
525 superimpose.lpp <- function(..., L=NULL) {
R
Showing the top four matches Last indexed May 13, 2020
@cran
28 # plot.linnet plot an object of class "linnet"
29 #
30
31 # Make an object of class "linnet" from the minimal data
32
33 linnet <- function(vertices, m, edges, sparse=FALSE, warn=TRUE) {
118 return(out)
119 }
120
121 print.linnet <- function(x, ...) {
122 nv <- x$vertices$n
123 nl <- x$lines$n
124 splat("Linear network with",
R
Showing the top two matches Last indexed May 13, 2020
@cran
15 classes.with.multiplot <- c("ppp", "lpp", "msr", "tess",
16 "leverage.ppm", "influence.ppm")
17
18 has.multiplot <- function(x) {
19 inherits(x, classes.with.multiplot) ||
20 (is.function(x) && "multiplot" %in% names(formals(x)))
R
Showing the top two matches Last indexed Sep 22, 2019
You can’t perform that action at this time.