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
declare @t table(id int identity primary key, name varchar(20), rv rowversion) | |
insert into @t (name) values('Moe') | |
insert into @t (name) values('Larry') | |
insert into @t (name) values('Curly') | |
select * from @t order by rv desc; | |
3 Curly 0x00000000000007EE | |
2 Larry 0x00000000000007ED |
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
(function() { | |
var grabbr = []; | |
var walk_the_DOM = function walk(node, func) { | |
func(node); | |
node = node.firstChild; | |
while (node) { | |
walk(node, func); | |
node = node.nextSibling; | |
} | |
}; |
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
Show hidden characters
{ | |
"cmd": ["java -jar ~/bin/KickAss.jar $file_base_name.$file_extension;open $file_base_name.prg"], | |
"selector": "source.KickAss", | |
"shell": "true", | |
"working_dir": "${project_path}" | |
} |
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
import java.io.IOException; | |
import java.util.Date; | |
import javax.servlet.*; | |
import javax.servlet.http.HttpServletResponse; | |
public class CacheControlFilter implements Filter { | |
public void doFilter(ServletRequest request, ServletResponse response, | |
FilterChain chain) throws IOException, ServletException { |
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 substring(md5(rand()) from 1 for 16) as salt |
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
REM CAREFUL!!!! | |
REM MAKE SURE THIS IS IN THE FOLDER OF YOUR PROJECT AS IT RECUSIVELY NUKES ALL .SVN FOLDERS/FILES | |
for /d /r . %d in (.svn) do @if exist "%d" rd /s/q "%d" |
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
version = '1.0' | |
apply plugin: 'jetty' | |
apply plugin: 'eclipse-wtp' | |
sourceCompatibility = 1.7 | |
sourceSets { | |
selenium | |
} |
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
hex(generate_unique()) as id | |
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
** Package Control ** | |
http://wbond.net/sublime_packages/package_control | |
Soda Theme | |
https://github.com/buymeasoda/soda-theme | |
Other Themes | |
https://github.com/daylerees/colour-schemes |
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 | |
CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || | |
CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) || | |
CHR( INT(RAND()*26) + 65) || CHR( INT(RAND()*26) + 65) | |
from SOMETABLE; |