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 | |
| ## | |
| #MIT License | |
| # | |
| #Copyright (c) 2018 Turgay Can | |
| # | |
| #Permission is hereby granted, free of charge, to any person obtaining a copy | |
| #of this software and associated documentation files (the "Software"), to deal | |
| #in the Software without restriction, including without limitation the rights |
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 | |
| ## | |
| #MIT License | |
| # | |
| #Copyright (c) 2018 Turgay Can | |
| # | |
| #Permission is hereby granted, free of charge, to any person obtaining a copy | |
| #of this software and associated documentation files (the "Software"), to deal | |
| #in the Software without restriction, including without limitation the rights |
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 | |
| ## | |
| #MIT License | |
| # | |
| #Copyright (c) 2018 Turgay Can | |
| # | |
| #Permission is hereby granted, free of charge, to any person obtaining a copy | |
| #of this software and associated documentation files (the "Software"), to deal | |
| #in the Software without restriction, including without limitation the rights |
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 | |
| for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do | |
| git branch --track ${branch#remotes/origin/} $branch | |
| done |
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 | |
| veth_in_use=() | |
| veth_unused=() | |
| veth_all=() | |
| function veth_interface_for_container() { | |
| local pid=$(docker inspect -f '{{.State.Pid}}' "${1}") | |
| mkdir -p /var/run/netns | |
| ln -sf /proc/$pid/ns/net "/var/run/netns/${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
| private static string connString = "Data Source=localhost;Initial Catalog=Northwind;Integrated Security=SSPI"; //kendinize göre düzenleyin | |
| private boolean checkNullForString(String val){ | |
| return val == null || val.Trim() == ""; | |
| } | |
| public void save(){ | |
| String CihazAd = textBox1.Text; | |
| if( checkNullForString(cihazAd)){ |
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
| public enum EnumClass { | |
| ENUMVAL1{ | |
| @ Override | |
| public boolean anyFilter(){ | |
| return false; | |
| } | |
| @ Override | |
| public List<EnumClass> listOfAnyFilter(){ | |
| return Arrays.asList(ENUMVAL1, ENUMVAL2); |