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
jar { | |
manifest { | |
attributes "Implementation-Title": "Gradle Quickstart" | |
attributes "Implementation-Version": version | |
attributes "Main-Class" : "com.ti.specteam.programs.Application" | |
} | |
// remove the security files (from mail.jar / activation.jar) so that the jar will be executable. | |
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
Question: Convert following into the latter data structure in less than 30 lines: | |
List: | |
A, B, C | |
A, C, E | |
E, F, D | |
D, A, J | |
E, D, J | |
List |
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
1- Proper selections (like not everything is block, sometimes I wanna select a command that wraps to next line) | |
2- Proper copy / paste | |
3- Allow re-sizing the terminal window with mouse with no limit or blockage. Why is it any different than any other window anyways? | |
4- Infinite buffer and scrollback capabilities | |
5- Multiple tab support | |
6- Proper find dialog where I don't have to click top-left menu-> edit -> search | |
7- Fucking 256 color support, who supports only 8 colors anymore | |
Possible shell improvements |
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
$service = new-webserviceproxy -uri http://xxx/service?wsdl -Namespace com | |
$request = new-object com.ExecuteTestsResponseType | |
$service.executeTests($request) | |
you get this: | |
Cannot convert argument "0", with value: "com.ExecuteTestsRequestType", for "executeTests" to type "com.ExecuteTestsRequestType": "Cannot convert the "com.ExecuteTestsRequestType" value of type "com.ExecuteTestsRequestType" to type "com.ExecuteTestsRequestType"." | |
At line:1 char:18 | |
+ $xxx.executeTests <<<< ($request) | |
+ CategoryInfo : NotSpecified: (:) [], MethodException |
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
C:\>$files = (gci -Recurse | Where { $_.Name -eq "some.file" } | |
C:\>$files.Length # prints 45 | |
C:\>$files | %{ $_.FullName } # displays each file name properly | |
C:\>$files | %{ Get-Content $_ } # prints the first file content 45 times WTF? |
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
/* Source Code Windows 2000 */ | |
#include "win31.h" | |
#include "win95.h" | |
#include "win98.h" | |
#include "workst~1.h" | |
#include "evenmore.h" | |
#include "oldstuff.h" | |
#include "billrulz.h" | |
#include "monopoly.h" |
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 Trigger-Builds($WaitForCore = $True) { | |
$ServiceUrl = 'http://jenkins:8080/job/e3.components.omt.services.OrderService.v1.1' | |
$LastServiceBuildNumber = Get-LastSuccessfulBuildNumber "$ServiceUrl/rssAll" | |
$ServiceVersion = 0 | |
$ServiceBuildResult = Trigger-Build "$ServiceUrl/build" | |
Write-Host "Building service now.." | |
while ($ServiceBuildResult) { | |
Sleep -Seconds 20 |
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
{% extends "layout.html" %} | |
{% block title %}Order Management Team{% endblock %} | |
{% block head %} | |
{{ super() }} | |
{% endblock %} | |
{% block header %} | |
<h1><span>Current Team Members</span> <a>¶</a> <a href="{{ url_for('.list_services')}}" class='home'>Go Back »</a></h1> | |
{% endblock %} | |
{% block content %} | |
<p>The following little facebook should explain who is doing what in the team :) Names are in alphabetical order but my name:P If your picture is missing, please do contact to <strong>Isa Goksu</strong>.</p> |
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
λ sudo easy_install p4python | |
Password: | |
Searching for p4python | |
Reading http://pypi.python.org/simple/p4python/ | |
Reading http://public.perforce.com/guest/robert_cowham/perforce/API/python/index.html | |
Best match: p4python [unknown version] | |
Downloading ftp://ftp.perforce.com/perforce/r11.1/bin.tools/p4python.tgz | |
Processing p4python.tgz | |
Running p4python-2011.1.389946/setup.py -q bdist_egg --dist-dir /tmp/easy_install-nMvjJm/p4python-2011.1.389946/egg-dist-tmp-UF4I0y | |
Cannot find Version file in API dir or distribution dir. |
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
$ brew install -v readline | |
==> Downloading ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz | |
File already downloaded in /Users/isa/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/isa/Library/Caches/Homebrew/readline-6.2.1.tar.gz | |
==> Downloading patches | |
/usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-249; Mac OS X 10.7) ftp://ftp.cwru.edu/pub/bash/readline-6.2-patches/readline62-001 -o 001-homebrew.diff | |
######################################################################## 100.0% | |
######################################################################## 100.0%==> Patching | |
/usr/bin/patch -f -p0 -i 001-homebrew.diff | |
patching file vi_mode.c |