Skip to content

Instantly share code, notes, and snippets.

View alicanalbayrak's full-sized avatar

Ali Can alicanalbayrak

View GitHub Profile
@alicanalbayrak
alicanalbayrak / SimpleWrappedAxisExample.java
Last active August 2, 2016 10:40
Glimpse plot example with wrapped axes
/*
* Copyright (c) 2016, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@alicanalbayrak
alicanalbayrak / pom.xml
Created August 24, 2016 17:38
Example javaee parent pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.library</groupId>
<artifactId>library-app</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@alicanalbayrak
alicanalbayrak / acm.bash.sh
Created April 4, 2017 07:20 — forked from canmogol/acm.bash.sh
Bash primary prompt
#!/bin/bash
reset=$(tput sgr0)
bold=$(tput bold)
black=$(tput setaf 0)
red=$(tput setaf 1)
green=$(tput setaf 2)
yellow=$(tput setaf 3)
blue=$(tput setaf 4)
magenta=$(tput setaf 5)
cyan=$(tput setaf 6)
Source: https://www.tecmint.com/use-vim-as-bash-ide-using-bash-support-in-linux/
============================================================================================================
Important !!!
formatting script = gg=G
============================================================================================================
The following are key mappings for inserting statements (n – normal mode, i – insert mode):
package parallel;
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.async.Callback;
import com.mashape.unirest.http.exceptions.UnirestException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Future;