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
<gconfentryfile> | |
<entrylist base="/apps/gnome-terminal"> | |
<entry> | |
<key>global/active_encodings</key> | |
<schema_key>/schemas/apps/gnome-terminal/global/active_encodings</schema_key> | |
<value> | |
<list type="string"> | |
<value> | |
<string>UTF-8</string> | |
</value> |
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
package org.dedunumax.imagecutter; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.io.IOException; | |
import javax.imageio.ImageIO; | |
public class ImageCutter { | |
public static void main(String[] args) throws IOException { |
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
+++++ +++++ | |
[ | |
> +++++ ++ | |
> +++++ +++++ | |
> +++++ +++++ + | |
<<< - | |
] | |
> -- . | |
> + . | |
- . |
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
############################## | |
## Java | |
############################## | |
.mtj.tmp/ | |
*.class | |
*.jar | |
*.war | |
*.ear | |
*.nar | |
hs_err_pid* |
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
cat data.csv | awk -F',' '{print " SET \""$1"\" \""$2 "\"\n"}'| /opt/redis-2.8.17/src/redis-cli --pipe |
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
public class SwapInteger{ | |
public static void main(String args[]){ | |
int a = 5; | |
int b = 10; | |
System.out.println("Before swapping."); | |
System.out.println("a = " + a); | |
System.out.println("b = " + b); |
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
/* | |
* You can download geo.txt from - https://github.com/Adslot/node-puzzle/blob/master/01-geo-lookup/data/geo.txt | |
*/ | |
var fs = require('fs'); | |
var kd = require('kdtree'); | |
var kdtree = new kd.KDTree(3); | |
//var kdtree = new kd.KDTree(4); | |
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
package org.dedunu.alfresco; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import org.alfresco.model.ContentModel; | |
import org.alfresco.service.cmr.repository.ChildAssociationRef; | |
import org.alfresco.service.cmr.repository.ContentData; | |
import org.alfresco.service.cmr.repository.NodeRef; |
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
<webscript> | |
<shortname>File Size</shortname> | |
<description>Returns the file size of the given nodeRef</description> | |
<url>/size?nodeRef={RefForNode}</url> | |
<authentication>user</authentication> | |
<format default="html">extension</format> | |
<family>File Size Utilities</family> | |
</webscript> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Check file size</title> | |
</head> | |
<body> | |
<div> |