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 com.test.aes; | |
| import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; | |
| import java.security.Key; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.spec.AlgorithmParameterSpec; |
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
| using System; | |
| using System.Data; | |
| using System.Security; | |
| using System.Security.Cryptography; | |
| using System.Runtime.InteropServices; | |
| using System.Text.RegularExpressions; | |
| using System.Text; | |
| using System.IO; | |
| namespace Rijndael.csproj |
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.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; | |
| import java.io.UnsupportedEncodingException; | |
| import java.security.Key; |
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 puzzles; | |
| import java.util.Scanner; | |
| /* | |
| * | |
| * 4 | |
| 4 | |
| 0 0 1 0 | |
| 1 0 1 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
| package puzzles; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.List; | |
| import java.util.Scanner; | |
| /* | |
| * |
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 org.apache.drill.exec.resolver; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import org.apache.drill.common.expression.FunctionCall; | |
| import org.apache.drill.common.expression.LogicalExpression; | |
| import org.apache.drill.common.types.TypeProtos.MajorType; | |
| import org.apache.drill.exec.expr.fn.DrillFuncHolder; |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Module> | |
| <ModulePrefs title="Hello World" | |
| description="Matches and echoes 'Hello World' string in emails"> | |
| <!-- Declare feature dependencies. --> | |
| <!-- This one is not specific to Gmail contextual gadgets. --> | |
| <Require feature="dynamic-height"/> |
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
| <script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
| <style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
| <body> | |
| <div style="max-width:900px; -webkit-transform:rotate(0deg)"> | |
| <scene id="scene1"> | |
| <label t="translate(0,346)"> |
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
| class Node { int data; Node next; public Node(int data) { this.data = data; } } public class LinkedList { private Node root; public void addAtEnd(int data) { if (root == null) { root = new Node(data); return; } Node tmp = root; while (tmp.next != null) { tmp = tmp.next; } tmp.next = new Node(data); } public void addAtFront(int data) { Node newRoot = new Node(data); newRoot.next = root; root = newRoot; } public void addAtIndex(int data, int index) { if (root == null) return;return data; } public void printList() { if (root == null) { System.out.println("List is Empty !!"); return; } Node tmp = root; System.out.println(); while (tmp != null) { System.out.print(">" + tmp.data); tmp = tmp.next; } } public staticvoid main(String[] args) { LinkedList list = new LinkedList(); list.printList(); list.addAtEnd(1); list.printList(); list.addAtFront(2); list.printList(); list.addAtEnd(3); list.printList(); list.addAtIndex(4, 2); list.printList(); list.addAtIndex(5, 4); list.printList(); list.addAtEnd(6); list.printList() |
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 org.apache.hadoop.hive.ql.exec.UDAF; | |
| import org.apache.hadoop.hive.ql.exec.UDAFEvaluator; | |
| import org.apache.hadoop.io.IntWritable; | |
| public class Maximum extends UDAF { | |
| public static class MaximumIntUDAFEvaluator implements UDAFEvaluator { | |
| private IntWritable result; |