We’ve found 7 gist results

View indentString.livecode
function indentString pString, pPadding
if pPadding is empty then put 4 into pPadding
return format("%*s",pPadding,"") & pString
end indentString
View rest.livecode.world stack: lib_RevIgniter.livecode
--> MetaData
-
copyright: David Bovill
license: GPLv3
name: lib_RevIgniter
type: script library
version: 0.5
/*
View rest.livecode.world stack: lib_GistIgniter.livecode
--> MetaData
-
license: GPLv3
name: lib_GistIgniter
type: library
version: 0.4
/*
These handlers interface with a remote revIgniter server.
They are used by the revIgniter Code Helper application to speed up coding controllers and libraries in revIgniter.
View hide files and folders.livecode
thePaths contains a cr delimited list of valid file/folder path
set the hideconsolewindows to true
put empty into tErrors
repeat for each line tPath in thePaths
put theFolder&tPath into tPath
if last char of tPath = slash then
delete last char of tPath
end if
replace "/" with "\" in tPath
View get the path and file name.livecode
To get the path and file name
the effective fileName of this stack
To get just the path this works...
CODE: SELECT ALL
set the itemDelimiter to "/"
put (item 1 to -2 of the effective fileName of this stack) & "/" into tMyPath
View auto saves a stack.livecode
Auto saves a stack every 10 mins, easy to convert to save files
on openstack
dosave
end openstack
on dosave
save this stack
send dosave to me in 600 seconds
end dosave
View load library stack.livecode
Loads a library stack invisibly for use by a calling stack and makes it ready to use
local tPath
lock screen
//loads the library from disk and inserts it as a library
set the itemDel to "/"
put the effective filename of stack "myMainStack" into tPath
put "MyLibraryStack.livecode" into item -1 of tPath
open invisible stack tPath
Cheat sheet

Search cheat sheet

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

Basic search

This search Finds repositories with…
cat stars:>100 Find cat gists with greater than 100 stars.
user:defunkt Get all gists from the user defunkt.
cat anon:true Include anonymous gists in your search for cat-related gists.
NOT cat Excludes all results containing cat.
cat fork:only Search all forked gists for results containing cat.

Contents search

Gist search looks through the file contents by default. You can also filter the results:

This search Finds gists with…
filename:.bashrc Find all gists with a ".bashrc" file.
cat language:html Find all cat gists with HTML files.
join extension:coffee Find all instances of join in gists with a coffee extension.
system size:>1000 Find all instances of system in gists containing a file larger than 1000kbs.