| Language | Vehicle | Reason |
|---|---|---|
| GoLang | Tesla | The future, but want somebody I know to buy one first |
| Haskell | Batmobile | Looks awesome but you'll never figure out how to drive it |
| Java | Hummer | Uses way more resources than is strictly necessary |
| Perl | Classic Mini | A classic that has influenced many cars, but not practical for 2015 |
| PHP | Fiat Multipla | Ugly, nobody wants to be seen driving this |
| Ruby | Smart Car | Practical design. Will get you around the city fast, but not great on motorways |
| Python | VW Golf | Solid. Reliable. Middle of the road. |
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
| [user] | |
| name = Ivan Aracki | |
| email = aracki.ivan@gmail.com | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls | |
| smtpserver = smtp.gmail.com |
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
| // algorithm for creating file tree structure from flat file paths (for kendo table) | |
| function createFileTreeStructure(filePaths){ | |
| var prefix; | |
| var items = { | |
| "root" : [] | |
| }; | |
| if(typeof filePaths === 'undefined' && filePaths.length == 0) { | |
| return null; |
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
| private File multipartToFile(MultipartFile multipartFile) { | |
| File file = new File(multipartFile.getOriginalFilename()); | |
| try { | |
| multipartFile.transferTo(file); | |
| return file; | |
| } catch (IOException e) { | |
| e.printStackTrace(); | |
| return null; | |
| } | |
| } |
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.copperdm.global.web.controllers.file_controllers; | |
| import com.amazonaws.auth.AWSCredentials; | |
| import com.amazonaws.auth.BasicAWSCredentials; | |
| import com.amazonaws.services.s3.AmazonS3; | |
| import com.amazonaws.services.s3.AmazonS3Client; | |
| import com.amazonaws.util.BinaryUtils; | |
| import com.copperdm.global.web.config.props.AmazonProps; | |
| import com.google.gson.JsonArray; | |
| import com.google.gson.JsonElement; |
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
| #! /bin/bash | |
| git pull origin master \ | |
| && ./gradlew build \ | |
| && kill -9 `ps -ef | grep java | grep -v grep | awk '{print $2}'` | |
| function isServiceLive { | |
| running=0; | |
| while [ $running -eq 0 ]; do | |
| if [ "$response" != "Web service is working!" ]; then | |
| sleep 1; |
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
| nmap <S-Up> v<Up> | |
| nmap <S-Down> v<Down> | |
| nmap <S-Left> v<Left> | |
| nmap <S-Right> v<Right> | |
| vmap <S-Up> <Up> | |
| vmap <S-Down> <Down> | |
| vmap <S-Left> <Left> | |
| vmap <S-Right> <Right> | |
| imap <S-Up> <Esc>v<Up> | |
| imap <S-Down> <Esc>v<Down> |
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
| func main() { | |
| ch := make(chan int) | |
| out := make(chan int) | |
| go func(ch1 chan int, out chan int) { | |
| res := 0 | |
| for v := range ch1 { | |
| fmt.Println("Receive: ", v) | |
| res += v |
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
| alias cd..='cd ..' | |
| alias ..="cd .." | |
| alias ...="cd ../.." | |
| alias ....="cd ../../.." | |
| alias .....="cd ../../../.." | |
| alias c='clear' | |
| alias h='history' | |
| alias l='ls -lrth' |
I hereby claim:
- I am aracki on github.
- I am raca (https://keybase.io/raca) on keybase.
- I have a public key ASCiiMuIYE6DRJ4NF_B_TRlUUW5ULOI_Mndn1_OY-58K3go
To claim this, I am signing this object:
OlderNewer